spapr: Fix implementation of Open Firmware client interface
commit21bde1ecb6cecba1d2f0219a1b79c240bed78749
authorAlexey Kardashevskiy <aik@ozlabs.ru>
Thu, 8 Jul 2021 06:56:25 +0000 (8 16:56 +1000)
committerDavid Gibson <david@gibson.dropbear.id.au>
Fri, 9 Jul 2021 00:55:11 +0000 (9 10:55 +1000)
treec24f3da40cfb0665e51c6430abd963331262bb5e
parent89bb5a4dfdef8316e840ab090ef04a5b7117731b
spapr: Fix implementation of Open Firmware client interface

This addresses the comments from v22.

The functional changes are (the VOF ones need retesting with Pegasos2):

(VOF) setprop will start failing if the machine class callback
did not handle it;
(VOF) unit addresses are lowered in path_offset();
(SPAPR) /chosen/bootargs is initialized from kernel_cmdline if
the client did not change it.

Fixes: 5c991e5d4378 ("spapr: Implement Open Firmware client interface")
Cc: BALATON Zoltan <balaton@eik.bme.hu>
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Message-Id: <20210708065625.548396-1-aik@ozlabs.ru>
Tested-by: BALATON Zoltan <balaton@eik.bme.hu>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
MAINTAINERS
hw/ppc/spapr.c
hw/ppc/spapr_hcall.c
hw/ppc/spapr_vof.c
hw/ppc/vof.c
include/hw/ppc/spapr.h
pc-bios/vof.bin
pc-bios/vof/ci.c
pc-bios/vof/libc.c
pc-bios/vof/main.c
pc-bios/vof/vof.h