Skip to contentSkip to conversation

ppc/pnv: Set default ram size to 2GB

PATCH Applied Joel Stanley 3 participants 3 messages Jul 18, 2019

v1 of 2 Applied Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ppc/pnv: Set default ram size to 2GB

This makes the powernv machine easier for end users as the default initrd address is now within RAM.

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

 hw/ppc/pnv.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
hw/ppc/pnv.c +1 -1
index bd4531c82260..8cef6d17f111 100644
@@ -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;
Signature · 1 line
2.20.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 4 lines · Joel Stanley

This makes the powernv machine easier for end users as the default initrd address is now within RAM.

Thanks,

C.

Quoted 20 lines

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

 hw/ppc/pnv.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
hw/ppc/pnv.c +1 -1
index bd4531c82260..8cef6d17f111 100644
@@ -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;
Applied
#2 lore raw
In reply to Joel Stanley
Quoted 4 lines · Joel Stanley

This makes the powernv machine easier for end users as the default initrd address is now within RAM.

Applied to ppc-for-4.2, thanks.

Signature · 4 lines
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