Re: [PATCH] KVM: arm64/sve: Fix vq_present() macro to yield a bool

2019-07-04 Thread Dave Martin
On Thu, Jul 04, 2019 at 02:24:42PM +0200, Paolo Bonzini wrote: > On 04/07/19 10:20, Marc Zyngier wrote: > > +KVM, Paolo and Radim, > > > > Guys, do you mind picking this single patch and sending it to Linus? > > That's the only fix left for 5.2. Alternatively, I can send you a pull > > request,

Re: [PATCH] KVM: arm64/sve: Fix vq_present() macro to yield a bool

2019-07-04 Thread Paolo Bonzini
On 04/07/19 10:20, Marc Zyngier wrote: > +KVM, Paolo and Radim, > > Guys, do you mind picking this single patch and sending it to Linus? > That's the only fix left for 5.2. Alternatively, I can send you a pull > request, but it feels overkill. Sure, will do. Paolo > Either way, please let me

Re: [PATCH] KVM: arm64/sve: Fix vq_present() macro to yield a bool

2019-07-04 Thread Dave Martin
On Thu, Jul 04, 2019 at 10:04:08AM +, Zhang, Lei wrote: > Hi guys, > > I have started up KVM guest os successfully with SVE feature with Dave' patch. > > Tested-by: Zhang Lei Thanks for verifying. It's really your fix, I only wrote a commit message for it :) [...] Cheers ---Dave

RE: [PATCH] KVM: arm64/sve: Fix vq_present() macro to yield a bool

2019-07-04 Thread Zhang, Lei
Biesheuvel ; Marc > Zyngier ; Catalin Marinas > ; Will Deacon ; Zhang, > Lei/張 雷 ; Julien Grall ; > kvmarm@lists.cs.columbia.edu; linux-arm-ker...@lists.infradead.org > Subject: Re: [PATCH] KVM: arm64/sve: Fix vq_present() macro to yield a bool > > On Thu, Jul 04, 2019

Re: [PATCH] KVM: arm64/sve: Fix vq_present() macro to yield a bool

2019-07-04 Thread Dave Martin
On Thu, Jul 04, 2019 at 08:32:52AM +0530, Viresh Kumar wrote: > On 03-07-19, 18:42, Dave Martin wrote: > > From: Zhang Lei > > > > The original implementation of vq_present() relied on aggressive > > inlining in order for the compiler to know that the code is > > correct, due to some

Re: [PATCH] KVM: arm64/sve: Fix vq_present() macro to yield a bool

2019-07-04 Thread Marc Zyngier
+KVM, Paolo and Radim, Guys, do you mind picking this single patch and sending it to Linus? That's the only fix left for 5.2. Alternatively, I can send you a pull request, but it feels overkill. Either way, please let me know. Thanks, M. On Wed, 03 Jul 2019 18:42:50 +0100, Dave Martin

Re: [PATCH] KVM: arm64/sve: Fix vq_present() macro to yield a bool

2019-07-03 Thread Viresh Kumar
On 03-07-19, 18:42, Dave Martin wrote: > From: Zhang Lei > > The original implementation of vq_present() relied on aggressive > inlining in order for the compiler to know that the code is > correct, due to some const-casting issues. This was causing sparse > and clang to complain, while GCC

[PATCH] KVM: arm64/sve: Fix vq_present() macro to yield a bool

2019-07-03 Thread Dave Martin
From: Zhang Lei The original implementation of vq_present() relied on aggressive inlining in order for the compiler to know that the code is correct, due to some const-casting issues. This was causing sparse and clang to complain, while GCC compiled cleanly. Commit 0c529ff789bc addressed this