mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 04:10:18 +09:00
Revert "FROMGIT: KVM: arm64: Extend pkvm_page_state enumeration to handle absent pages"
This reverts commit d9acb48aed.
Bug: 233587962
Signed-off-by: Will Deacon <willdeacon@google.com>
Change-Id: I4024f39043bf4e7a82ed2cb0b9152c29d715c1da
This commit is contained in:
@@ -24,11 +24,6 @@ enum pkvm_page_state {
|
||||
PKVM_PAGE_OWNED = 0ULL,
|
||||
PKVM_PAGE_SHARED_OWNED = KVM_PGTABLE_PROT_SW0,
|
||||
PKVM_PAGE_SHARED_BORROWED = KVM_PGTABLE_PROT_SW1,
|
||||
__PKVM_PAGE_RESERVED = KVM_PGTABLE_PROT_SW0 |
|
||||
KVM_PGTABLE_PROT_SW1,
|
||||
|
||||
/* Meta-states which aren't encoded directly in the PTE's SW bits */
|
||||
PKVM_NOPAGE,
|
||||
};
|
||||
|
||||
#define PKVM_PAGE_STATE_PROT_MASK (KVM_PGTABLE_PROT_SW0 | KVM_PGTABLE_PROT_SW1)
|
||||
|
||||
Reference in New Issue
Block a user