platform_kernel_configs/v/android-6.1/android-base-conditional.xml
Yifan Hong 52a7267d6a Move current requirements to v/ folder.
Like compatibility matrices, we no longer maintains
a current version of the kernel requirements. All
kernel requirements are denoted with the dessert
release.

Test: TH
Change-Id: Ic0bc57c4e78d2f038d70bf0286a89625687947ef
2023-04-11 14:16:31 -07:00

244 lines
4.7 KiB
XML

<kernel minlts="6.1.0" />
<!-- KEEP ALPHABETICALLY SORTED -->
<!-- ARM base requirements -->
<group>
<conditions>
<config>
<key>CONFIG_ARM</key>
<value type="bool">y</value>
</config>
</conditions>
<config>
<key>CONFIG_AEABI</key>
<value type="bool">y</value>
</config>
<config>
<key>CONFIG_CPU_SW_DOMAIN_PAN</key>
<value type="bool">y</value>
</config>
<config>
<key>CONFIG_DEVKMEM</key>
<value type="bool">n</value>
</config>
<config>
<key>CONFIG_OABI_COMPAT</key>
<value type="bool">n</value>
</config>
</group>
<!-- ARM64 base requirements -->
<group>
<conditions>
<config>
<key>CONFIG_ARM64</key>
<value type="bool">y</value>
</config>
</conditions>
<config>
<key>CONFIG_ARM64_PAN</key>
<value type="bool">y</value>
</config>
<config>
<key>CONFIG_ARM64_SW_TTBR0_PAN</key>
<value type="bool">y</value>
</config>
<config>
<key>CONFIG_ARMV8_DEPRECATED</key>
<value type="bool">y</value>
</config>
<!--<config>
<key>CONFIG_CFI_CLANG</key>
<value type="bool">y</value>
</config>-->
<config>
<key>CONFIG_COMPAT</key>
<value type="bool">y</value>
</config>
<config>
<key>CONFIG_CP15_BARRIER_EMULATION</key>
<value type="bool">y</value>
</config>
<config>
<key>CONFIG_RANDOMIZE_BASE</key>
<value type="bool">y</value>
</config>
<config>
<key>CONFIG_SETEND_EMULATION</key>
<value type="bool">y</value>
</config>
<config>
<key>CONFIG_SHADOW_CALL_STACK</key>
<value type="bool">y</value>
</config>
<config>
<key>CONFIG_SWP_EMULATION</key>
<value type="bool">y</value>
</config>
<config>
<key>CONFIG_BPF_JIT_ALWAYS_ON</key>
<value type="bool">y</value>
</config>
<config>
<key>CONFIG_HAVE_MOVE_PMD</key>
<value type="bool">y</value>
</config>
<config>
<key>CONFIG_HAVE_MOVE_PUD</key>
<value type="bool">y</value>
</config>
<config>
<key>CONFIG_KFENCE</key>
<value type="bool">y</value>
</config>
<config>
<key>CONFIG_USERFAULTFD</key>
<value type="bool">y</value>
</config>
</group>
<!-- x86 base requirements -->
<group>
<conditions>
<config>
<key>CONFIG_X86</key>
<value type="bool">y</value>
</config>
</conditions>
<config>
<key>CONFIG_DEVKMEM</key>
<value type="bool">n</value>
</config>
<config>
<key>CONFIG_KFENCE</key>
<value type="bool">y</value>
</config>
<config>
<key>CONFIG_PAGE_TABLE_ISOLATION</key>
<value type="bool">y</value>
</config>
<config>
<key>CONFIG_RETPOLINE</key>
<value type="bool">y</value>
</config>
<config>
<key>CONFIG_HAVE_MOVE_PMD</key>
<value type="bool">y</value>
</config>
<config>
<key>CONFIG_HAVE_MOVE_PUD</key>
<value type="bool">y</value>
</config>
<config>
<key>CONFIG_RANDOMIZE_BASE</key>
<value type="bool">y</value>
</config>
<config>
<key>CONFIG_USERFAULTFD</key>
<value type="bool">y</value>
</config>
</group>
<!-- x86_64 base requirements -->
<group>
<conditions>
<config>
<key>CONFIG_X86_64</key>
<value type="bool">y</value>
</config>
</conditions>
<!--<config>
<key>CONFIG_CFI_CLANG</key>
<value type="bool">y</value>
</config>-->
<config>
<key>CONFIG_BPF_JIT_ALWAYS_ON</key>
<value type="bool">y</value>
</config>
</group>
<!-- CONFIG_ACPI || CONFIG_OF -->
<group>
<conditions>
<config>
<key>CONFIG_ACPI</key>
<value type="bool">n</value>
</config>
</conditions>
<config>
<key>CONFIG_OF</key>
<value type="bool">y</value>
</config>
</group>
<group>
<conditions>
<config>
<key>CONFIG_OF</key>
<value type="bool">n</value>
</config>
</conditions>
<config>
<key>CONFIG_ACPI</key>
<value type="bool">y</value>
</config>
</group>
<!-- EXT4 requirements -->
<group>
<conditions>
<config>
<key>CONFIG_EXT4_FS</key>
<value type="bool">y</value>
</config>
</conditions>
<config>
<key>CONFIG_EXT4_FS_POSIX_ACL</key>
<value type="bool">y</value>
</config>
</group>
<!-- F2FS requirements -->
<group>
<conditions>
<config>
<key>CONFIG_F2FS_FS</key>
<value type="bool">y</value>
</config>
</conditions>
<config>
<key>CONFIG_F2FS_FS_POSIX_ACL</key>
<value type="bool">y</value>
</config>
</group>
<!-- CONFIG_VMAP_STACK requirement -->
<group>
<conditions>
<config>
<key>CONFIG_HAVE_ARCH_VMAP_STACK</key>
<value type="bool">y</value>
</config>
<config>
<key>CONFIG_KASAN_SW_TAGS</key>
<value type="bool">n</value>
</config>
</conditions>
<config>
<key>CONFIG_VMAP_STACK</key>
<value type="bool">y</value>
</config>
</group>
<!-- CONFIG_INIT_STACK_ALL_ZERO requirement -->
<group>
<conditions>
<config>
<key>CONFIG_CC_HAS_AUTO_VAR_INIT_ZERO</key>
<value type="bool">y</value>
</config>
</conditions>
<config>
<key>CONFIG_INIT_STACK_ALL_ZERO</key>
<value type="bool">y</value>
</config>
</group>