spapr: increase temporary fdt buffer size
PATCH 1/1 spapr: increase temporary fdt buffer size
At the moment the size of the buffer is set to 64K which is enough for approximately 150 VCPUs which is not the limit.
This increases the buffer up to 256K which allows having a tree for approximately 600 VCPUs which is way beyond the real number we need.
As only the real size of the tree is copied to the guest, there will be no impact on existing configurations.
--- hw/ppc/spapr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
hw/ppc/spapr.c +1 -1
@@ -62,7 +62,7 @@* * We load our kernel at 4M, leaving space for SLOF initial image */ -#define FDT_MAX_SIZE 0x10000 +#define FDT_MAX_SIZE 0x40000#define RTAS_MAX_SIZE 0x10000#define FW_MAX_SIZE 0x400000#define FW_FILE_NAME "slof.bin"
Signature · 1 line
1.8.4.rc4
Quoted 20 lines · Alexey Kardashevskiy
At the moment the size of the buffer is set to 64K which is enough for approximately 150 VCPUs which is not the limit.
This increases the buffer up to 256K which allows having a tree for approximately 600 VCPUs which is way beyond the real number we need.
As only the real size of the tree is copied to the guest, there will be no impact on existing configurations.
Signed-off-by Alexey Kardashevskiy <[email protected]>--- hw/ppc/spapr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)hw/ppc/spapr.c +0
-0
hw/ppc/spapr.c line 68
Quoted 8 lines
hw/ppc/spapr.c +1
-1@@ -62,7 +62,7 @@* * We load our kernel at 4M, leaving space for SLOF initial image */ -#define FDT_MAX_SIZE 0x10000 +#define FDT_MAX_SIZE 0x40000#define RTAS_MAX_SIZE 0x10000#define FW_MAX_SIZE 0x400000#define FW_FILE_NAME "slof.bin"
Quoted 16 lines · mike
Quoted 15 lines · Alexey Kardashevskiy
At the moment the size of the buffer is set to 64K which is enough for approximately 150 VCPUs which is not the limit.
This increases the buffer up to 256K which allows having a tree for approximately 600 VCPUs which is way beyond the real number we need.
As only the real size of the tree is copied to the guest, there will be no impact on existing configurations.
Signed-off-by Alexey Kardashevskiy <[email protected]>--- hw/ppc/spapr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Quoted 14 lines
hw/ppc/spapr.c line 68
Quoted 13 lines
hw/ppc/spapr.c +1
-1@@ -62,7 +62,7 @@* * We load our kernel at 4M, leaving space for SLOF initial image */ -#define FDT_MAX_SIZE 0x10000 +#define FDT_MAX_SIZE 0x40000#define RTAS_MAX_SIZE 0x10000#define FW_MAX_SIZE 0x400000#define FW_FILE_NAME "slof.bin"Signed-off-by Mike Qiu <[email protected]>
Signed-off-by is supposed to mean "this patch went through my hands". So are you trying to say that you wrote this patch? Or that you think it does "the right thing" in which case it should be "Acked-by" or "Reviewed-by":
Alex
Alexander Graf
AppliedQuoted 11 lines · Alexey Kardashevskiy
At the moment the size of the buffer is set to 64K which is enough for approximately 150 VCPUs which is not the limit.
This increases the buffer up to 256K which allows having a tree for approximately 600 VCPUs which is way beyond the real number we need.
As only the real size of the tree is copied to the guest, there will be no impact on existing configurations.
Signed-off-by Alexey Kardashevskiy <[email protected]>
Thanks, applied to ppc-next.
Alex