diff options
author | 2024-06-19 08:29:20 +0100 | |
---|---|---|
committer | 2024-08-30 12:04:20 +0100 | |
commit | 477e89cabb1428d5989430d57828347f5de2be9c (patch) | |
tree | 217d65e5fc58436261379addbeffea66b415796c /scripts/generate_rust_analyzer.py | |
parent | KVM: arm64: nv: Honor absence of FEAT_PAN2 (diff) | |
download | linux-rng-477e89cabb1428d5989430d57828347f5de2be9c.tar.xz linux-rng-477e89cabb1428d5989430d57828347f5de2be9c.zip |
KVM: arm64: nv: Add basic emulation of AT S1E{0,1}{R,W}
Emulating AT instructions is one the tasks devolved to the host
hypervisor when NV is on.
Here, we take the basic approach of emulating AT S1E{0,1}{R,W}
using the AT instructions themselves. While this mostly work,
it doesn't *always* work:
- S1 page tables can be swapped out
- shadow S2 can be incomplete and not contain mappings for
the S1 page tables
We are not trying to handle these case here, and defer it to
a later patch. Suitable comments indicate where we are in dire
need of better handling.
Co-developed-by: Jintack Lim <jintack.lim@linaro.org>
Signed-off-by: Jintack Lim <jintack.lim@linaro.org>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions