[PATCH] ppc/pnv: Increase max firware size

Cédric Le Goater posted 1 patch 3 years, 7 months ago
Test docker-quick@centos7 failed
Test docker-mingw@fedora failed
Test checkpatch failed
Test FreeBSD failed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20201002061353.1340766-1-clg@kaod.org
Maintainers: David Gibson <david@gibson.dropbear.id.au>, "Cédric Le Goater" <clg@kaod.org>
hw/ppc/pnv.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] ppc/pnv: Increase max firware size
Posted by Cédric Le Goater 3 years, 7 months ago
Signed-off-by: Cédric Le Goater <clg@kaod.org>
---
 hw/ppc/pnv.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hw/ppc/pnv.c b/hw/ppc/pnv.c
index 6670967e26a9..d9e52873ea70 100644
--- a/hw/ppc/pnv.c
+++ b/hw/ppc/pnv.c
@@ -61,7 +61,7 @@
 
 #define FW_FILE_NAME            "skiboot.lid"
 #define FW_LOAD_ADDR            0x0
-#define FW_MAX_SIZE             (4 * MiB)
+#define FW_MAX_SIZE             (16 * MiB)
 
 #define KERNEL_LOAD_ADDR        0x20000000
 #define KERNEL_MAX_SIZE         (256 * MiB)
-- 
2.25.4


Re: [PATCH] ppc/pnv: Increase max firware size
Posted by Cédric Le Goater 3 years, 7 months ago
That was sent a bit fast. Can you please add in the commit log : 

  Builds enabling GCOV can be bigger than 4MB and the limit on FSP
  systems is 16MB. 

Thanks 

C.

On 10/2/20 8:13 AM, Cédric Le Goater wrote:
> Signed-off-by: Cédric Le Goater <clg@kaod.org>
> ---
>  hw/ppc/pnv.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/hw/ppc/pnv.c b/hw/ppc/pnv.c
> index 6670967e26a9..d9e52873ea70 100644
> --- a/hw/ppc/pnv.c
> +++ b/hw/ppc/pnv.c
> @@ -61,7 +61,7 @@
>  
>  #define FW_FILE_NAME            "skiboot.lid"
>  #define FW_LOAD_ADDR            0x0
> -#define FW_MAX_SIZE             (4 * MiB)
> +#define FW_MAX_SIZE             (16 * MiB)
>  
>  #define KERNEL_LOAD_ADDR        0x20000000
>  #define KERNEL_MAX_SIZE         (256 * MiB)
> 


Re: [PATCH] ppc/pnv: Increase max firware size
Posted by Greg Kurz 3 years, 7 months ago
On Fri, 2 Oct 2020 08:15:46 +0200
Cédric Le Goater <clg@kaod.org> wrote:

> That was sent a bit fast. Can you please add in the commit log : 
> 
>   Builds enabling GCOV can be bigger than 4MB and the limit on FSP
>   systems is 16MB. 
> 
> Thanks 
> 

And also s/firware/firmware in the title.

Cheers,

--
Greg

> C.
> 
> On 10/2/20 8:13 AM, Cédric Le Goater wrote:
> > Signed-off-by: Cédric Le Goater <clg@kaod.org>
> > ---
> >  hw/ppc/pnv.c | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> > 
> > diff --git a/hw/ppc/pnv.c b/hw/ppc/pnv.c
> > index 6670967e26a9..d9e52873ea70 100644
> > --- a/hw/ppc/pnv.c
> > +++ b/hw/ppc/pnv.c
> > @@ -61,7 +61,7 @@
> >  
> >  #define FW_FILE_NAME            "skiboot.lid"
> >  #define FW_LOAD_ADDR            0x0
> > -#define FW_MAX_SIZE             (4 * MiB)
> > +#define FW_MAX_SIZE             (16 * MiB)
> >  
> >  #define KERNEL_LOAD_ADDR        0x20000000
> >  #define KERNEL_MAX_SIZE         (256 * MiB)
> > 
> 
> 


Re: [PATCH] ppc/pnv: Increase max firware size
Posted by Cédric Le Goater 3 years, 7 months ago
On 10/2/20 9:26 AM, Greg Kurz wrote:
> On Fri, 2 Oct 2020 08:15:46 +0200
> Cédric Le Goater <clg@kaod.org> wrote:
> 
>> That was sent a bit fast. Can you please add in the commit log : 
>>
>>   Builds enabling GCOV can be bigger than 4MB and the limit on FSP
>>   systems is 16MB. 
>>
>> Thanks 
>>
> 
> And also s/firware/firmware in the title.

bah. sending a v2.

Thanks,

C.