diff mbox series

ppc/pnv: Set default ram size to 2GB

Message ID 20190718053236.6721-1-joel@jms.id.au
State New
Headers show
Series ppc/pnv: Set default ram size to 2GB | expand

Commit Message

Joel Stanley July 18, 2019, 5:32 a.m. UTC
This makes the powernv machine easier for end users as the default
initrd address is now within RAM.

Signed-off-by: Joel Stanley <joel@jms.id.au>

--
This replaces https://patchwork.ozlabs.org/patch/1132438/

 hw/ppc/pnv.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
2.20.1

Comments

Cédric Le Goater July 18, 2019, 6:09 a.m. UTC | #1
On 18/07/2019 07:32, Joel Stanley wrote:
> This makes the powernv machine easier for end users as the default

> initrd address is now within RAM.

> 

> Signed-off-by: Joel Stanley <joel@jms.id.au>



Reviewed-by: Cédric Le Goater <clg@kaod.org>


Thanks,

C.

> --

> This replaces https://patchwork.ozlabs.org/patch/1132438/

> 

>  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 bd4531c82260..8cef6d17f111 100644

> --- a/hw/ppc/pnv.c

> +++ b/hw/ppc/pnv.c

> @@ -1358,7 +1358,7 @@ static void pnv_machine_class_init(ObjectClass *oc, void *data)

>                                        * storage */

>      mc->no_parallel = 1;

>      mc->default_boot_order = NULL;

> -    mc->default_ram_size = 1 * GiB;

> +    mc->default_ram_size = 2 * GiB;

>      xic->icp_get = pnv_icp_get;

>      xic->ics_get = pnv_ics_get;

>      xic->ics_resend = pnv_ics_resend;

>
David Gibson July 18, 2019, 6:15 a.m. UTC | #2
On Thu, Jul 18, 2019 at 03:02:36PM +0930, Joel Stanley wrote:
> This makes the powernv machine easier for end users as the default

> initrd address is now within RAM.

> 

> Signed-off-by: Joel Stanley <joel@jms.id.au>


Applied to ppc-for-4.2, thanks.

-- 
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
diff mbox series

Patch

diff --git a/hw/ppc/pnv.c b/hw/ppc/pnv.c
index bd4531c82260..8cef6d17f111 100644
--- a/hw/ppc/pnv.c
+++ b/hw/ppc/pnv.c
@@ -1358,7 +1358,7 @@  static void pnv_machine_class_init(ObjectClass *oc, void *data)
                                       * storage */
     mc->no_parallel = 1;
     mc->default_boot_order = NULL;
-    mc->default_ram_size = 1 * GiB;
+    mc->default_ram_size = 2 * GiB;
     xic->icp_get = pnv_icp_get;
     xic->ics_get = pnv_ics_get;
     xic->ics_resend = pnv_ics_resend;