diff options
author | 2025-04-16 15:26:43 +0000 | |
---|---|---|
committer | 2025-04-28 09:23:46 +0100 | |
commit | cd4b039165a5e709d0d599e207709d73141a8bed (patch) | |
tree | fe44c97be1adbc9427372698e143f75e7e4bde98 /lib/mpi/mpi-sub-ui.c | |
parent | KVM: arm64: Fix pKVM page-tracking comments (diff) | |
download | wireguard-linux-cd4b039165a5e709d0d599e207709d73141a8bed.tar.xz wireguard-linux-cd4b039165a5e709d0d599e207709d73141a8bed.zip |
KVM: arm64: Use 0b11 for encoding PKVM_NOPAGE
The page ownership state encoded as 0b11 is currently considered
reserved for future use, and PKVM_NOPAGE uses bit 2. In order to
simplify the relocation of the hyp ownership state into the
vmemmap in later patches, let's use the 'reserved' encoding for
the PKVM_NOPAGE state. The struct hyp_page layout isn't guaranteed
stable at all, so there is no real reason to have 'reserved' encodings.
No functional changes intended.
Reviewed-by: Marc Zyngier <maz@kernel.org>
Signed-off-by: Quentin Perret <qperret@google.com>
Link: https://lore.kernel.org/r/20250416152648.2982950-4-qperret@google.com
Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions