[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <44dfe49d-6613-5869-390e-f9709e71ca50@nvidia.com>
Date: Fri, 26 Aug 2022 20:00:41 +0530
From: Abhishek Sahu <abhsahu@...dia.com>
To: Alex Williamson <alex.williamson@...hat.com>
Cc: Jason Gunthorpe <jgg@...dia.com>,
Cornelia Huck <cohuck@...hat.com>,
Yishai Hadas <yishaih@...dia.com>,
Shameer Kolothum <shameerali.kolothum.thodi@...wei.com>,
Kevin Tian <kevin.tian@...el.com>,
"Rafael J . Wysocki" <rafael@...nel.org>,
Max Gurtovoy <mgurtovoy@...dia.com>,
Bjorn Helgaas <bhelgaas@...gle.com>,
linux-kernel@...r.kernel.org, kvm@...r.kernel.org,
linux-pm@...r.kernel.org, linux-pci@...r.kernel.org
Subject: Re: [PATCH v6 5/5] vfio/pci: Implement
VFIO_DEVICE_FEATURE_LOW_POWER_ENTRY_WITH_WAKEUP
On 8/26/2022 4:02 AM, Alex Williamson wrote:
> On Thu, 18 Aug 2022 22:31:03 +0530
> Abhishek Sahu <abhsahu@...dia.com> wrote:
>
>> On 8/17/2022 11:10 PM, Jason Gunthorpe wrote:
>>> On Wed, Aug 17, 2022 at 09:34:30PM +0530, Abhishek Sahu wrote:
>>>> On 8/17/2022 7:23 PM, Jason Gunthorpe wrote:
>>>>> On Wed, Aug 17, 2022 at 10:43:23AM +0530, Abhishek Sahu wrote:
>>>>>
>>>>>> +static int
>>>>>> +vfio_pci_core_pm_entry_with_wakeup(struct vfio_device *device, u32 flags,
>>>>>> + void __user *arg, size_t argsz)
>>>>>
>>>>> This should be
>>>>> struct vfio_device_low_power_entry_with_wakeup __user *arg
>>>>>
>>>>
>>>> Thanks Jason.
>>>>
>>>> I can update this.
>>>>
>>>> But if we look the existing code, for example
>>>> (vfio_ioctl_device_feature_mig_device_state()), then there it still uses
>>>> 'void __user *arg' only. Is this a new guideline which we need to take
>>>> care ?
>>>
>>> I just sent a patch that fixes that too
>>>
>>
>> Thanks for the update.
>> I will change this.
>>
>>>> Do we need to keep the IOCTL name alphabetically sorted in the case list.
>>>> Currently, I have added in the order of IOCTL numbers.
>>>
>>> It is generally a good practice to sort lists of things.
>>>
>>> Jason
>>
>> Sure. I will make the sorted list.
>
> The series looks good to me, so I'd suggest to rebase on Jason's
> patches[1][2] so you can easily sort out the above. Thanks,
>
> Alex
>
> [1]https://lore.kernel.org/all/0-v1-da6fc51ee22e+562-vfio_pci_priv_jgg@nvidia.com/
> [2]https://lore.kernel.org/all/0-v1-11d8272dc65a+4bd-vfio_ioctl_split_jgg@nvidia.com/
>
Thanks Alex.
I will rebase my patches to the above mentioned patch series
and will send the updated patches.
Regards,
Abhishek
Powered by blists - more mailing lists