diff options
author | 2024-12-16 10:50:54 +0000 | |
---|---|---|
committer | 2024-12-20 13:54:03 +0000 | |
commit | 1eccad35c9268f1ad4be3d72d37167a58c0ac2db (patch) | |
tree | 1b675994e0d03c751af7f663f1b746a14d8094b9 /scripts/generate_rust_analyzer.py | |
parent | KVM: arm64: Refactor kvm_reset_cptr_el2() (diff) | |
download | wireguard-linux-1eccad35c9268f1ad4be3d72d37167a58c0ac2db.tar.xz wireguard-linux-1eccad35c9268f1ad4be3d72d37167a58c0ac2db.zip |
KVM: arm64: Fix the value of the CPTR_EL2 RES1 bitmask for nVHE
Since the introduction of SME, bit 12 in CPTR_EL2 (nVHE) is TSM
for trapping SME, instead of RES1, as per ARM ARM DDI 0487K.a,
section D23.2.34.
Fix the value of CPTR_NVHE_EL2_RES1 to reflect that, and adjust
the code that relies on it accordingly.
Signed-off-by: Fuad Tabba <tabba@google.com>
Link: https://lore.kernel.org/r/20241216105057.579031-15-tabba@google.com
Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions