All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] KVM: arm64: nv: Fixes for external abort exception routing
@ 2025-05-30 23:06 Oliver Upton
  2025-05-30 23:06 ` [PATCH 1/4] KVM: arm64: nv: Respect exception routing rules for SEAs Oliver Upton
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Oliver Upton @ 2025-05-30 23:06 UTC (permalink / raw)
  To: kvmarm; +Cc: Marc Zyngier, Joey Gouly, Suzuki K Poulose, Zenghui Yu,
	Oliver Upton

SEAs and SErrors come with a set of exception routing rules that are
potentially affected by EL2. KVM currently ignores these and just
injects the exceptions into the present context.

This series aims to address that, enlightening some of the injection
plumbing to the presence of vEL2. Additionally, patches 2 and 4 are
minor fixes for bugs that I found along the way.

Oliver Upton (4):
  KVM: arm64: nv: Respect exception routing rules for SEAs
  KVM: arm64: nv: Ensure Address size faults affect correct ESR
  KVM: arm64: nv: Honor SError exception routing / masking
  KVM: arm64: Treat vCPU with pending SError as runnable

 arch/arm64/include/asm/kvm_emulate.h | 31 ++++++++++--
 arch/arm64/include/asm/kvm_host.h    | 20 ++++++--
 arch/arm64/include/asm/kvm_nested.h  |  2 +
 arch/arm64/kvm/arm.c                 |  7 ++-
 arch/arm64/kvm/emulate-nested.c      | 53 ++++++++++++++++++++
 arch/arm64/kvm/guest.c               | 36 +++++++------
 arch/arm64/kvm/handle_exit.c         |  4 +-
 arch/arm64/kvm/inject_fault.c        | 75 +++++++++++-----------------
 arch/arm64/kvm/mmio.c                |  6 +--
 arch/arm64/kvm/mmu.c                 | 17 ++-----
 arch/arm64/kvm/nested.c              | 36 +++++++++++++
 11 files changed, 203 insertions(+), 84 deletions(-)


base-commit: 1b85d923ba8c9e6afaf19e26708411adde94fba8
-- 
2.39.5


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2025-05-31 17:51 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-30 23:06 [PATCH 0/4] KVM: arm64: nv: Fixes for external abort exception routing Oliver Upton
2025-05-30 23:06 ` [PATCH 1/4] KVM: arm64: nv: Respect exception routing rules for SEAs Oliver Upton
2025-05-31 16:23   ` Marc Zyngier
2025-05-31 17:51     ` Oliver Upton
2025-05-30 23:06 ` [PATCH 2/4] KVM: arm64: nv: Ensure Address size faults affect correct ESR Oliver Upton
2025-05-30 23:06 ` [PATCH 3/4] KVM: arm64: nv: Honor SError exception routing / masking Oliver Upton
2025-05-30 23:06 ` [PATCH 4/4] KVM: arm64: Treat vCPU with pending SError as runnable Oliver Upton

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.