diff options
| author | Marc Zyngier <[email protected]> | 2025-05-14 10:34:52 +0000 |
|---|---|---|
| committer | Marc Zyngier <[email protected]> | 2025-05-19 07:01:19 +0000 |
| commit | 069a05e53549685d2b5e54ceb51db1fd04aa50d7 (patch) | |
| tree | dead494294ea864921eb25170df8648c7746278e /rust/helpers/build_bug.c | |
| parent | KVM: arm64: nv: Add userspace and guest handling of VNCR_EL2 (diff) | |
| download | kernel-069a05e53549685d2b5e54ceb51db1fd04aa50d7.tar.gz kernel-069a05e53549685d2b5e54ceb51db1fd04aa50d7.zip | |
KVM: arm64: nv: Handle VNCR_EL2-triggered faults
As VNCR_EL2.BADDR contains a VA, it is bound to trigger faults.
These faults can have multiple source:
- We haven't mapped anything on the host: we need to compute the
resulting translation, populate a TLB, and eventually map
the corresponding page
- The permissions are out of whack: we need to tell the guest about
this state of affairs
Note that the kernel doesn't support S1POE for itself yet, so
the particular case of a VNCR page mapped with no permissions
or with write-only permissions is not correctly handled yet.
Reviewed-by: Oliver Upton <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Marc Zyngier <[email protected]>
Diffstat (limited to 'rust/helpers/build_bug.c')
0 files changed, 0 insertions, 0 deletions
