Hi Jens,
We get the following failure (Stage-2 page fault) when built and ran the SEL2 stack downloaded from https://github.com/jenswi-linaro/manifest.git -m qemu_v8.xml -b qemu_sel2 This seems happens when booting the op-tee.
Debugging showed this is related to the relocatable OP-TEE binary support as there is no failure, with disabling CFG_CORE_PHYS_RELOCATABLE in the optee_os/core/arch/arm/arm.mk
Thanks, Shiju
=========================================== NOTICE: BL31: v2.8(debug):v2.8-151-gf4d8ed50d NOTICE: BL31: Built : 17:11:47, Jun 20 2023 INFO: GICv3 without legacy support detected. INFO: ARM GICv3 driver initialized in EL3 INFO: Maximum SPI INTID supported: 287 INFO: BL31: Initializing runtime services INFO: SPM Core setup done. INFO: BL31: Initializing BL32 INFO: Initializing Hafnium (SPMC) INFO: text: 0xe100000 - 0xe125000 INFO: rodata: 0xe125000 - 0xe12b000 INFO: data: 0xe12b000 - 0xe214000 INFO: stacks: 0xe214000 - 0xe224000 INFO: Supported bits in physical address: 48 INFO: Stage 2 has 4 page table levels with 1 pages at the root. INFO: Stage 1 has 4 page table levels with 1 pages at the root. INFO: Memory range: 0xe000000 - 0xeffffff INFO: Loading VM id 0x8001: op-tee. INFO: Loaded with 4 vCPUs, entry at 0xe300000. INFO: Hafnium initialisation completed WARNING: Stage-2 page fault: pc=0xe3105f4, vmid=0x8001, vcpu=0, vaddr=0xd00000, ipaddr=0xd00000, mode=0x1 0xd0000000000007c NOTICE: Injecting Data Abort exception into VM 0x8001. ============================================