On Fri, Sep 15, 2023 at 10:37:31PM +0200, Marcin Juszkiewicz wrote:
W dniu 15.09.2023 o 18:21, Jean-Philippe Brucker via TF-A pisze:
Hello,
QEMU 8.1 added support for FEAT_RME. It is experimental, enabled with '-cpu max,x-rme=on', and requires fixes that will be available in QEMU 8.2. I'm working on adding support to TF-A and TF-RMM.
I just submitted some TF-A patches for review (topic qemu-rme) that enable the feature for the virt platform, and intend to send the necessary changes for TF-RMM within a week or so. Without RMM, the Test Realm Payload is included into the FIP for light testing.
After the TF-A and TF-RMM changes, I'd like to add support for the SBSA platform as well, which should be a relatively small change once the common QEMU support is merged.
Please include me during reviewing patches. Especially for SBSA Reference Platform.
Sure
Running QEMU, for example:
qemu-system-aarch64 -cpu max,x-rme=on,sme=off -m 3G -smp 8 -M virt,gic-version=3,virtualization=on,secure=on,acpi=off -bios flash.bin -kernel linux/arch/arm64/boot/Image -initrd path/to/initrd -append console=ttyAMA0 -nographic
Can you also try with EDK2 running, not only bare kernel/initrd?
Edk2 is embedded into flash.bin, but I haven't tried direct kernel boot yet, adding that to my list.
Thanks, Jean