mbox series

[0/3] ppc/pnv: Add a "hostboot" mode

Message ID 20200127144154.10170-1-clg@kaod.org
Headers show
Series ppc/pnv: Add a "hostboot" mode | expand

Message

Cédric Le Goater Jan. 27, 2020, 2:41 p.m. UTC
Hello,

The QEMU PowerNV machine was first designed to start with a skiboot
firmware at 0x0, which then loads a kernel and ramfs acting as a boot
loader. Support of the POWER processor improving in QEMU, it has been
possible to support other firmwares.

These changes add support for firmwares mapped at a different address
than 0x0. First two patches are fixes/cleanups and the last one adds a
"hb-mode" option to the machine for this purpose. It needs some
discussion to see how we want to activate this new mode.

Thanks,

C.

Cédric Le Goater (3):
  ppc/pnv: Add support for HRMOR on Radix host
  ppc/pnv: remove useless "core-pir" property alias.
  ppc/pnv: Add support for "hostboot" mode

 include/hw/ppc/pnv.h      |  2 ++
 include/hw/ppc/pnv_core.h |  1 +
 hw/ppc/pnv.c              | 28 +++++++++++++++++++++++++++-
 hw/ppc/pnv_core.c         | 31 ++++++++++++++++---------------
 hw/ppc/pnv_lpc.c          |  5 ++++-
 target/ppc/mmu-radix64.c  |  6 ++++++
 6 files changed, 56 insertions(+), 17 deletions(-)

Comments

David Gibson Jan. 29, 2020, 2:04 a.m. UTC | #1
On Mon, Jan 27, 2020 at 03:41:51PM +0100, Cédric Le Goater wrote:
> Hello,
> 
> The QEMU PowerNV machine was first designed to start with a skiboot
> firmware at 0x0, which then loads a kernel and ramfs acting as a boot
> loader. Support of the POWER processor improving in QEMU, it has been
> possible to support other firmwares.
> 
> These changes add support for firmwares mapped at a different address
> than 0x0. First two patches are fixes/cleanups and the last one adds a
> "hb-mode" option to the machine for this purpose. It needs some
> discussion to see how we want to activate this new mode.

Applied to ppc-for-5.0, thanks.

> 
> Thanks,
> 
> C.
> 
> Cédric Le Goater (3):
>   ppc/pnv: Add support for HRMOR on Radix host
>   ppc/pnv: remove useless "core-pir" property alias.
>   ppc/pnv: Add support for "hostboot" mode
> 
>  include/hw/ppc/pnv.h      |  2 ++
>  include/hw/ppc/pnv_core.h |  1 +
>  hw/ppc/pnv.c              | 28 +++++++++++++++++++++++++++-
>  hw/ppc/pnv_core.c         | 31 ++++++++++++++++---------------
>  hw/ppc/pnv_lpc.c          |  5 ++++-
>  target/ppc/mmu-radix64.c  |  6 ++++++
>  6 files changed, 56 insertions(+), 17 deletions(-)
>