diff options
author | Marc Zyngier <maz@kernel.org> | 2024-06-25 16:00:39 +0300 |
---|---|---|
committer | Oliver Upton <oliver.upton@linux.dev> | 2024-06-27 03:04:25 +0300 |
commit | 1b04fd40275e09c2062e125593e7d2b0b9f87b0a (patch) | |
tree | 2764c8f9004ad0e65e1f788d721f02d78c278d74 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | a3ee9ce88ba3adc0a9bcb77dd40eca6aff3cef28 (diff) | |
download | linux-1b04fd40275e09c2062e125593e7d2b0b9f87b0a.tar.xz |
KVM: arm64: Make TCR2_EL1 save/restore dependent on the VM features
As for other registers, save/restore of TCR2_EL1 should be gated
on the feature being actually present.
In the case of a nVHE hypervisor, it is perfectly fine to leave
the host value in the register, as HCRX_EL2.TCREn==0 imposes that
TCR2_EL1 is treated as 0.
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20240625130042.259175-4-maz@kernel.org
Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions