ANDROID: KVM: arm64: Drop struct pkvm_mapping from KMI
struct pkvm_mapping is currently exposed in the KMI via the pKVM module interface as it's a member of the hyp_memcache. But the pkvm_mapping is only used in the page-fault path at EL1, and no module should ever need to use it. So let's turn this pointer into a void * to hide struct pkvm_mapping from the KMI. Bug: 357781595 Change-Id: I2fe5132a74b64405fa15805c0b346afcde94fc56 Signed-off-by: Quentin Perret <qperret@google.com>
This commit is contained in:
committed by
Carlos Llamas
parent
ef10b442e4
commit
b3c31c9b21
@@ -88,7 +88,7 @@ struct kvm_hyp_memcache {
|
||||
phys_addr_t head;
|
||||
unsigned long nr_pages;
|
||||
unsigned long flags;
|
||||
struct pkvm_mapping *mapping; /* only used from EL1 */
|
||||
void *mapping; /* struct pkvm_mapping *, only used from EL1 */
|
||||
};
|
||||
|
||||
static inline void push_hyp_memcache(struct kvm_hyp_memcache *mc,
|
||||
|
||||
Reference in New Issue
Block a user