diff options
author | Oliver Upton <oliver.upton@linux.dev> | 2025-02-25 03:53:59 +0300 |
---|---|---|
committer | Oliver Upton <oliver.upton@linux.dev> | 2025-02-26 12:32:05 +0300 |
commit | d0d81e03e6292b411452501ef0b3583b5ea884f7 (patch) | |
tree | 3a4baed926fe3aed39f0f18c91537b4bfcfa7b7f /tools/perf/scripts/python/gecko.py | |
parent | b4043e7cb78b96dae07c62d3ac527f84010828cd (diff) | |
download | linux-d0d81e03e6292b411452501ef0b3583b5ea884f7.tar.xz |
KVM: arm64: Load VPIDR_EL2 with the VM's MIDR_EL1 value
Userspace will soon be able to change the value of MIDR_EL1. Prepare by
loading VPIDR_EL2 with the guest value for non-nested VMs.
Since VPIDR_EL2 is set for any VM, get rid of the NV-specific cleanup of
reloading the hardware value on vcpu_put(). And for nVHE, load the
hardware value before switching to the host.
Link: https://lore.kernel.org/r/20250225005401.679536-4-oliver.upton@linux.dev
Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions