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 <isaacmanjarres@google.com>
This commit is contained in:
Isaac J. Manjarres
2025-07-16 22:31:19 +00:00
committed by Isaac Manjarres
parent 3bd1e69c2c
commit 53889dfa13

View File

@@ -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