platform_kernel_configs/v/android-6.1/android-base-conditional.xml

245 lines
4.7 KiB
XML
Raw Normal View History

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