[SLOF] [PATCH slof] fdt: Update phandles after H_CAS
aik at ozlabs.ru
Mon Aug 26 13:45:12 AEST 2019
At the moment SLOF generates phandles except a few exceptions such as
an interrupt controller (XICS/XIVE) and NVLink-related nodes. For these
nodes QEMU generates phandles which SLOF later detects and replaces with
the node addresses (which are phandles in SLOF).
However we are missing these updates when processing
the ibm,client-architecture-support RTAS call - SLOF calls QEMU with H_CAS
to get an update for the device tree, and if that blob contains
phandles, they make it to the final tree unchanged with undefined results.
This calls fdt-fix-phandles for the H_CAS update blob.
Signed-off-by: Alexey Kardashevskiy <aik at ozlabs.ru>
board-qemu/slof/archsupport.fs | 1 +
1 file changed, 1 insertion(+)
diff --git a/board-qemu/slof/archsupport.fs b/board-qemu/slof/archsupport.fs
index a8ace3cc59c4..33ea765c152b 100644
@@ -29,6 +29,7 @@
+ s" /" find-node fdt-fix-phandles
More information about the SLOF