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

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

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

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

2020-11-24 Thread Colin Xu
dle_d3 or the guest driver changes PM_CTL, the guest driver won't get correct devie state although the configure space doesn't change. Cc: Swee Yee Fonn Signed-off-by: Colin Xu --- drivers/vfio/pci/vfio_pci.c | 66 - 1 file changed, 65 insertions(+), 1 deletion(-)

Re: [PATCH RESEND v3] virtio-input: add multi-touch support

2021-02-01 Thread Colin Xu
I second the support of MT with this one or other alternative. This patch has been tested work in one of our POC project. -- Best Regards, Colin Xu On Fri, 29 Jan 2021, Michael S. Tsirkin wrote: On Fri, Jan 29, 2021 at 02:06:54PM +0200, Vasyl Vavrychuk wrote: Hi, All, There has been

[PATCH V2] virtio_input: Prevent EV_MSC/MSC_TIMESTAMP loop storm for MT.

2021-02-01 Thread Colin Xu
from evdev. FE pass EV_MSC/MSC_TIMESTAMP back to BE. BE writes EV_MSC/MSC_TIMESTAMP to evdev due to INPUT_PASS_TO_ALL. BE receives extra EV_MSC/MSC_TIMESTAMP and pass to FE. >>> Each new frame becomes larger and larger. Disable EV_MSC/MSC_TIMESTAMP forwarding for MT. V2: Rebase. Sign

[PATCH] virtio_input: Prevent EV_MSC/MSC_TIMESTAMP loop storm for MT.

2021-01-07 Thread Colin Xu
from evdev. FE pass EV_MSC/MSC_TIMESTAMP back to BE. BE writes EV_MSC/MSC_TIMESTAMP to evdev due to INPUT_PASS_TO_ALL. BE receives extra EV_MSC/MSC_TIMESTAMP and pass to FE. >>> Each new frame becomes larger and larger. Disable EV_MSC/MSC_TIMESTAMP forwarding for MT. Signed-off-by: Col