Hi,
Thanks for reporting. Just for your information, until then, the SPMC has mostly (if not only) been tested on FVP at our end. Using qemu is new to us, but your finding is interesting.
Can you provide a bit more on the setup you use. Here are my guesses:
1. secure world runs hafnium at S-EL2, OP-TEE at S-EL1. Which OP-TEE version are you using? 2. normal world runs vanilla linux at NS-EL1 with FF-A kconfig option enabled. Is a hypervisor present at NS-EL2? 3. OP-TEE uses the optee build generated rootfs (incl. xtest, client lib. etc)?
About 1., can you provide build options used for building OP-TEE? In particular you need to make sure the CFG_CORE_SEL2_SPMC=y is specified. I'm also envisioning GIC support either needs changes or dedicated command line options.
Regards, Olivier.
________________________________ From: shiju.jose--- via Hafnium hafnium@lists.trustedfirmware.org Sent: 26 October 2022 12:52 To: hafnium@lists.trustedfirmware.org hafnium@lists.trustedfirmware.org Subject: [Hafnium] Trapped access to system register and excpetion
Hello,
We get the following error in the non-secure terminal in the QEMU, while booting the normal world with hafnium(SPMC) at S-EL2 and SP at S-EL1. NOTICE: Trapped access to system register write: op0=1, op1=0, crn=7, crm=14, op2=2, rt=11. NOTICE: Injecting Unknown Reason exception into VM 0x8001.
Above system register found as DC CISW.
It found that this happened with the recent hafnium change "feat(interrupts): preferred managed exit signal" Thanks. -- Hafnium mailing list -- hafnium@lists.trustedfirmware.org To unsubscribe send an email to hafnium-leave@lists.trustedfirmware.org