[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-ppc] [PATCH 0/5] nvram: Refactor OpenBIOS NVRAM code to suppor
From: |
David Gibson |
Subject: |
Re: [Qemu-ppc] [PATCH 0/5] nvram: Refactor OpenBIOS NVRAM code to support -prom-env on pseries, too |
Date: |
Wed, 19 Oct 2016 13:16:50 +1100 |
User-agent: |
Mutt/1.7.0 (2016-08-17) |
On Tue, Oct 18, 2016 at 10:46:39PM +0200, Thomas Huth wrote:
> The OpenBIOS NVRAM set-up is based on the layout defined in the CHRP
> (Common Hardware Reference Platform) specification. This is the same
> layout that is also used by the PAPR specification and thus by the SLOF
> firmware of the pseries machine. By refactoring the NVRAM code from
> mac_nvram.c, we can use the same functions for setting up the NVRAM
> for both, OpenBIOS and SLOF. This way we can support the "-prom-env"
> parameter of QEMU for SLOF, too, which is very useful to influence
> the firmware boot process.
>
> Thomas Huth (5):
> nvram: Introduce helper functions for CHRP "system" and "free space"
> partitions
> sparc: Use the new common NVRAM functions for system and free space
> partition
> spapr_nvram: Pre-initialize the NVRAM to support the -prom-env
> parameter
> nvram: Move the remaining CHRP NVRAM related code to chrp_nvram.[ch]
> nvram: Rename openbios_firmware_abi.h into sun_nvram.h
>
> hw/nvram/Makefile.objs | 1 +
> hw/nvram/chrp_nvram.c | 85
> ++++++++++++++++++++++
> hw/nvram/mac_nvram.c | 49 +++----------
> hw/nvram/spapr_nvram.c | 6 ++
> hw/sparc/sun4m.c | 35 ++-------
> hw/sparc64/sun4u.c | 35 ++-------
> include/hw/nvram/chrp_nvram.h | 54 ++++++++++++++
> .../nvram/{openbios_firmware_abi.h => sun_nvram.h} | 47 +-----------
> tests/postcopy-test.c | 8 +-
> 9 files changed, 179 insertions(+), 141 deletions(-)
> create mode 100644 hw/nvram/chrp_nvram.c
> create mode 100644 include/hw/nvram/chrp_nvram.h
> rename include/hw/nvram/{openbios_firmware_abi.h => sun_nvram.h} (50%)
Series,
Reviewed-by: David Gibson <address@hidden>
I've put it into ppc-for-2.8 tentatively. However I'd like to get an
Acked-by from Mark for the Sparc bits before I send my next pull request.
--
David Gibson | I'll have my music baroque, and my code
david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_
| _way_ _around_!
http://www.ozlabs.org/~dgibson
signature.asc
Description: PGP signature
- [Qemu-ppc] [PATCH 0/5] nvram: Refactor OpenBIOS NVRAM code to support -prom-env on pseries, too, Thomas Huth, 2016/10/18
- [Qemu-ppc] [PATCH 1/5] nvram: Introduce helper functions for CHRP "system" and "free space" partitions, Thomas Huth, 2016/10/18
- [Qemu-ppc] [PATCH 3/5] spapr_nvram: Pre-initialize the NVRAM to support the -prom-env parameter, Thomas Huth, 2016/10/18
- [Qemu-ppc] [PATCH 5/5] nvram: Rename openbios_firmware_abi.h into sun_nvram.h, Thomas Huth, 2016/10/18
- [Qemu-ppc] [PATCH 2/5] sparc: Use the new common NVRAM functions for system and free space partition, Thomas Huth, 2016/10/18
- [Qemu-ppc] [PATCH 4/5] nvram: Move the remaining CHRP NVRAM related code to chrp_nvram.[ch], Thomas Huth, 2016/10/18
- Re: [Qemu-ppc] [PATCH 0/5] nvram: Refactor OpenBIOS NVRAM code to support -prom-env on pseries, too,
David Gibson <=
- Re: [Qemu-ppc] [Qemu-devel] [PATCH 0/5] nvram: Refactor OpenBIOS NVRAM code to support -prom-env on pseries, too, Bharata B Rao, 2016/10/24
- Re: [Qemu-ppc] [Qemu-devel] [PATCH 0/5] nvram: Refactor OpenBIOS NVRAM code to support -prom-env on pseries, too, Thomas Huth, 2016/10/24
- Re: [Qemu-ppc] [Qemu-devel] [PATCH 0/5] nvram: Refactor OpenBIOS NVRAM code to support -prom-env on pseries, too, David Gibson, 2016/10/24
- Re: [Qemu-ppc] [Qemu-devel] [PATCH 0/5] nvram: Refactor OpenBIOS NVRAM code to support -prom-env on pseries, too, Thomas Huth, 2016/10/25
- Re: [Qemu-ppc] [Qemu-devel] [PATCH 0/5] nvram: Refactor OpenBIOS NVRAM code to support -prom-env on pseries, too, David Gibson, 2016/10/25
- Re: [Qemu-ppc] [Qemu-devel] [PATCH 0/5] nvram: Refactor OpenBIOS NVRAM code to support -prom-env on pseries, too, Thomas Huth, 2016/10/26
Re: [Qemu-ppc] [Qemu-devel] [PATCH 0/5] nvram: Refactor OpenBIOS NVRAM code to support -prom-env on pseries, too, Mark Cave-Ayland, 2016/10/23