Re: [PATCH 2/2] spapr/nvram: Allocate enough space for all -prom-env options

2020-08-11 Thread Greg Kurz
On Tue, 11 Aug 2020 19:27:50 +0200 Laurent Vivier wrote: > On 11/08/2020 18:36, Greg Kurz wrote: > > On Tue, 11 Aug 2020 18:05:21 +0200 > > Laurent Vivier wrote: > > > >> On 11/08/2020 17:30, Greg Kurz wrote: > >>> Since commit 61f20b9dc5b7 ("spapr_nvram: Pre-initialize the NVRAM to > >>> suppo

Re: [PATCH 2/2] spapr/nvram: Allocate enough space for all -prom-env options

2020-08-11 Thread Laurent Vivier
On 11/08/2020 18:36, Greg Kurz wrote: > On Tue, 11 Aug 2020 18:05:21 +0200 > Laurent Vivier wrote: > >> On 11/08/2020 17:30, Greg Kurz wrote: >>> Since commit 61f20b9dc5b7 ("spapr_nvram: Pre-initialize the NVRAM to >>> support the -prom-env parameter"), pseries machines can pre-initialize >>> the

Re: [PATCH 2/2] spapr/nvram: Allocate enough space for all -prom-env options

2020-08-11 Thread Greg Kurz
On Tue, 11 Aug 2020 18:05:21 +0200 Laurent Vivier wrote: > On 11/08/2020 17:30, Greg Kurz wrote: > > Since commit 61f20b9dc5b7 ("spapr_nvram: Pre-initialize the NVRAM to > > support the -prom-env parameter"), pseries machines can pre-initialize > > the "system" partition in the NVRAM with the dat

Re: [PATCH 2/2] spapr/nvram: Allocate enough space for all -prom-env options

2020-08-11 Thread Laurent Vivier
On 11/08/2020 17:30, Greg Kurz wrote: > Since commit 61f20b9dc5b7 ("spapr_nvram: Pre-initialize the NVRAM to > support the -prom-env parameter"), pseries machines can pre-initialize > the "system" partition in the NVRAM with the data passed to all -prom-env > parameters on the QEMU command line. >

[PATCH 2/2] spapr/nvram: Allocate enough space for all -prom-env options

2020-08-11 Thread Greg Kurz
Since commit 61f20b9dc5b7 ("spapr_nvram: Pre-initialize the NVRAM to support the -prom-env parameter"), pseries machines can pre-initialize the "system" partition in the NVRAM with the data passed to all -prom-env parameters on the QEMU command line. In this cases it is assumed that all the data f