#
69574079 |
| 22-Mar-2025 |
Andrew Jones <andrew.jones@linux.dev> |
Merge branch 'riscv/sbi' into 'master'
riscv: SBI SSE tests and baremetal boot support
See merge request kvm-unit-tests/kvm-unit-tests!75
|
#
e2c824fe |
| 17-Mar-2025 |
Clément Léger <cleger@rivosinc.com> |
riscv: Use asm-offsets to generate SBI_EXT_HSM values
Replace hardcoded values with generated ones using sbi-asm-offset. This allows to directly use ASM_SBI_EXT_HSM and ASM_SBI_EXT_HSM_STOP in assem
riscv: Use asm-offsets to generate SBI_EXT_HSM values
Replace hardcoded values with generated ones using sbi-asm-offset. This allows to directly use ASM_SBI_EXT_HSM and ASM_SBI_EXT_HSM_STOP in assembly.
Signed-off-by: Clément Léger <cleger@rivosinc.com> Reviewed-by: Andrew Jones <andrew.jones@linux.dev> Signed-off-by: Andrew Jones <andrew.jones@linux.dev>
show more ...
|
#
0cc3a351 |
| 22-Feb-2025 |
Sean Christopherson <seanjc@google.com> |
lib: Use __ASSEMBLER__ instead of __ASSEMBLY__
Convert all non-x86 #ifdefs from __ASSEMBLY__ to __ASSEMBLER__, and remove all manual __ASSEMBLY__ #defines. __ASSEMBLY_ was inherited blindly from th
lib: Use __ASSEMBLER__ instead of __ASSEMBLY__
Convert all non-x86 #ifdefs from __ASSEMBLY__ to __ASSEMBLER__, and remove all manual __ASSEMBLY__ #defines. __ASSEMBLY_ was inherited blindly from the Linux kernel, and must be manually defined, e.g. through build rules or with the aforementioned explicit #defines in assembly code.
__ASSEMBLER__ on the other hand is automatically defined by the compiler when preprocessing assembly, i.e. doesn't require manually #defines for the code to function correctly.
Ignore x86, as x86 doesn't actually rely on __ASSEMBLY__ at the moment, and is undergoing a parallel cleanup.
Signed-off-by: Sean Christopherson <seanjc@google.com> Reviewed-by: Andrew Jones <andrew.jones@linux.dev> Message-ID: <20250222014526.2302653-1-seanjc@google.com> [thuth: Fix three more occurances in libfdt.h and sbi-tests.h] Signed-off-by: Thomas Huth <thuth@redhat.com>
show more ...
|
#
1c49a812 |
| 11-Nov-2024 |
Andrew Jones <andrew.jones@linux.dev> |
Merge branch 'riscv/sbi' into 'master'
riscv: Added SBI tests for IPI, SUSP, and HSM
See merge request kvm-unit-tests/kvm-unit-tests!70
|
#
afd2cae5 |
| 11-Nov-2024 |
James Raphael Tiovalen <jamestiotio@gmail.com> |
riscv: sbi: Add tests for HSM extension
Add some tests for all of the HSM extension functions. These tests ensure that the HSM extension functions follow the behavior as described in the SBI specifi
riscv: sbi: Add tests for HSM extension
Add some tests for all of the HSM extension functions. These tests ensure that the HSM extension functions follow the behavior as described in the SBI specification.
Signed-off-by: James Raphael Tiovalen <jamestiotio@gmail.com> [Made the changes requested in the last review.] Signed-off-by: Andrew Jones <andrew.jones@linux.dev>
show more ...
|
#
2ffe016f |
| 18-Oct-2024 |
Andrew Jones <andrew.jones@linux.dev> |
riscv: sbi: Add SUSP tests
Introduce tests for SBI system suspend. The basic test makes sure it works and other tests make sure it fails as expected with invalid entry criteria.
To test on QEMU or
riscv: sbi: Add SUSP tests
Introduce tests for SBI system suspend. The basic test makes sure it works and other tests make sure it fails as expected with invalid entry criteria.
To test on QEMU or hardware the firmware needs to support system suspend. For QEMU, OpenSBI can be told to enable its system suspend test mode by creating a new DTB which has
opensbi-config { compatible = "opensbi,config"; system-suspend-test; };
added to the 'chosen' node. Then, run with '-dtb susp.dtb'.
Signed-off-by: Andrew Jones <andrew.jones@linux.dev>
show more ...
|
#
661fe480 |
| 12-Sep-2024 |
James Raphael Tiovalen <jamestiotio@gmail.com> |
riscv: sbi: Prepare for assembly entry points
The HSM tests will need to test HSM start and resumption from HSM suspend. Prepare for these tests, as well other tests, such as the SUSP resume tests,
riscv: sbi: Prepare for assembly entry points
The HSM tests will need to test HSM start and resumption from HSM suspend. Prepare for these tests, as well other tests, such as the SUSP resume tests, by providing an assembly file for SBI tests.
Signed-off-by: James Raphael Tiovalen <jamestiotio@gmail.com> Signed-off-by: Andrew Jones <andrew.jones@linux.dev>
show more ...
|