Home
last modified time | relevance | path

Searched +full:selftest +full:- +full:smp (Results 1 – 12 of 12) sorted by relevance

/kvm-unit-tests/powerpc/
H A Dunittests.cfg11 # Test that the configured number of processors (smp = <num>), and
12 # that the configured amount of memory (-m <MB>) are correctly setup
15 [selftest-setup]
16 file = selftest.elf
17 smp = 2
18 test_args = 'setup smp=2 mem=1024'
19 qemu_params = -m 1g
20 groups = selftest
22 [selftest-migration]
23 file = selftest-migration.elf
[all …]
H A Dselftest.c11 #include <asm/smp.h>
21 if (len == -1) in check_setup()
29 phys_addr_t memsize = PHYSICAL_END - PHYSICAL_START; in check_setup()
36 } else if (strcmp(argv[i], "smp") == 0) { in check_setup()
52 report_prefix_push("selftest"); in main()
61 check_setup(argc-2, &argv[2]); in main()
H A DMakefile.common7 tests-common = \
8 $(TEST_DIR)/selftest.elf \
9 $(TEST_DIR)/selftest-migration.elf \
10 $(TEST_DIR)/memory-verify.elf \
17 $(TEST_DIR)/smp.elf \
23 tests-all = $(tests-common) $(tests)
24 all: directories $(TEST_DIR)/boot_rom.bin $(tests-all)
28 mabi_no_altivec := $(call cc-option,-mabi=no-altivec,"")
30 CFLAGS += -std=gnu99
31 CFLAGS += -ffreestanding
[all …]
/kvm-unit-tests/arm/
H A Dunittests.cfg11 # Test that the configured number of processors (smp = <num>), and
12 # that the configured amount of memory (-m <MB>) are correctly setup
15 [selftest-setup]
16 file = selftest.flat
17 smp = 2
18 test_args = 'setup smp=2 mem=256'
19 qemu_params = -m 256
20 kvmtool_params = --mem 256
21 groups = selftest
24 [selftest-vectors-kernel]
[all …]
H A DMakefile.common7 tests-common = $(TEST_DIR)/selftest.$(exe)
8 tests-common += $(TEST_DIR)/spinlock-test.$(exe)
9 tests-common += $(TEST_DIR)/pci-test.$(exe)
10 tests-common += $(TEST_DIR)/pmu.$(exe)
11 tests-common += $(TEST_DIR)/gic.$(exe)
12 tests-common += $(TEST_DIR)/psci.$(exe)
13 tests-common += $(TEST_DIR)/sieve.$(exe)
14 tests-common += $(TEST_DIR)/pl031.$(exe)
15 tests-common += $(TEST_DIR)/dummy.$(exe)
17 tests-all = $(tests-common) $(tests)
[all …]
H A Dselftest.c15 #include <asm/asm-offsets.h>
19 #include <asm/smp.h>
40 if (len == -1) in check_setup()
48 phys_addr_t memsize = PHYS_END - PHYS_OFFSET; in check_setup()
56 } else if (strcmp(argv[i], "smp") == 0) { in check_setup()
87 for (r = mem_regions; r->end; ++r) { in check_pabt_init()
88 if (r->flags & MR_F_IO) in check_pabt_init()
90 if (r->end > highest_end) in check_pabt_init()
91 highest_end = PAGE_ALIGN(r->end); in check_pabt_init()
98 mmu_clear_user(current_thread_info()->pgtable, vaddr); in check_pabt_init()
[all …]
/kvm-unit-tests/
H A D.gitlab-ci.yml4 - dnf update -y
5 - dnf install -y make python
15 - logs
23 - build/logs
25 build-aarch64:
28 - dnf install -y qemu-system-aarch64 gcc-aarch64-linux-gnu
29 - ./configure --arch=aarch64 --cross-prefix=aarch64-linux-gnu-
30 - make -j2
31 - ACCEL=tcg MAX_SMP=8 ./run_tests.sh
33 debug-bp
[all …]
/kvm-unit-tests/riscv/
H A Dunittests.cfg10 [selftest]
11 file = selftest.flat
12 smp = $MAX_SMP
14 groups = selftest
19 smp = $MAX_SMP
23 file = isa-dbltrp.flat
H A Dselftest.c1 // SPDX-License-Identifier: GPL-2.0-only
9 #include <on-cpus.h>
12 #include <asm/smp.h>
27 regs->epc += 2; in handler()
70 report_prefix_push("selftest"); in main()
72 report(!strncmp(argv[0], "selftest", 8), "program name"); in main()
80 report_info("matched %d command line parameters", argc - 1); in main()
H A DMakefile15 tests += $(TEST_DIR)/selftest.$(exe)
17 tests += $(TEST_DIR)/isa-dbltrp.$(exe)
21 $(TEST_DIR)/sbi-deps += $(TEST_DIR)/sbi-asm.o
22 $(TEST_DIR)/sbi-deps += $(TEST_DIR)/sbi-dbtr.o
23 $(TEST_DIR)/sbi-deps += $(TEST_DIR)/sbi-fwft.o
24 $(TEST_DIR)/sbi-deps += $(TEST_DIR)/sbi-sse.o
26 all_deps += $($(TEST_DIR)/sbi-deps)
28 # When built for EFI sieve needs extra memory, run with e.g. '-m 256' on QEMU
38 cflatobjs += lib/on-cpus.o
49 cflatobjs += lib/riscv/smp.o
[all …]
/kvm-unit-tests/s390x/
H A Dunittests.cfg9 [selftest-setup]
10 file = selftest.elf
11 groups = selftest
12 # please keep the kernel cmdline in sync with $(TEST_DIR)/selftest.parmfile
15 [selftest-migration]
16 file = selftest-migration.elf
17 groups = selftest migration
19 # https://lore.kernel.org/qemu-devel/20240219061731.232570-1-npiggin@gmail.com/
22 [selftest-migration-skip]
23 file = selftest-migration.elf
[all …]
H A DMakefile1 tests = $(TEST_DIR)/selftest.elf
2 tests += $(TEST_DIR)/selftest-migration.elf
3 tests += $(TEST_DIR)/memory-verify.elf
21 tests += $(TEST_DIR)/smp.elf
25 tests += $(TEST_DIR)/uv-guest.elf
28 tests += $(TEST_DIR)/uv-host.elf
30 tests += $(TEST_DIR)/mvpg-sie.elf
31 tests += $(TEST_DIR)/spec_ex-sie.elf
35 tests += $(TEST_DIR)/adtl-status.elf
37 tests += $(TEST_DIR)/pv-attest.elf
[all …]