Linux-ARM-Kernel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] KVM: arm64: Cleanup the HCR_xyz macros
@ 2026-10-15 17:36 Marc Zyngier
  2026-10-15 17:36 ` [PATCH 1/2] KVM: arm64: Convert HCR_xyz to HCR_EL2_xyz Marc Zyngier
  2026-10-15 17:36 ` [PATCH 2/2] KVM: arm64: Get rid of compatibility HCR_EL2 aliases Marc Zyngier
  0 siblings, 2 replies; 3+ messages in thread
From: Marc Zyngier @ 2026-10-15 17:36 UTC (permalink / raw)
  To: kvmarm, linux-arm-kernel, kvm
  Cc: Steffen Eiden, Joey Gouly, Suzuki K Poulose, Oliver Upton,
	Zenghui Yu, Fuad Tabba

I've been postponing this for some time, but it finally happened: no
more HCR_xyz macros.

This series converts the whole thing in one go, using the script
fragment contained in the first patch. No AI agent involved, all bugs
are mine! I intend to take this in for 7.4-rc1.

Patches on top of kvmarm-7.4.

Marc Zyngier (2):
  KVM: arm64: Convert HCR_xyz to HCR_EL2_xyz
  KVM: arm64: Get rid of compatibility HCR_EL2 aliases

 arch/arm64/include/asm/el2_setup.h      |   4 +-
 arch/arm64/include/asm/hardirq.h        |   6 +-
 arch/arm64/include/asm/kvm_arm.h        |  79 ++--------------
 arch/arm64/include/asm/kvm_emulate.h    |  18 ++--
 arch/arm64/include/asm/kvm_mte.h        |   4 +-
 arch/arm64/include/asm/kvm_ptrauth.h    |   4 +-
 arch/arm64/kernel/head.S                |   4 +-
 arch/arm64/kvm/arm.c                    |  28 +++---
 arch/arm64/kvm/at.c                     |  18 ++--
 arch/arm64/kvm/emulate-nested.c         | 116 ++++++++++++------------
 arch/arm64/kvm/guest.c                  |   2 +-
 arch/arm64/kvm/handle_exit.c            |   2 +-
 arch/arm64/kvm/hyp/include/hyp/switch.h |  14 +--
 arch/arm64/kvm/hyp/nvhe/host.S          |   2 +-
 arch/arm64/kvm/hyp/nvhe/hyp-init.S      |   2 +-
 arch/arm64/kvm/hyp/nvhe/hyp-main.c      |  20 ++--
 arch/arm64/kvm/hyp/nvhe/mem_protect.c   |   6 +-
 arch/arm64/kvm/hyp/nvhe/pkvm.c          |  32 +++----
 arch/arm64/kvm/hyp/vgic-v3-sr.c         |   4 +-
 arch/arm64/kvm/hyp/vhe/switch.c         |  12 +--
 arch/arm64/kvm/hyp/vhe/tlb.c            |   2 +-
 arch/arm64/kvm/inject_fault.c           |   6 +-
 arch/arm64/kvm/mmu.c                    |   8 +-
 arch/arm64/kvm/nested.c                 |   8 +-
 arch/arm64/kvm/sys_regs.c               |  24 ++---
 arch/arm64/kvm/vgic/vgic-v3-nested.c    |   4 +-
 26 files changed, 182 insertions(+), 247 deletions(-)

-- 
2.47.3



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

end of thread, other threads:[~2026-10-15 17:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-15 17:36 [PATCH 0/2] KVM: arm64: Cleanup the HCR_xyz macros Marc Zyngier
2026-10-15 17:36 ` [PATCH 1/2] KVM: arm64: Convert HCR_xyz to HCR_EL2_xyz Marc Zyngier
2026-10-15 17:36 ` [PATCH 2/2] KVM: arm64: Get rid of compatibility HCR_EL2 aliases Marc Zyngier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox