From 53889dfa13a67f111fbd70949c4bffeab0d5503f Mon Sep 17 00:00:00 2001 From: "Isaac J. Manjarres" Date: Wed, 16 Jul 2025 22:31:19 +0000 Subject: [PATCH] ANDROID: Remove GKI ABI related padding from structures for microdroid One of the cornerstones of GKI is that it preserves a stable ABI between the kernel and vendor modules after the ABI is frozen. This ensures that the kernel can be updated independently of the vendor modules. To do this, space is reserved in certain data structures to account for future changes that may require changes to the size of the structure and break the ABI. Microdroid kernels do not need to make this guarantee, so remove said padding. Bug: 432329937 Change-Id: Iec4afd7c748fe64c8dbd7770a333cbf4c6699f0e Signed-off-by: Isaac J. Manjarres --- arch/arm64/configs/microdroid_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/configs/microdroid_defconfig b/arch/arm64/configs/microdroid_defconfig index 03ad7a94800d..d958911f04ae 100644 --- a/arch/arm64/configs/microdroid_defconfig +++ b/arch/arm64/configs/microdroid_defconfig @@ -122,6 +122,8 @@ CONFIG_VIRTIO_BALLOON=y CONFIG_STAGING=y CONFIG_HWSPINLOCK=y # CONFIG_IOMMU_SUPPORT is not set +# CONFIG_ANDROID_KABI_RESERVE is not set +# CONFIG_ANDROID_VENDOR_OEM_DATA is not set CONFIG_EXT4_FS=y # CONFIG_EXT4_USE_FOR_EXT2 is not set CONFIG_EXT4_FS_POSIX_ACL=y