mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-06 19:08:57 +09:00
ANDROID: KVM: arm64: Introduce KVM_ARCH_FLAG_MMIO_GUARD flag
Add a per-VM flag indicating that the guest has bought into the MMIO guard enforcement framework. Signed-off-by: Marc Zyngier <maz@kernel.org> Bug: 209580772 Change-Id: If60b2b38a419a9f44ebe9029f55dd016fd2444b5 Signed-off-by: Will Deacon <willdeacon@google.com>
This commit is contained in:
committed by
Will Deacon
parent
c3e455cd33
commit
4bd3bae3cc
@@ -196,6 +196,8 @@ struct kvm_arch {
|
||||
#define KVM_ARCH_FLAG_RETURN_NISV_IO_ABORT_TO_USER 0
|
||||
/* Memory Tagging Extension enabled for the guest */
|
||||
#define KVM_ARCH_FLAG_MTE_ENABLED 1
|
||||
/* Guest has bought into the MMIO guard extension */
|
||||
#define KVM_ARCH_FLAG_MMIO_GUARD 2
|
||||
unsigned long flags;
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user