blob: ba664a76a8158ef9e664cfcebfea3e29fdc93ecd [file] [log] [blame]
Aaron Kling38af4392024-05-13 13:02:27 -05001<kernel minlts="4.9.141" />
LuK1337c49acec2023-10-22 10:26:25 +02002
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_OABI_COMPAT</key>
22 <value type="bool">n</value>
23 </config>
24</group>
25
26<!-- ARM64 base requirements -->
27<group>
28 <conditions>
29 <config>
30 <key>CONFIG_ARM64</key>
31 <value type="bool">y</value>
32 </config>
33 </conditions>
34 <config>
35 <key>CONFIG_ARM64_SW_TTBR0_PAN</key>
36 <value type="bool">y</value>
37 </config>
38 <config>
39 <key>CONFIG_ARMV8_DEPRECATED</key>
40 <value type="bool">y</value>
41 </config>
42 <config>
43 <key>CONFIG_COMPAT</key>
44 <value type="bool">y</value>
45 </config>
46 <config>
47 <key>CONFIG_CP15_BARRIER_EMULATION</key>
48 <value type="bool">y</value>
49 </config>
50 <config>
51 <key>CONFIG_SETEND_EMULATION</key>
52 <value type="bool">y</value>
53 </config>
54 <config>
55 <key>CONFIG_SWP_EMULATION</key>
56 <value type="bool">y</value>
57 </config>
58</group>
59
60<!-- x86 base requirements -->
61<group>
62 <conditions>
63 <config>
64 <key>CONFIG_X86</key>
65 <value type="bool">y</value>
66 </config>
67 </conditions>
68 <config>
69 <key>CONFIG_PAGE_TABLE_ISOLATION</key>
70 <value type="bool">y</value>
71 </config>
72 <config>
73 <key>CONFIG_RETPOLINE</key>
74 <value type="bool">y</value>
75 </config>
76</group>
77
78<!-- CONFIG_ACPI || CONFIG_OF -->
79<group>
80 <conditions>
81 <config>
82 <key>CONFIG_ACPI</key>
83 <value type="bool">n</value>
84 </config>
85 </conditions>
86 <config>
87 <key>CONFIG_OF</key>
88 <value type="bool">y</value>
89 </config>
90</group>
91<group>
92 <conditions>
93 <config>
94 <key>CONFIG_OF</key>
95 <value type="bool">n</value>
96 </config>
97 </conditions>
98 <config>
99 <key>CONFIG_ACPI</key>
100 <value type="bool">y</value>
101 </config>
102</group>
103
104<!-- CONFIG_ANDROID_LOW_MEMORY_KILLER || (CONFIG_MEMCG && CONFIG_MEMCG_SWAP) -->
105<group>
106 <conditions>
107 <config>
108 <key>CONFIG_ANDROID_LOW_MEMORY_KILLER</key>
109 <value type="bool">n</value>
110 </config>
111 </conditions>
112 <config>
113 <key>CONFIG_MEMCG</key>
114 <value type="bool">y</value>
115 </config>
116 <config>
117 <key>CONFIG_MEMCG_SWAP</key>
118 <value type="bool">y</value>
119 </config>
120</group>
121<group>
122 <conditions>
123 <config>
124 <key>CONFIG_MEMCG</key>
125 <value type="bool">n</value>
126 </config>
127 </conditions>
128 <config>
129 <key>CONFIG_ANDROID_LOW_MEMORY_KILLER</key>
130 <value type="bool">y</value>
131 </config>
132</group>
133<group>
134 <conditions>
135 <config>
136 <key>CONFIG_MEMCG_SWAP</key>
137 <value type="bool">n</value>
138 </config>
139 </conditions>
140 <config>
141 <key>CONFIG_ANDROID_LOW_MEMORY_KILLER</key>
142 <value type="bool">y</value>
143 </config>
144</group>
145