linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v4 0/3] arm64/kvm: Fine grain _EL2 system registers list that affect nested virtualization
@ 2023-10-16 11:17 Miguel Luis
  2023-10-16 11:17 ` [PATCH v4 1/3] arm64: Add missing _EL12 encodings Miguel Luis
                   ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: Miguel Luis @ 2023-10-16 11:17 UTC (permalink / raw)
  To: Catalin Marinas, Will Deacon, Marc Zyngier, Oliver Upton,
	James Morse, Suzuki K Poulose, Zenghui Yu, Jing Zhang, Eric Auger,
	linux-arm-kernel, linux-kernel, kvmarm
  Cc: miguel.luis

The current HCR_EL2 description defines ranges of system register encodings in
which accesses should trap for NV. These ranges include encodings which aren't
defined in the reference manual. In order avoid this, let's rather implement a
more fine grained approach excluding those undefined.

v3 -> v4
 patch 2:
	Add BRBCR_EL2.
 patch 3:
	Handle BRBCR_EL2.
	Add Eric's R-b. Thanks!

v3: https://lore.kernel.org/kvmarm/20231011180103.91774-1-miguel.luis@oracle.com/
v2: https://lore.kernel.org/kvmarm/20230925162057.27548-1-miguel.luis@oracle.com/
v1: https://lore.kernel.org/kvmarm/20230913185209.32282-1-miguel.luis@oracle.com/

Miguel Luis (3):
  arm64: Add missing _EL12 encodings
  arm64: Add missing _EL2 encodings
  arm64/kvm: Fine grain _EL2 system registers list that affect nested
    virtualization

 arch/arm64/include/asm/sysreg.h | 50 ++++++++++++++++++
 arch/arm64/kvm/emulate-nested.c | 89 ++++++++++++++++++++++++++++++---
 2 files changed, 133 insertions(+), 6 deletions(-)

--
2.39.2


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

end of thread, other threads:[~2023-10-19 16:11 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-16 11:17 [PATCH v4 0/3] arm64/kvm: Fine grain _EL2 system registers list that affect nested virtualization Miguel Luis
2023-10-16 11:17 ` [PATCH v4 1/3] arm64: Add missing _EL12 encodings Miguel Luis
2023-10-19 16:11   ` Miguel Luis
2023-10-16 11:17 ` [PATCH v4 2/3] arm64: Add missing _EL2 encodings Miguel Luis
2023-10-16 11:31   ` Eric Auger
2023-10-16 11:42     ` Miguel Luis
2023-10-19 11:39   ` Marc Zyngier
2023-10-19 13:23     ` Miguel Luis
2023-10-19 14:07       ` Marc Zyngier
2023-10-16 11:17 ` [PATCH v4 3/3] arm64/kvm: Fine grain _EL2 system registers list that affect nested virtualization Miguel Luis
2023-10-19 12:41   ` Marc Zyngier
2023-10-19 14:46     ` Miguel Luis
2023-10-19 15:38       ` Marc Zyngier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).