Re: [PATCH] arm64: KVM: hyp: debug-sr: Mark expected switch fall-throughs

2019-08-07 Thread Gustavo A. R. Silva
On 8/7/19 10:11 AM, Marc Zyngier wrote: > > Already fixed (together with all the other KVM/arm warnings/bugs), and > pull request sent to Paolo. > Awesome. :) Thanks, Marc. -- Gustavo

Re: [PATCH 1/9] KVM: arm64: Document PV-time interface

2019-08-07 Thread Steven Price
On 07/08/2019 15:28, Christophe de Dinechin wrote: > > >> On 7 Aug 2019, at 15:21, Steven Price > > wrote: >> >> On 05/08/2019 17:40, Christophe de Dinechin wrote: >>> >>> Steven Price writes: >>> Introduce a paravirtualization interface for KVM/arm64 based on

Re: [PATCH] arm64: KVM: hyp: debug-sr: Mark expected switch fall-throughs

2019-08-07 Thread Marc Zyngier
On 07/08/2019 15:18, Gustavo A. R. Silva wrote: > Mark switch cases where we are expecting to fall through. > > This patch fixes the following warnings (Building: allmodconfig arm64): > > arch/arm64/kvm/hyp/debug-sr.c:20:19: warning: this statement may fall through > [-Wimplicit-fallthrough=] >

Re: [PATCH 1/9] KVM: arm64: Document PV-time interface

2019-08-07 Thread Christophe de Dinechin
> On 7 Aug 2019, at 15:21, Steven Price wrote: > > On 05/08/2019 17:40, Christophe de Dinechin wrote: >> >> Steven Price writes: >> >>> Introduce a paravirtualization interface for KVM/arm64 based on the >>> "Arm Paravirtualized Time for Arm-Base Systems" specification DEN 0057A. >>> >>>

[PATCH] arm64: KVM: hyp: debug-sr: Mark expected switch fall-throughs

2019-08-07 Thread Gustavo A. R. Silva
Mark switch cases where we are expecting to fall through. This patch fixes the following warnings (Building: allmodconfig arm64): arch/arm64/kvm/hyp/debug-sr.c:20:19: warning: this statement may fall through [-Wimplicit-fallthrough=] arch/arm64/kvm/hyp/debug-sr.c:21:19: warning: this statement

Re: [PATCH 6/9] KVM: arm64: Provide a PV_TIME device to user space

2019-08-07 Thread Marc Zyngier
On 07/08/2019 14:39, Steven Price wrote: > On 03/08/2019 18:34, Marc Zyngier wrote: >> On Sat, 3 Aug 2019 13:51:13 +0100 >> Marc Zyngier wrote: >> >> [forgot that one] >> >>> On Fri, 2 Aug 2019 15:50:14 +0100 >>> Steven Price wrote: >> >> [...] >> +static int __init kvm_pvtime_init(void)

Re: [PATCH 6/9] KVM: arm64: Provide a PV_TIME device to user space

2019-08-07 Thread Steven Price
On 03/08/2019 18:34, Marc Zyngier wrote: > On Sat, 3 Aug 2019 13:51:13 +0100 > Marc Zyngier wrote: > > [forgot that one] > >> On Fri, 2 Aug 2019 15:50:14 +0100 >> Steven Price wrote: > > [...] > >>> +static int __init kvm_pvtime_init(void) >>> +{ >>> + kvm_register_device_ops(_ops,

Re: [PATCH 1/9] KVM: arm64: Document PV-time interface

2019-08-07 Thread Steven Price
On 05/08/2019 17:40, Christophe de Dinechin wrote: > > Steven Price writes: > >> Introduce a paravirtualization interface for KVM/arm64 based on the >> "Arm Paravirtualized Time for Arm-Base Systems" specification DEN 0057A. >> >> This only adds the details about "Stolen Time" as the details of

[PATCH] KVM: arm/arm64: vgic: Reevaluate level sensitive interrupts on enable

2019-08-07 Thread Alexandru Elisei
A HW mapped level sensitive interrupt asserted by a device will not be put into the ap_list if it is disabled at the VGIC level. When it is enabled again, it will be inserted into the ap_list and written to a list register on guest entry regardless of the state of the device. We could argue that