Re: [PATCH V2] vhost: do not enable VHOST_MENU by default

2020-04-16 Thread Michael S. Tsirkin
On Fri, Apr 17, 2020 at 11:12:14AM +0800, Jason Wang wrote: > > On 2020/4/17 上午6:55, Michael S. Tsirkin wrote: > > On Wed, Apr 15, 2020 at 10:43:56AM +0800, Jason Wang wrote: > > > We try to keep the defconfig untouched after decoupling CONFIG_VHOST > > > out of CONFIG_VIRTUALIZATION in commit 20c

Re: improve use_mm / unuse_mm v2

2020-04-16 Thread Christoph Hellwig
On Thu, Apr 16, 2020 at 08:17:44PM -0700, Matthew Wilcox wrote: > On Thu, Apr 16, 2020 at 07:31:55AM +0200, Christoph Hellwig wrote: > > this series improves the use_mm / unuse_mm interface by better > > documenting the assumptions, and my taking the set_fs manipulations > > spread over the callers

Re: [virtio-dev] Re: [PATCH] virtio-balloon: Disable free page hinting/reporting if page poison is disabled

2020-04-16 Thread Michael S. Tsirkin
On Thu, Apr 16, 2020 at 04:52:42PM -0700, Alexander Duyck wrote: > On Thu, Apr 16, 2020 at 3:13 PM Michael S. Tsirkin wrote: > > > > On Thu, Apr 16, 2020 at 12:30:38PM -0700, Alexander Duyck wrote: > > > From: Alexander Duyck > > > > > > If we have free page hinting or page reporting enabled we s

Re: [PATCH] MAINTAINERS: Update PARAVIRT_OPS_INTERFACE and VMWARE_HYPERVISOR_INTERFACE

2020-04-16 Thread Jürgen Groß
On 17.04.20 01:45, Deep Shah wrote: Thomas Hellstrom will be handing over VMware's maintainership of these interfaces to Deep Shah. Signed-off-by: Deep Shah Acked-by: Thomas Hellstrom Acked-by: Juergen Gross Juergen ___ Virtualization mailing li

Re: improve use_mm / unuse_mm v2

2020-04-16 Thread Matthew Wilcox
On Thu, Apr 16, 2020 at 07:31:55AM +0200, Christoph Hellwig wrote: > this series improves the use_mm / unuse_mm interface by better > documenting the assumptions, and my taking the set_fs manipulations > spread over the callers into the core API. I appreciate all the work you're doing here. Do yo

Re: [PATCH V2] vhost: do not enable VHOST_MENU by default

2020-04-16 Thread Jason Wang
On 2020/4/17 上午6:55, Michael S. Tsirkin wrote: On Wed, Apr 15, 2020 at 10:43:56AM +0800, Jason Wang wrote: We try to keep the defconfig untouched after decoupling CONFIG_VHOST out of CONFIG_VIRTUALIZATION in commit 20c384f1ea1a ("vhost: refine vhost and vringh kconfig") by enabling VHOST_MENU b

[PATCH] MAINTAINERS: Update PARAVIRT_OPS_INTERFACE and VMWARE_HYPERVISOR_INTERFACE

2020-04-16 Thread Deep Shah
Thomas Hellstrom will be handing over VMware's maintainership of these interfaces to Deep Shah. Signed-off-by: Deep Shah Acked-by: Thomas Hellstrom --- MAINTAINERS | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index e64e5db31497..c9bdbb65e96b

Re: [virtio-dev] Re: [PATCH] virtio-balloon: Disable free page hinting/reporting if page poison is disabled

2020-04-16 Thread Alexander Duyck
On Thu, Apr 16, 2020 at 3:13 PM Michael S. Tsirkin wrote: > > On Thu, Apr 16, 2020 at 12:30:38PM -0700, Alexander Duyck wrote: > > From: Alexander Duyck > > > > If we have free page hinting or page reporting enabled we should disable it > > if the pages are poisoned or initialized on free and we

Re: [PATCH V2] vhost: do not enable VHOST_MENU by default

2020-04-16 Thread Michael S. Tsirkin
On Wed, Apr 15, 2020 at 10:43:56AM +0800, Jason Wang wrote: > We try to keep the defconfig untouched after decoupling CONFIG_VHOST > out of CONFIG_VIRTUALIZATION in commit 20c384f1ea1a > ("vhost: refine vhost and vringh kconfig") by enabling VHOST_MENU by > default. Then the defconfigs can keep ena

Re: [PATCH v2 7/8] tools/virtio: Reset index in virtio_test --reset.

2020-04-16 Thread Michael S. Tsirkin
On Thu, Apr 16, 2020 at 09:56:42AM +0200, Eugenio Pérez wrote: > This way behavior for vhost is more like a VM. > > Signed-off-by: Eugenio Pérez I dropped --reset from 5.7 since Linus felt it's unappropriate. I guess I should squash this in with --reset? > --- > tools/virtio/virtio_test.c |

Re: [PATCH v2 5/8] tools/virtio: Use __vring_new_virtqueue in virtio_test.c

2020-04-16 Thread Michael S. Tsirkin
On Thu, Apr 16, 2020 at 09:56:40AM +0200, Eugenio Pérez wrote: > As updated in ("2a2d1382fe9d virtio: Add improved queue allocation API") > > Signed-off-by: Eugenio Pérez Pls add motivation for these changes. > --- > tools/virtio/virtio_test.c | 7 +++ > 1 file changed, 3 insertions(+),

[PATCH v3] vhost: disable for OABI

2020-04-16 Thread Michael S. Tsirkin
vhost is currently broken on the some ARM configs. The reason is that that uses apcs-gnu which is the ancient OABI that is been deprecated for a long time. Given that virtio support on such ancient systems is not needed in the first place, let's just add something along the lines of depe

Re: [PATCH] virtio-balloon: Disable free page hinting/reporting if page poison is disabled

2020-04-16 Thread Michael S. Tsirkin
On Thu, Apr 16, 2020 at 12:30:38PM -0700, Alexander Duyck wrote: > From: Alexander Duyck > > If we have free page hinting or page reporting enabled we should disable it > if the pages are poisoned or initialized on free and we cannot notify the > hypervisor. > > Fixes: 5d757c8d518d ("virtio-ball

Re: [GIT PULL] vhost: cleanups and fixes

2020-04-16 Thread Michael S. Tsirkin
On Thu, Apr 16, 2020 at 10:01:51AM -0700, Linus Torvalds wrote: > On Thu, Apr 16, 2020 at 5:20 AM Michael S. Tsirkin wrote: > > Well it's all just fallout from > > What? No. Half of it seems to be the moving of "struct vring" around > to other headers and stuff. > > And then that is done very co

[PATCH] virtio-balloon: Disable free page hinting/reporting if page poison is disabled

2020-04-16 Thread Alexander Duyck
From: Alexander Duyck If we have free page hinting or page reporting enabled we should disable it if the pages are poisoned or initialized on free and we cannot notify the hypervisor. Fixes: 5d757c8d518d ("virtio-balloon: add support for providing free page reports to host") Signed-off-by: Ale

Re: [GIT PULL] vhost: cleanups and fixes

2020-04-16 Thread Linus Torvalds
On Thu, Apr 16, 2020 at 5:20 AM Michael S. Tsirkin wrote: > Well it's all just fallout from What? No. Half of it seems to be the moving of "struct vring" around to other headers and stuff. And then that is done very confusingly too, using two different structures both called "struct vring". No

Re: [PATCH 05/70] x86/insn: Make inat-tables.c suitable for pre-decompression code

2020-04-16 Thread Joerg Roedel
Hi Masami, On Fri, Mar 27, 2020 at 12:02:32PM +0900, Masami Hiramatsu wrote: > On Wed, 25 Mar 2020 16:39:45 +0100 > Borislav Petkov wrote: > > > + Masami. > > > > On Thu, Mar 19, 2020 at 10:13:02AM +0100, Joerg Roedel wrote: > > > From: Joerg Roedel > > > > > > The inat-tables.c file has some

Re: [PATCH 12/70] x86/boot/compressed/64: Add IDT Infrastructure

2020-04-16 Thread Joerg Roedel
Hi Arvind, On Mon, Apr 06, 2020 at 10:21:27PM -0400, Arvind Sankar wrote: > On Thu, Mar 19, 2020 at 10:13:09AM +0100, Joerg Roedel wrote: > > From: Joerg Roedel > > +/* > > + * Reload GDT after relocation - The GDT at the non-relocated position > > + * might be overwritten soon by the in-place de

Re: linux-next: Tree for Apr 15 (vdpa)

2020-04-16 Thread Michael S. Tsirkin
On Thu, Apr 16, 2020 at 12:07:06PM +0800, Jason Wang wrote: > > On 2020/4/16 上午12:16, Randy Dunlap wrote: > > On 4/14/20 10:22 PM, Stephen Rothwell wrote: > > > Hi all, > > > > > > Changes since 20200414: > > > > > on x86_64: > > > > ERROR: modpost: "vringh_set_iotlb" [drivers/vdpa/vdpa_sim/vdp

Re: [GIT PULL] vhost: cleanups and fixes

2020-04-16 Thread Michael S. Tsirkin
On Wed, Apr 15, 2020 at 05:46:33PM -0700, Linus Torvalds wrote: > On Tue, Apr 14, 2020 at 9:36 AM Michael S. Tsirkin wrote: > > > > virtio: fixes, cleanups > > Looking at this, about 75% of it looks like it should have come in > during the merge window, not now. > > Linus Well it'