Re: INFO: rcu detected stall in vhost_worker

2019-07-26 Thread Linus Torvalds
On Fri, Jul 26, 2019 at 8:26 AM syzbot wrote: > > syzbot has bisected this bug to: > > commit 0ecfebd2b52404ae0c54a878c872bb93363ada36 > Author: Linus Torvalds > Date: Sun Jul 7 22:41:56 2019 + > > Linux 5.2 That seems very unlikely. That commit literally just changes the EXTRAVERSION

Re: [PATCH] vhost: disable metadata prefetch optimization

2019-07-26 Thread Michael S. Tsirkin
On Fri, Jul 26, 2019 at 07:57:25PM +0800, Jason Wang wrote: > > On 2019/7/26 下午7:51, Michael S. Tsirkin wrote: > > This seems to cause guest and host memory corruption. > > Disable for now until we get a better handle on that. > > > > Signed-off-by: Michael S. Tsirkin > > --- > > > > I put this

[PATCH AUTOSEL 4.14 35/37] x86/paravirt: Fix callee-saved function ELF sizes

2019-07-26 Thread Sasha Levin
From: Josh Poimboeuf [ Upstream commit 083db6764821996526970e42d09c1ab2f4155dd4 ] The __raw_callee_save_*() functions have an ELF symbol size of zero, which confuses objtool and other tools. Fixes a bunch of warnings like the following: arch/x86/xen/mmu_pv.o: warning: objtool: __raw_callee_s

[PATCH AUTOSEL 4.19 45/47] x86/paravirt: Fix callee-saved function ELF sizes

2019-07-26 Thread Sasha Levin
From: Josh Poimboeuf [ Upstream commit 083db6764821996526970e42d09c1ab2f4155dd4 ] The __raw_callee_save_*() functions have an ELF symbol size of zero, which confuses objtool and other tools. Fixes a bunch of warnings like the following: arch/x86/xen/mmu_pv.o: warning: objtool: __raw_callee_s

[PATCH AUTOSEL 5.2 79/85] x86/paravirt: Fix callee-saved function ELF sizes

2019-07-26 Thread Sasha Levin
From: Josh Poimboeuf [ Upstream commit 083db6764821996526970e42d09c1ab2f4155dd4 ] The __raw_callee_save_*() functions have an ELF symbol size of zero, which confuses objtool and other tools. Fixes a bunch of warnings like the following: arch/x86/xen/mmu_pv.o: warning: objtool: __raw_callee_s

[PATCH AUTOSEL 5.2 36/85] virtio-mmio: add error check for platform_get_irq

2019-07-26 Thread Sasha Levin
From: Ihor Matushchak [ Upstream commit 5e663f0410fa2f355042209154029842ba1abd43 ] in vm_find_vqs() irq has a wrong type so, in case of no IRQ resource defined, wrong parameter will be passed to request_irq() Signed-off-by: Ihor Matushchak Signed-off-by: Michael S. Tsirkin Reviewed-by: Ivan T

Re: [PATCH v2 06/35] crypto: Use kmemdup rather than duplicating its implementation

2019-07-26 Thread Herbert Xu
Fuqian Huang wrote: > kmemdup is introduced to duplicate a region of memory in a neat way. > Rather than kmalloc/kzalloc + memcpy, which the programmer needs to > write the size twice (sometimes lead to mistakes), kmemdup improves > readability, leads to smaller code and also reduce the chances of

Re: [PATCH] vhost: disable metadata prefetch optimization

2019-07-26 Thread Jason Wang
On 2019/7/26 下午7:51, Michael S. Tsirkin wrote: This seems to cause guest and host memory corruption. Disable for now until we get a better handle on that. Signed-off-by: Michael S. Tsirkin --- I put this in linux-next, we'll re-enable if we can fix the outstanding issues in a short order.

[PATCH] vhost: disable metadata prefetch optimization

2019-07-26 Thread Michael S. Tsirkin
This seems to cause guest and host memory corruption. Disable for now until we get a better handle on that. Signed-off-by: Michael S. Tsirkin --- I put this in linux-next, we'll re-enable if we can fix the outstanding issues in a short order. drivers/vhost/vhost.h | 2 +- 1 file changed, 1 ins

Re: [PATCH v3 4/9] x86/mm/tlb: Flush remote and local TLBs concurrently

2019-07-26 Thread Juergen Gross
On 19.07.19 02:58, Nadav Amit wrote: To improve TLB shootdown performance, flush the remote and local TLBs concurrently. Introduce flush_tlb_multi() that does so. Introduce paravirtual versions of flush_tlb_multi() for KVM, Xen and hyper-v (Xen and hyper-v are only compile-tested). While the upd