1<kernel minlts="5.15.0" />
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_CFI_CLANG</key>
52		<value type="bool">y</value>
53	</config>-->
54	<config>
55		<key>CONFIG_COMPAT</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_RANDOMIZE_BASE</key>
64		<value type="bool">y</value>
65	</config>
66	<config>
67		<key>CONFIG_SETEND_EMULATION</key>
68		<value type="bool">y</value>
69	</config>
70	<config>
71		<key>CONFIG_SHADOW_CALL_STACK</key>
72		<value type="bool">y</value>
73	</config>
74	<config>
75		<key>CONFIG_SWP_EMULATION</key>
76		<value type="bool">y</value>
77	</config>
78	<config>
79		<key>CONFIG_BPF_JIT_ALWAYS_ON</key>
80		<value type="bool">y</value>
81	</config>
82	<config>
83		<key>CONFIG_HAVE_MOVE_PMD</key>
84		<value type="bool">y</value>
85	</config>
86	<config>
87		<key>CONFIG_HAVE_MOVE_PUD</key>
88		<value type="bool">y</value>
89	</config>
90	<config>
91		<key>CONFIG_KFENCE</key>
92		<value type="bool">y</value>
93	</config>
94	<config>
95		<key>CONFIG_USERFAULTFD</key>
96		<value type="bool">y</value>
97	</config>
98</group>
99
100<!-- x86 base requirements -->
101<group>
102	<conditions>
103		<config>
104			<key>CONFIG_X86</key>
105			<value type="bool">y</value>
106		</config>
107	</conditions>
108	<config>
109		<key>CONFIG_DEVKMEM</key>
110		<value type="bool">n</value>
111	</config>
112	<config>
113		<key>CONFIG_KFENCE</key>
114		<value type="bool">y</value>
115	</config>
116	<config>
117		<key>CONFIG_PAGE_TABLE_ISOLATION</key>
118		<value type="bool">y</value>
119	</config>
120	<config>
121		<key>CONFIG_RETPOLINE</key>
122		<value type="bool">y</value>
123	</config>
124	<config>
125		<key>CONFIG_HAVE_MOVE_PMD</key>
126		<value type="bool">y</value>
127	</config>
128	<config>
129		<key>CONFIG_HAVE_MOVE_PUD</key>
130		<value type="bool">y</value>
131	</config>
132	<config>
133		<key>CONFIG_RANDOMIZE_BASE</key>
134		<value type="bool">y</value>
135	</config>
136	<config>
137		<key>CONFIG_USERFAULTFD</key>
138		<value type="bool">y</value>
139	</config>
140</group>
141
142<!-- x86_64 base requirements -->
143<group>
144	<conditions>
145		<config>
146			<key>CONFIG_X86_64</key>
147			<value type="bool">y</value>
148		</config>
149	</conditions>
150	<!--<config>
151		<key>CONFIG_CFI_CLANG</key>
152		<value type="bool">y</value>
153	</config>-->
154	<config>
155		<key>CONFIG_BPF_JIT_ALWAYS_ON</key>
156		<value type="bool">y</value>
157	</config>
158</group>
159
160<!-- CONFIG_ACPI || CONFIG_OF -->
161<group>
162	<conditions>
163		<config>
164			<key>CONFIG_ACPI</key>
165			<value type="bool">n</value>
166		</config>
167	</conditions>
168	<config>
169		<key>CONFIG_OF</key>
170		<value type="bool">y</value>
171	</config>
172</group>
173<group>
174	<conditions>
175		<config>
176			<key>CONFIG_OF</key>
177			<value type="bool">n</value>
178		</config>
179	</conditions>
180	<config>
181		<key>CONFIG_ACPI</key>
182		<value type="bool">y</value>
183	</config>
184</group>
185
186<!-- EXT4 requirements -->
187<group>
188	<conditions>
189		<config>
190			<key>CONFIG_EXT4_FS</key>
191			<value type="bool">y</value>
192		</config>
193	</conditions>
194	<config>
195		<key>CONFIG_EXT4_FS_POSIX_ACL</key>
196		<value type="bool">y</value>
197	</config>
198</group>
199
200<!-- F2FS requirements -->
201<group>
202	<conditions>
203		<config>
204			<key>CONFIG_F2FS_FS</key>
205			<value type="bool">y</value>
206		</config>
207	</conditions>
208	<config>
209		<key>CONFIG_F2FS_FS_POSIX_ACL</key>
210		<value type="bool">y</value>
211	</config>
212</group>
213
214<!-- CONFIG_VMAP_STACK requirement -->
215<group>
216	<conditions>
217		<config>
218			<key>CONFIG_HAVE_ARCH_VMAP_STACK</key>
219			<value type="bool">y</value>
220		</config>
221		<config>
222			<key>CONFIG_KASAN_SW_TAGS</key>
223			<value type="bool">n</value>
224		</config>
225	</conditions>
226	<config>
227		<key>CONFIG_VMAP_STACK</key>
228		<value type="bool">y</value>
229	</config>
230</group>
231
232<!-- CONFIG_INIT_STACK_ALL_ZERO requirement -->
233<group>
234	<conditions>
235		<config>
236			<key>CONFIG_CC_HAS_AUTO_VAR_INIT_ZERO</key>
237			<value type="bool">y</value>
238		</config>
239	</conditions>
240	<config>
241		<key>CONFIG_INIT_STACK_ALL_ZERO</key>
242		<value type="bool">y</value>
243	</config>
244</group>