fdt: Update phandles after H_CAS

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 client interface 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@ozlabs.ru>
1 file changed