mbox series

[0/5] KVM: arm64: NV trap forwarding fixes

Message ID 20231023095444.1587322-1-maz@kernel.org (mailing list archive)
Headers show
Series KVM: arm64: NV trap forwarding fixes | expand

Message

Marc Zyngier Oct. 23, 2023, 9:54 a.m. UTC
As Miguel was reworking some of the NV trap list, it became clear that
the 32bit handling didn't get much love. So I've taken Miguel's
series, massaged it a bit, and added my own stuff.

Apart from the last patch, the all have been on the list and reviewed.
I was hoping to take it into 6.6, but some of the late rework and the
required testing have made it impossible.

Oliver, if you're happy with the shape of it, I'd appreciate it if you
could take it into 6.7.

Thanks,

	M.

Marc Zyngier (2):
  KVM: arm64: Do not let a L1 hypervisor access the *32_EL2 sysregs
  KVM: arm64: Handle AArch32 SPSR_{irq,abt,und,fiq} as RAZ/WI

Miguel Luis (3):
  arm64: Add missing _EL12 encodings
  arm64: Add missing _EL2 encodings
  KVM: arm64: Refine _EL2 system register list that require trap
    reinjection

 arch/arm64/include/asm/sysreg.h | 45 +++++++++++++++++++
 arch/arm64/kvm/emulate-nested.c | 77 ++++++++++++++++++++++++++++++---
 arch/arm64/kvm/sys_regs.c       | 24 +++++++---
 3 files changed, 133 insertions(+), 13 deletions(-)

Comments

Oliver Upton Oct. 25, 2023, 6:40 a.m. UTC | #1
On Mon, 23 Oct 2023 10:54:39 +0100, Marc Zyngier wrote:
> As Miguel was reworking some of the NV trap list, it became clear that
> the 32bit handling didn't get much love. So I've taken Miguel's
> series, massaged it a bit, and added my own stuff.
> 
> Apart from the last patch, the all have been on the list and reviewed.
> I was hoping to take it into 6.6, but some of the late rework and the
> required testing have made it impossible.
> 
> [...]

Applied to kvmarm/next, thanks!

[1/5] arm64: Add missing _EL12 encodings
      https://git.kernel.org/kvmarm/kvmarm/c/d5cb781b7741
[2/5] arm64: Add missing _EL2 encodings
      https://git.kernel.org/kvmarm/kvmarm/c/41f6c9344713
[3/5] KVM: arm64: Refine _EL2 system register list that require trap reinjection
      https://git.kernel.org/kvmarm/kvmarm/c/04cf54650554
[4/5] KVM: arm64: Do not let a L1 hypervisor access the *32_EL2 sysregs
      https://git.kernel.org/kvmarm/kvmarm/c/c7d11a61c7f7
[5/5] KVM: arm64: Handle AArch32 SPSR_{irq,abt,und,fiq} as RAZ/WI
      https://git.kernel.org/kvmarm/kvmarm/c/3f7915ccc902

--
Best,
Oliver