xref: /aosp_15_r20/kernel/configs/r/android-5.4/android-base-conditional.xml (revision 1d3556b860e096874ddca674556f5d20fb3a73b0)
1<kernel minlts="5.4.61" />
2
3<!-- KEEP ALPHABETICALLY SORTED -->
4<!-- ARM base requirements -->
5<group>
6	<conditions>
7		<config>
8			<key>CONFIG_ARM</key>
9			<value type="bool">y</value>
10		</config>
11	</conditions>
12	<config>
13		<key>CONFIG_AEABI</key>
14		<value type="bool">y</value>
15	</config>
16	<config>
17		<key>CONFIG_CPU_SW_DOMAIN_PAN</key>
18		<value type="bool">y</value>
19	</config>
20	<config>
21		<key>CONFIG_DEVKMEM</key>
22		<value type="bool">n</value>
23	</config>
24	<config>
25		<key>CONFIG_OABI_COMPAT</key>
26		<value type="bool">n</value>
27	</config>
28</group>
29
30<!-- ARM64 base requirements -->
31<group>
32	<conditions>
33		<config>
34			<key>CONFIG_ARM64</key>
35			<value type="bool">y</value>
36		</config>
37	</conditions>
38	<config>
39		<key>CONFIG_ARM64_PAN</key>
40		<value type="bool">y</value>
41	</config>
42	<config>
43		<key>CONFIG_ARM64_SW_TTBR0_PAN</key>
44		<value type="bool">y</value>
45	</config>
46	<config>
47		<key>CONFIG_ARMV8_DEPRECATED</key>
48		<value type="bool">y</value>
49	</config>
50	<config>
51		<key>CONFIG_COMPAT</key>
52		<value type="bool">y</value>
53	</config>
54	<config>
55		<key>CONFIG_CFI_CLANG</key>
56		<value type="bool">y</value>
57	</config>
58	<config>
59		<key>CONFIG_CP15_BARRIER_EMULATION</key>
60		<value type="bool">y</value>
61	</config>
62	<config>
63		<key>CONFIG_SETEND_EMULATION</key>
64		<value type="bool">y</value>
65	</config>
66	<config>
67		<key>CONFIG_SHADOW_CALL_STACK</key>
68		<value type="bool">y</value>
69	</config>
70	<config>
71		<key>CONFIG_SWP_EMULATION</key>
72		<value type="bool">y</value>
73	</config>
74	<config>
75		<key>CONFIG_BPF_JIT_ALWAYS_ON</key>
76		<value type="bool">y</value>
77	</config>
78</group>
79
80<!-- x86 base requirements -->
81<group>
82	<conditions>
83		<config>
84			<key>CONFIG_X86</key>
85			<value type="bool">y</value>
86		</config>
87	</conditions>
88	<config>
89		<key>CONFIG_DEVKMEM</key>
90		<value type="bool">n</value>
91	</config>
92	<config>
93		<key>CONFIG_PAGE_TABLE_ISOLATION</key>
94		<value type="bool">y</value>
95	</config>
96	<config>
97		<key>CONFIG_RETPOLINE</key>
98		<value type="bool">y</value>
99	</config>
100	<config>
101		<key>CONFIG_BPF_JIT_ALWAYS_ON</key>
102		<value type="bool">y</value>
103	</config>
104</group>
105
106<!-- x86_64 base requirements -->
107<group>
108	<conditions>
109		<config>
110			<key>CONFIG_X86_64</key>
111			<value type="bool">y</value>
112		</config>
113	</conditions>
114	<config>
115		<key>CONFIG_CFI_CLANG</key>
116		<value type="bool">y</value>
117	</config>
118</group>
119
120<!-- CONFIG_ACPI || CONFIG_OF -->
121<group>
122	<conditions>
123		<config>
124			<key>CONFIG_ACPI</key>
125			<value type="bool">n</value>
126		</config>
127	</conditions>
128	<config>
129		<key>CONFIG_OF</key>
130		<value type="bool">y</value>
131	</config>
132</group>
133<group>
134	<conditions>
135		<config>
136			<key>CONFIG_OF</key>
137			<value type="bool">n</value>
138		</config>
139	</conditions>
140	<config>
141		<key>CONFIG_ACPI</key>
142		<value type="bool">y</value>
143	</config>
144</group>
145
146<!-- EXT4 requirements -->
147<group>
148	<conditions>
149		<config>
150			<key>CONFIG_EXT4_FS</key>
151			<value type="bool">y</value>
152		</config>
153	</conditions>
154	<config>
155		<key>CONFIG_EXT4_FS_POSIX_ACL</key>
156		<value type="bool">y</value>
157	</config>
158</group>
159
160<!-- F2FS requirements -->
161<group>
162	<conditions>
163		<config>
164			<key>CONFIG_F2FS_FS</key>
165			<value type="bool">y</value>
166		</config>
167	</conditions>
168	<config>
169		<key>CONFIG_F2FS_FS_POSIX_ACL</key>
170		<value type="bool">y</value>
171	</config>
172</group>
173