@zygoon @hrw are the #amazon #aws images expecting a particular machine configuration or are they generally #sbsa compliant? The #graviton chips are essentially #neoverse cores underneath and we model them in TCG.
I found out that SBSA Reference Platform while used with Neoverse-N2/max cpu **nearly** passes BSA/SBSA ACS for SBSA level 3.
Other cores lack Secure-EL2 feature so they fail at BSA test 304/352 (check for Secure-EL2 or stage1/stage2 support in SMMU).
QEMU can emulate stage1 or stage2 support but not both at same time.
UPDATE: after manual checks turned out that lack of system timers sneaked under my radar. B_WAK_06/07/10/11 tests fail.
RISC-V community wonders which way to with emulation. I hope that they follow AArch64 steps:
- virt for virtualization in cloud etc
- sbsa-ref for reference platform
'tech-brs' ML requires RISC-V member access to subscribe.
https://lists.riscv.org/g/tech-brs/topic/reference_implementation/102622549
I have added column showing SBSA Reference Platform (sbsa-ref) status to https://marcin.juszkiewicz.com.pl/download/tables/bsa-sbsa.html page.
It has all (S)BSA requirements listed with ACS test numbers added.
Last week was BSD on SBSA Reference Platform week.
I did FreeBSD and found one bug in QEMU, and it looks like one backport from FreeBSD 14 to 13.x will be needed.
NetBSD 9 may get backport from 10 to make it boot at all.
OpenBSD 7.3 went smooth. Once I updated firmware.
https://marcin.juszkiewicz.com.pl/2023/10/03/testing-bsd-on-sbsa-reference-platform/
#qemu #openbsd #netbsd #freebsd #aarch64 #virtualization #sbsa