aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
diff options
context:
space:
mode:
authorOliver Upton <[email protected]>2022-05-03 06:02:03 +0000
committerMarc Zyngier <[email protected]>2022-05-03 11:14:34 +0100
commitfd1264c4ca610a99d52c35a37e5551eec442723d (patch)
treea861aeb0ec17ab056714db7db853a6f71696e580 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
parent9369bc5c5e35985f38d04bd98c6d28a032e84b17 (diff)
KVM: arm64: Start trapping ID registers for 32 bit guests
To date KVM has not trapped ID register accesses from AArch32, meaning that guests get an unconstrained view of what hardware supports. This can be a serious problem because we try to base the guest's feature registers on values that are safe system-wide. Furthermore, KVM does not implement the latest ISA in the PMU and Debug architecture, so we constrain these fields to supported values. Since KVM now correctly handles CP15 and CP10 register traps, we no longer need to clear HCR_EL2.TID3 for 32 bit guests and will instead emulate reads with their safe values. Signed-off-by: Oliver Upton <[email protected]> Reviewed-by: Reiji Watanabe <[email protected]> Signed-off-by: Marc Zyngier <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions