Re: [RFC PATCH] vfio/pci: Allow force needs_pm_restore as specified by device:vendor

2020-12-14 Thread Colin Xu
On 12/10/20 1:09 AM, Alex Williamson wrote: On Wed, 9 Dec 2020 13:14:00 +0800 Colin Xu wrote: On 11/27/20 11:35 PM, Alex Williamson wrote: On Fri, 27 Nov 2020 11:53:39 +0800 Colin Xu wrote: On 11/25/20 11:53 PM, Alex Williamson wrote: On Wed, 25 Nov 2020 10:18:24 +0800 Colin Xu wrote

Re: [RFC PATCH] vfio/pci: Allow force needs_pm_restore as specified by device:vendor

2020-12-09 Thread Alex Williamson
On Wed, 9 Dec 2020 13:14:00 +0800 Colin Xu wrote: > On 11/27/20 11:35 PM, Alex Williamson wrote: > > On Fri, 27 Nov 2020 11:53:39 +0800 > > Colin Xu wrote: > > > >> On 11/25/20 11:53 PM, Alex Williamson wrote: > >>> On Wed, 25 Nov 2020 10:18:24 +0800 > >>> Colin Xu wrote: > >>> >

Re: [RFC PATCH] vfio/pci: Allow force needs_pm_restore as specified by device:vendor

2020-12-08 Thread Colin Xu
On 11/27/20 11:35 PM, Alex Williamson wrote: On Fri, 27 Nov 2020 11:53:39 +0800 Colin Xu wrote: On 11/25/20 11:53 PM, Alex Williamson wrote: On Wed, 25 Nov 2020 10:18:24 +0800 Colin Xu wrote: Force specific device listed in params pm_restore_ids to follow device state save/restore as n

Re: [RFC PATCH] vfio/pci: Allow force needs_pm_restore as specified by device:vendor

2020-11-27 Thread Alex Williamson
On Fri, 27 Nov 2020 11:53:39 +0800 Colin Xu wrote: > On 11/25/20 11:53 PM, Alex Williamson wrote: > > On Wed, 25 Nov 2020 10:18:24 +0800 > > Colin Xu wrote: > > > >> Force specific device listed in params pm_restore_ids to follow > >> device state save/restore as needs_pm_restore. > >> Some de

Re: [RFC PATCH] vfio/pci: Allow force needs_pm_restore as specified by device:vendor

2020-11-26 Thread Colin Xu
On 11/25/20 11:53 PM, Alex Williamson wrote: On Wed, 25 Nov 2020 10:18:24 +0800 Colin Xu wrote: Force specific device listed in params pm_restore_ids to follow device state save/restore as needs_pm_restore. Some device has NoSoftRst so will skip current state save/restore enabled by needs_pm

Re: [RFC PATCH] vfio/pci: Allow force needs_pm_restore as specified by device:vendor

2020-11-25 Thread Alex Williamson
On Wed, 25 Nov 2020 10:18:24 +0800 Colin Xu wrote: > Force specific device listed in params pm_restore_ids to follow > device state save/restore as needs_pm_restore. > Some device has NoSoftRst so will skip current state save/restore enabled > by needs_pm_restore. However once the device experien

[RFC PATCH] vfio/pci: Allow force needs_pm_restore as specified by device:vendor

2020-11-24 Thread Colin Xu
Force specific device listed in params pm_restore_ids to follow device state save/restore as needs_pm_restore. Some device has NoSoftRst so will skip current state save/restore enabled by needs_pm_restore. However once the device experienced power state D3<->D0 transition, either by idle_d3 or the