lkml.org 
[lkml]   [2023]   [Oct]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v4 0/3] arm64/kvm: Fine grain _EL2 system registers list that affect nested virtualization
Date
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

\
 
 \ /
  Last update: 2023-10-16 13:18    [W:4.063 / U:0.304 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site