Skip to content

Commit 7deecbd

Browse files
roygerjgross1
authored andcommitted
xen/pvh: increase early stack size
While booting on an AMD EPYC box the stack canary would detect stack overflows when using the current PVH early stack size (256). Switch to using the value defined by BOOT_STACK_SIZE, which prevents the stack overflow. Cc: <[email protected]> # 4.11 Signed-off-by: Roger Pau Monné <[email protected]> Reviewed-by: Juergen Gross <[email protected]> Signed-off-by: Juergen Gross <[email protected]>
1 parent a856531 commit 7deecbd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/x86/xen/xen-pvh.S

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ canary:
170170
.fill 48, 1, 0
171171

172172
early_stack:
173-
.fill 256, 1, 0
173+
.fill BOOT_STACK_SIZE, 1, 0
174174
early_stack_end:
175175

176176
ELFNOTE(Xen, XEN_ELFNOTE_PHYS32_ENTRY,

0 commit comments

Comments
 (0)