Asami Doi has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/34367 )
Change subject: util: Add new util to make a payload for QEMU/AArch64 ......................................................................
Patch Set 2:
So your main problem is essentially that you're running a kernel that expects PSCI to be available without loading Trusted Firmware. A workaround would be to disable PSCI in the kernel (if that's even still possible these days... try deleting the "arm,psci" node in the device tree). But the real solution would of course be to get Trusted Firmware working for QEMU. For that you need to 'select ARM64_USE_ARM_TRUSTED_FIRMWARE' in your Kconfig and add 'BL31_MAKEARGS += PLAT=qemu' to your Makefile. That should get it to build and run, but whether it will work I have no idea (I don't know who developed the QEMU port in TF, but they probably didn't design it to be used with coreboot). You may need to fix some things within TF to get that to work.
I removed "arm,psci" from DTS and it worked without errors but the kernel made nothing output after booting. Now, I'm investigating how to run trusted firmware on QEMU.
I will close this CL so let's discuss the problems on https://review.coreboot.org/c/coreboot/+/33387/