Re: [RFC PATCH] KVM: arm/arm64: vgic: change condition for level interrupt resampling

2018-03-10 Thread Christoffer Dall
On Sat, Mar 10, 2018 at 12:20 PM, Marc Zyngier wrote: > On Fri, 09 Mar 2018 21:36:12 +, > Christoffer Dall wrote: >> >> On Thu, Mar 08, 2018 at 05:28:44PM +, Marc Zyngier wrote: >> > I'd be more confident if we did forbid P+A for such interrupts >> > altogether, as

Re: [PATCH 1/2] KVM: arm/arm64: vgic: Don't populate multiple LRs with the same vintid

2018-03-10 Thread Christoffer Dall
On Sat, Mar 10, 2018 at 1:57 PM, Marc Zyngier wrote: > Hi Christoffer, > > On Fri, 09 Mar 2018 21:39:31 +, > Christoffer Dall wrote: >> >> On Thu, Mar 08, 2018 at 06:39:20PM +, Marc Zyngier wrote: >> > Thinking of it a bit more: MI on EOI doesn't offer much more

Re: [PATCH v2] arm64: KVM: Use SMCCC_ARCH_WORKAROUND_1 for Falkor BP hardening

2018-03-10 Thread Shanker Donthineni
Hi Will, On 03/09/2018 07:48 AM, Will Deacon wrote: > Hi SHanker, > > On Mon, Mar 05, 2018 at 11:06:43AM -0600, Shanker Donthineni wrote: >> The function SMCCC_ARCH_WORKAROUND_1 was introduced as part of SMC >> V1.1 Calling Convention to mitigate CVE-2017-5715. This patch uses >> the standard

Re: [PATCH] arm64: KVM: Use SMCCC_ARCH_WORKAROUND_1 for Falkor BP hardening

2018-03-10 Thread Shanker Donthineni
Hi Will, On 03/06/2018 09:25 AM, Will Deacon wrote: > On Mon, Mar 05, 2018 at 12:03:33PM -0600, Shanker Donthineni wrote: >> On 03/05/2018 11:15 AM, Will Deacon wrote: >>> On Mon, Mar 05, 2018 at 10:57:58AM -0600, Shanker Donthineni wrote: On 03/05/2018 09:56 AM, Will Deacon wrote: > On

Re: Re: [PATCH] KVM:arm/arm64: dcache need be coherent unconditionally

2018-03-10 Thread peng.hao2
>On 09/03/18 22:15, Peng Hao wrote: >> For emulation devices just like vga, keeping coherent dcache between >> guest and host timely is needed. >> Now the display of vnc-viewer will not update continuously and the >> patch can fix up. >> >> Signed-off-by: Peng Hao >> --- >>

Re: Re: [PATCH] KVM:arm/arm64: dcache need be coherent unconditionally

2018-03-10 Thread peng.hao2
>On 09/03/18 22:15, Peng Hao wrote: >> For emulation devices just like vga, keeping coherent dcache between >> guest and host timely is needed. >> Now the display of vnc-viewer will not update continuously and the >> patch can fix up. >> >> Signed-off-by: Peng Hao >>

Re: [PATCH 1/2] KVM: arm/arm64: vgic: Don't populate multiple LRs with the same vintid

2018-03-10 Thread Marc Zyngier
Hi Christoffer, On Fri, 09 Mar 2018 21:39:31 +, Christoffer Dall wrote: > > On Thu, Mar 08, 2018 at 06:39:20PM +, Marc Zyngier wrote: > > Thinking of it a bit more: MI on EOI doesn't offer much more guarantee > > in the way of priority ordering. Taking your example above: Even if > > you

Re: [RFC PATCH] KVM: arm/arm64: vgic: change condition for level interrupt resampling

2018-03-10 Thread Marc Zyngier
On Fri, 09 Mar 2018 21:36:12 +, Christoffer Dall wrote: > > On Thu, Mar 08, 2018 at 05:28:44PM +, Marc Zyngier wrote: > > I'd be more confident if we did forbid P+A for such interrupts > > altogether, as they really feel like another kind of HW interrupt. > > How about a slightly bigger

Re: [PATCH] KVM:arm/arm64: dcache need be coherent unconditionally

2018-03-10 Thread Marc Zyngier
On Sat, 10 Mar 2018 03:23:18 +, peng hao wrote: > >> For emulation devices just like vga, keeping coherent dcache between > >> guest and host timely is needed. > >> Now the display of vnc-viewer will not update continuously and the > >> patch can fix up. > >> > >> Signed-off-by: Peng Hao