Searched full:sbi (Results 1 – 21 of 21) sorted by relevance
/kvm-unit-tests/riscv/ |
H A D | unittests.cfg | 16 # Set $FIRMWARE_OVERRIDE to /path/to/firmware to select the SBI implementation. 17 [sbi] 18 file = sbi.flat 20 groups = sbi 24 groups = isa sbi
|
H A D | Makefile | 14 tests += $(TEST_DIR)/sbi.$(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) 46 cflatobjs += lib/riscv/sbi.o 52 cflatobjs += lib/riscv/sbi-sse-asm.o 97 asm-offsets = lib/riscv/asm-offsets.h riscv/sbi-asm-offsets.h
|
H A D | sbi-asm.S | 3 * Helper assembly code routines for RISC-V SBI extension tests. 10 #include <generated/sbi-asm-offsets.h> 12 #include "sbi-tests.h" 18 * a0 and a1 are set by SBI HSM start/suspend 98 * State is as specified by "SUSP System Resume Register State" of the SBI spec
|
H A D | sbi-tests.h | 40 #include <asm/sbi.h> 73 sbiret_report(ret, expected_error, expected_value, "check sbi.error and sbi.value") 82 sbiret_kfail(kfail, ret, expected_error, expected_value, "check sbi.error and sbi.value")
|
H A D | isa-dbltrp.c | 3 * SBI verification 16 #include <asm/sbi.h> 18 #include <sbi-tests.h> 101 * Generate a double crash so that an SSE event should be generated. The SPEC (ISA nor SBI) in sse_double_trap()
|
H A D | sbi-asm-offsets.c | 3 #include <asm/sbi.h>
|
H A D | sbi-fwft.c | 3 * SBI verification 16 #include <asm/sbi.h> 18 #include "sbi-tests.h" 185 * Even though the SBI delegated the misaligned exception to S-mode, it might not trap on in fwft_check_misaligned_exc_deleg()
|
H A D | sbi.c | 3 * SBI verification 26 #include <asm/sbi.h> 31 #include "sbi-tests.h" 45 puts("Test SBI\n"); in help() 178 assert_msg(!(expected & BIT(31)), "SBI spec version bit 31 must be zero"); in check_base() 179 …assert_msg(__riscv_xlen == 32 || !(expected >> 32), "SBI spec version bits greater than 31 must be… in check_base() 187 report_skip("SBI spec version 0.2 or higher required"); in check_base() 1174 report_info("%d sbi calls made", num_calls); in dbcn_write_test() 1524 if (!report(ret.error == params.ret.error, "got expected sbi.error (%ld)", params.ret.error)) in check_susp() 1525 report_info("expected sbi.error %ld, received %ld", params.ret.error, ret.error); in check_susp() [all …]
|
H A D | sbi-dbtr.c | 3 * SBI DBTR testsuite 14 #include "sbi-tests.h" 122 /* SBI shared mem messages layout */
|
H A D | sbi-sse.c | 3 * SBI SSE testsuite 20 #include <asm/sbi.h> 24 #include "sbi-tests.h" 251 * Preferred hart reset value is defined by SBI vendor in sse_test_attrs()
|
H A D | cstart.S | 154 * From the "HSM Hart Start Register State" table of the SBI spec:
|
/kvm-unit-tests/ |
H A D | .gitlab-ci.yml | 193 sbi 206 sbi 221 sbi 234 sbi 249 sbi 264 sbi
|
H A D | configure | 134 sbi Use SBI DBCN (riscv only) 552 [ "$console" = "sbi" ] && echo "#define CONFIG_SBI_CONSOLE" >> lib/config.h
|
/kvm-unit-tests/lib/riscv/asm/ |
H A D | sbi.h | 34 /* SBI spec version fields */ 142 /* SBI SSE Event Attributes. */ 177 /* SBI SSE Event IDs. */
|
/kvm-unit-tests/lib/riscv/ |
H A D | sbi.c | 6 #include <asm/sbi.h> 133 puts("SBI shutdown failed!\n"); in sbi_shutdown()
|
H A D | timer.c | 11 #include <asm/sbi.h>
|
H A D | smp.c | 15 #include <asm/sbi.h>
|
H A D | asm-offsets.c | 6 #include <asm/sbi.h>
|
H A D | sbi-sse-asm.S | 10 #include <generated/sbi-asm-offsets.h>
|
H A D | io.c | 13 #include <asm/sbi.h>
|
H A D | setup.c | 22 #include <asm/sbi.h>
|