xref: /kvm-unit-tests/arm/unittests.cfg (revision abdc5d02a7796a55802509ac9bb704c721f2a5f6)
1##############################################################################
2# unittest configuration
3#
4# arm specifics:
5#
6# file = <name>.flat            # arm uses .flat files
7# arch = arm|arm64
8##############################################################################
9
10#
11# Test that the configured number of processors (smp = <num>), and
12# that the configured amount of memory (-m <MB>) are correctly setup
13# by the framework.
14#
15[selftest-setup]
16file = selftest.flat
17smp = 2
18extra_params = -m 256 -append 'setup smp=2 mem=256'
19groups = selftest
20
21# Test vector setup and exception handling (kernel mode).
22[selftest-vectors-kernel]
23file = selftest.flat
24extra_params = -append 'vectors-kernel'
25groups = selftest
26
27# Test vector setup and exception handling (user mode).
28[selftest-vectors-user]
29file = selftest.flat
30extra_params = -append 'vectors-user'
31groups = selftest
32
33# Test SMP support
34[selftest-smp]
35file = selftest.flat
36smp = $MAX_SMP
37extra_params = -append 'smp'
38groups = selftest
39
40# Test PCI emulation
41[pci-test]
42file = pci-test.flat
43groups = pci
44
45# Test PMU support
46[pmu-cycle-counter]
47file = pmu.flat
48groups = pmu
49extra_params = -append 'cycle-counter 0'
50
51[pmu-event-introspection]
52file = pmu.flat
53groups = pmu
54arch = arm64
55extra_params = -append 'pmu-event-introspection'
56
57[pmu-event-counter-config]
58file = pmu.flat
59groups = pmu
60arch = arm64
61extra_params = -append 'pmu-event-counter-config'
62
63[pmu-basic-event-count]
64file = pmu.flat
65groups = pmu
66arch = arm64
67extra_params = -append 'pmu-basic-event-count'
68
69[pmu-mem-access]
70file = pmu.flat
71groups = pmu
72arch = arm64
73extra_params = -append 'pmu-mem-access'
74
75[pmu-mem-access-reliability]
76file = pmu.flat
77groups = pmu
78arch = arm64
79extra_params = -append 'pmu-mem-access-reliability'
80
81[pmu-sw-incr]
82file = pmu.flat
83groups = pmu
84arch = arm64
85extra_params = -append 'pmu-sw-incr'
86
87[pmu-chained-counters]
88file = pmu.flat
89groups = pmu
90arch = arm64
91extra_params = -append 'pmu-chained-counters'
92
93[pmu-chained-sw-incr]
94file = pmu.flat
95groups = pmu
96arch = arm64
97extra_params = -append 'pmu-chained-sw-incr'
98
99[pmu-chain-promotion]
100file = pmu.flat
101groups = pmu
102arch = arm64
103extra_params = -append 'pmu-chain-promotion'
104
105[pmu-overflow-interrupt]
106file = pmu.flat
107groups = pmu
108arch = arm64
109extra_params = -append 'pmu-overflow-interrupt'
110
111# Test PMU support (TCG) with -icount IPC=1
112#[pmu-tcg-icount-1]
113#file = pmu.flat
114#extra_params = -icount 0 -append 'cycle-counter 1'
115#groups = pmu
116#accel = tcg
117
118# Test PMU support (TCG) with -icount IPC=256
119#[pmu-tcg-icount-256]
120#file = pmu.flat
121#extra_params = -icount 8 -append 'cycle-counter 256'
122#groups = pmu
123#accel = tcg
124
125# Test GIC emulation
126[gicv2-ipi]
127file = gic.flat
128smp = $((($MAX_SMP < 8)?$MAX_SMP:8))
129extra_params = -machine gic-version=2 -append 'ipi'
130groups = gic
131
132[gicv2-mmio]
133file = gic.flat
134smp = $((($MAX_SMP < 8)?$MAX_SMP:8))
135extra_params = -machine gic-version=2 -append 'mmio'
136groups = gic
137
138[gicv2-mmio-up]
139file = gic.flat
140smp = 1
141extra_params = -machine gic-version=2 -append 'mmio'
142groups = gic
143
144[gicv2-mmio-3p]
145file = gic.flat
146smp = $((($MAX_SMP < 3)?$MAX_SMP:3))
147extra_params = -machine gic-version=2 -append 'mmio'
148groups = gic
149
150[gicv3-ipi]
151file = gic.flat
152smp = $MAX_SMP
153extra_params = -machine gic-version=3 -append 'ipi'
154groups = gic
155
156[gicv2-active]
157file = gic.flat
158smp = $((($MAX_SMP < 8)?$MAX_SMP:8))
159extra_params = -machine gic-version=2 -append 'active'
160groups = gic
161
162[gicv3-active]
163file = gic.flat
164smp = $MAX_SMP
165extra_params = -machine gic-version=3 -append 'active'
166groups = gic
167
168[its-introspection]
169file = gic.flat
170smp = $MAX_SMP
171extra_params = -machine gic-version=3 -append 'its-introspection'
172groups = its
173arch = arm64
174
175[its-trigger]
176file = gic.flat
177smp = $MAX_SMP
178extra_params = -machine gic-version=3 -append 'its-trigger'
179groups = its
180arch = arm64
181
182[its-migration]
183file = gic.flat
184smp = $MAX_SMP
185extra_params = -machine gic-version=3 -append 'its-migration'
186groups = its migration
187arch = arm64
188
189[its-pending-migration]
190file = gic.flat
191smp = $MAX_SMP
192extra_params = -machine gic-version=3 -append 'its-pending-migration'
193groups = its migration
194arch = arm64
195
196[its-migrate-unmapped-collection]
197file = gic.flat
198smp = $MAX_SMP
199extra_params = -machine gic-version=3 -append 'its-migrate-unmapped-collection'
200groups = its migration
201arch = arm64
202
203# Test PSCI emulation
204[psci]
205file = psci.flat
206smp = $MAX_SMP
207groups = psci
208
209# Timer tests
210[timer]
211file = timer.flat
212groups = timer
213timeout = 10s
214arch = arm64
215
216# Exit tests
217[micro-bench]
218file = micro-bench.flat
219smp = 2
220groups = nodefault micro-bench
221accel = kvm
222arch = arm64
223
224# Cache emulation tests
225[cache]
226file = cache.flat
227arch = arm64
228groups = cache
229
230# Debug tests
231[debug-bp]
232file = debug.flat
233arch = arm64
234extra_params = -append 'bp'
235groups = debug
236
237[debug-bp-migration]
238file = debug.flat
239arch = arm64
240extra_params = -append 'bp-migration'
241groups = debug migration
242
243[debug-wp]
244file = debug.flat
245arch = arm64
246extra_params = -append 'wp'
247groups = debug
248
249[debug-wp-migration]
250file = debug.flat
251arch = arm64
252extra_params = -append 'wp-migration'
253groups = debug migration
254
255[debug-sstep]
256file = debug.flat
257arch = arm64
258extra_params = -append 'ss'
259groups = debug
260
261[debug-sstep-migration]
262file = debug.flat
263arch = arm64
264extra_params = -append 'ss-migration'
265groups = debug migration
266
267# FPU/SIMD test
268[fpu-context]
269file = fpu.flat
270smp = 2
271groups = nodefault
272accel = kvm
273arch = arm64
274
275# MTE tests
276[mte-sync]
277file = mte.flat
278groups = mte
279extra_params = -machine mte=on -append 'sync'
280arch = arm64
281
282[mte-async]
283file = mte.flat
284groups = mte
285extra_params = -machine mte=on -append 'async'
286arch = arm64
287
288[mte-asymm]
289file = mte.flat
290groups = mte
291extra_params = -machine mte=on -append 'asymm'
292arch = arm64
293