[0/3] Fine grain sysregs allowed to trap for nested virtualization

Message ID 20230913185209.32282-1-miguel.luis@oracle.com
Headers
Series Fine grain sysregs allowed to trap for nested virtualization |

Message

Miguel Luis Sept. 13, 2023, 6:52 p.m. UTC
  The current HCR_EL2 description includes _EL1 registers that are not affected
by NV. Let's exclude them from those ranges to implement a more fine grained
approach.

Miguel Luis (3):
  arm64: Add missing _EL12 encodings
  arm64/kvm: Fine grain _EL2 system registers list that affect nested
    virtualization
  KVM: arm64: nv: Handle all _EL02 and _EL12 registers

 arch/arm64/include/asm/sysreg.h | 11 +++++
 arch/arm64/kvm/emulate-nested.c | 79 ++++++++++++++++++++++++++++-----
 2 files changed, 80 insertions(+), 10 deletions(-)

--
2.39.2