[SLOF] [PATCH slof 2/2] fdt: Fix phandles for NVLink/NVLink2

Thomas Huth thuth at redhat.com
Sat May 19 02:11:46 AEST 2018


On 14.05.2018 12:03, Alexey Kardashevskiy wrote:

Please add some more patch description here: How do these properties
look like? Do we feel confident enough that we can always use that
generic replace function for these properties without risking to
accidentally replacing the wrong values there?

> Signed-off-by: Alexey Kardashevskiy <aik at ozlabs.ru>
> ---
>  board-qemu/slof/fdt.fs | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/board-qemu/slof/fdt.fs b/board-qemu/slof/fdt.fs
> index 5284ae6..51583bf 100644
> --- a/board-qemu/slof/fdt.fs
> +++ b/board-qemu/slof/fdt.fs
> @@ -307,6 +307,10 @@ fdt-claim-reserve
>     THEN
>  
>     2dup s" interrupt-parent" r@ (fdt-replace-phandles)
> +   2dup s" ibm,gpu" r@ (fdt-replace-phandles)
> +   2dup s" ibm,npu" r@ (fdt-replace-phandles)
> +   2dup s" memory-region" r@ (fdt-replace-phandles)
> +
>     \ ... add more properties that have to be fixed here ...
>     r>
>     \ Now recurse over all child nodes:       ( old new node )
> 

 Thomas


More information about the SLOF mailing list