Re: [PATCH] KVM: arm64: Only open the interrupt window on exit due to an interrupt

2022-03-04 Thread Mark Rutland
On Fri, Mar 04, 2022 at 01:59:14PM +, Marc Zyngier wrote: > Now that we properly account for interrupts taken whilst the guest > was running, it becomes obvious that there is no need to open > this accounting window if we didn't exit because of an interrupt. > > This saves a number of system r

[PATCH] KVM: arm64: Only open the interrupt window on exit due to an interrupt

2022-03-04 Thread Marc Zyngier
Now that we properly account for interrupts taken whilst the guest was running, it becomes obvious that there is no need to open this accounting window if we didn't exit because of an interrupt. This saves a number of system register accesses and other barriers if we exited for any other reason (s