Re: [RFC 0/3] cpuidle: add poll_source API and virtio vq polling

2021-07-20 Thread Jason Wang
在 2021/7/14 上午12:19, Stefan Hajnoczi 写道: These patches are not polished yet but I would like request feedback on this approach and share performance results with you. Idle CPUs tentatively enter a busy wait loop before halting when the cpuidle haltpoll driver is enabled inside a virtual

Re: [PATCH v2 3/4] fuse: add per-file DAX flag

2021-07-20 Thread Vivek Goyal
On Tue, Jul 20, 2021 at 03:19:50PM +0800, JeffleXu wrote: > > > On 7/20/21 2:41 AM, Vivek Goyal wrote: > > On Fri, Jul 16, 2021 at 06:47:52PM +0800, Jeffle Xu wrote: > >> Add one flag for fuse_attr.flags indicating if DAX shall be enabled for > >> this file. > >> > >> When the per-file DAX flag

Re: [PATCH v2 3/4] fuse: add per-file DAX flag

2021-07-20 Thread Vivek Goyal
On Tue, Jul 20, 2021 at 02:51:34PM +0800, JeffleXu wrote: > > > On 7/20/21 3:44 AM, Vivek Goyal wrote: > > On Fri, Jul 16, 2021 at 06:47:52PM +0800, Jeffle Xu wrote: > >> Add one flag for fuse_attr.flags indicating if DAX shall be enabled for > >> this file. > >> > >> When the per-file DAX flag

Re: [PATCH v2 0/4] virtiofs,fuse: support per-file DAX

2021-07-20 Thread Vivek Goyal
On Tue, Jul 20, 2021 at 01:25:11PM +0800, JeffleXu wrote: > > > On 7/20/21 5:30 AM, Vivek Goyal wrote: > > On Fri, Jul 16, 2021 at 06:47:49PM +0800, Jeffle Xu wrote: > >> This patchset adds support of per-file DAX for virtiofs, which is > >> inspired by Ira Weiny's work on ext4[1] and xfs[2]. >

Re: [PATCH] MAINTAINERS: Update for VMCI driver

2021-07-20 Thread Greg KH
On Tue, Jul 20, 2021 at 06:04:15PM +, Vishnu Dasa wrote: > > On Jul 20, 2021, at 3:39 AM, Greg KH > mailto:gre...@linuxfoundation.org>> wrote: > > Also I would need an ack from Vishnu. > > Acked-by: Vishnu Dasa mailto:d...@vmware.com>> A maintainer that sends html email isn't going to

Re: [PATCH] MAINTAINERS: Update for VMCI driver

2021-07-20 Thread Vishnu Dasa
On Jul 20, 2021, at 3:39 AM, Greg KH mailto:gre...@linuxfoundation.org>> wrote: Also I would need an ack from Vishnu. Acked-by: Vishnu Dasa mailto:d...@vmware.com>> Thanks, Vishnu ___ Virtualization mailing list

Re: [RFC 1/3] cpuidle: add poll_source API

2021-07-20 Thread Stefan Hajnoczi
On Mon, Jul 19, 2021 at 06:03:55PM -0300, Marcelo Tosatti wrote: > Hi Stefan, > > On Tue, Jul 13, 2021 at 05:19:04PM +0100, Stefan Hajnoczi wrote: > > Introduce an API for adding cpuidle poll callbacks: > > > > struct poll_source_ops { > > void (*start)(struct poll_source *src); > >

[PATCH] MAINTAINERS: Update for VMCI driver

2021-07-20 Thread Jorgen Hansen
Add maintainer info for the VMware VMCI driver. Signed-off-by: Jorgen Hansen --- MAINTAINERS | 8 1 file changed, 8 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index a61f4f3..7e7c6fa 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -19792,6 +19792,14 @@ L:

Re: [PATCH] MAINTAINERS: Update for VMCI driver

2021-07-20 Thread Greg KH
On Tue, Jul 20, 2021 at 03:29:01AM -0700, Jorgen Hansen wrote: > Add maintainer info for the VMware VMCI driver. > > Signed-off-by: Jorgen Hansen > --- > MAINTAINERS | 8 > 1 file changed, 8 insertions(+) > > diff --git a/MAINTAINERS b/MAINTAINERS > index a61f4f3..7e7c6fa 100644 > ---

Re: [PATCH v2 3/4] fuse: add per-file DAX flag

2021-07-20 Thread JeffleXu
On 7/20/21 2:51 PM, JeffleXu wrote: > > > On 7/20/21 3:44 AM, Vivek Goyal wrote: >> On Fri, Jul 16, 2021 at 06:47:52PM +0800, Jeffle Xu wrote: >>> Add one flag for fuse_attr.flags indicating if DAX shall be enabled for >>> this file. >>> >>> When the per-file DAX flag changes for an *opened*

Re: [PATCH -next v2 resend] drm/bochs: Fix missing pci_disable_device() on error in bochs_pci_probe()

2021-07-20 Thread Thomas Zimmermann
Hi Am 15.07.21 um 15:28 schrieb Yang Yingliang: Replace pci_enable_device() with pcim_enable_device(), pci_disable_device() will be called in release automatically. v2: use pcim_enable_device() Signed-off-by: Yang Yingliang Reported-by: Hulk Robot Acked-by: Thomas Zimmermann Thanks,

Re: [PATCH v1] vdpa/vdpa_sim: Use the negotiated features when calling vringh_init_iotlb

2021-07-20 Thread Stefano Garzarella
On Tue, Jul 20, 2021 at 10:14:35AM +0300, Eli Cohen wrote: On Tue, Jul 20, 2021 at 08:57:40AM +0200, Stefano Garzarella wrote: On Tue, Jul 20, 2021 at 08:25:33AM +0300, Eli Cohen wrote: > When calling vringh_init_iotlb(), use the negotiated features which > might be different than the supported

Re: [PATCH v2 3/4] fuse: add per-file DAX flag

2021-07-20 Thread JeffleXu
On 7/20/21 2:41 AM, Vivek Goyal wrote: > On Fri, Jul 16, 2021 at 06:47:52PM +0800, Jeffle Xu wrote: >> Add one flag for fuse_attr.flags indicating if DAX shall be enabled for >> this file. >> >> When the per-file DAX flag changes for an *opened* file, the state of >> the file won't be updated

Re: [PATCH v1] vdpa/vdpa_sim: Use the negotiated features when calling vringh_init_iotlb

2021-07-20 Thread Stefano Garzarella
On Tue, Jul 20, 2021 at 08:25:33AM +0300, Eli Cohen wrote: When calling vringh_init_iotlb(), use the negotiated features which might be different than the supported features. Fixes: 2c53d0f64c06f ("vdpasim: vDPA device simulator") Signed-off-by: Eli Cohen --- v0 --> v1: Update "Fixes" line

Re: [PATCH v2 3/4] fuse: add per-file DAX flag

2021-07-20 Thread JeffleXu
On 7/20/21 3:44 AM, Vivek Goyal wrote: > On Fri, Jul 16, 2021 at 06:47:52PM +0800, Jeffle Xu wrote: >> Add one flag for fuse_attr.flags indicating if DAX shall be enabled for >> this file. >> >> When the per-file DAX flag changes for an *opened* file, the state of >> the file won't be updated