ANDROID: KVM: arm64: Pad more pKVM structs

Pad the remanining pKVM-related structs before KMI freeze.

Bug: 360102915
Change-Id: I47a9469a1115d3289427368ac076e64e7f798105
Signed-off-by: Quentin Perret <qperret@google.com>
This commit is contained in:
Quentin Perret
2025-05-15 09:31:45 +00:00
committed by Carlos Llamas
parent b3c31c9b21
commit 6cb1db877d
2 changed files with 6 additions and 0 deletions

View File

@@ -89,6 +89,8 @@ struct kvm_hyp_memcache {
unsigned long nr_pages;
unsigned long flags;
void *mapping; /* struct pkvm_mapping *, only used from EL1 */
ANDROID_KABI_RESERVE(1);
ANDROID_KABI_RESERVE(2);
};
static inline void push_hyp_memcache(struct kvm_hyp_memcache *mc,

View File

@@ -2,6 +2,8 @@
#ifndef __KVM_POWER_DOMAIN_H
#define __KVM_POWER_DOMAIN_H
#include <linux/android_kabi.h>
enum kvm_power_domain_type {
KVM_POWER_DOMAIN_NONE,
KVM_POWER_DOMAIN_HOST_HVC,
@@ -19,6 +21,8 @@ struct kvm_power_domain {
size_t shmem_size;
} arm_scmi; /*ARM_SCMI channel */
};
ANDROID_KABI_RESERVE(1);
ANDROID_KABI_RESERVE(2);
};
#endif /* __KVM_POWER_DOMAIN_H */