ppc/pnv: Add support for "hostboot" mode
commit08c3f3a734dae32497d526e26522d75f85d6368e
authorCédric Le Goater <clg@kaod.org>
Mon, 27 Jan 2020 14:41:54 +0000 (27 15:41 +0100)
committerDavid Gibson <david@gibson.dropbear.id.au>
Sun, 2 Feb 2020 03:07:57 +0000 (2 14:07 +1100)
tree87d899d3330db034e49303f67d481be72410616a
parent59942f0ebbdae67640bfa964c7745e88a80c35a0
ppc/pnv: Add support for "hostboot" mode

When the "hb-mode" option is activated on the powernv machine, the
firmware is mapped at 0x8000000 and the HRMOR of the HW threads are
set to the same address.

The PNOR mapping on the FW address space of the LPC bus is left enabled
to let the firmware load any other images required to boot the host.

Signed-off-by: Cédric Le Goater <clg@kaod.org>
Message-Id: <20200127144154.10170-4-clg@kaod.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
hw/ppc/pnv.c
hw/ppc/pnv_core.c
hw/ppc/pnv_lpc.c
include/hw/ppc/pnv.h
include/hw/ppc/pnv_core.h