diff options
author | Roger Pau Monne <roger.pau@citrix.com> | 2018-10-09 12:32:37 +0200 |
---|---|---|
committer | Juergen Gross <jgross@suse.com> | 2018-10-24 10:18:28 +0200 |
commit | 7deecbda3026f5e2a8cc095d7ef7261a920efcf2 (patch) | |
tree | 71e0dac8d4fa7246651fef1ef705531f43efc54f | |
parent | a856531951dc8094359dfdac21d59cee5969c18e (diff) | |
download | blackbird-obmc-linux-7deecbda3026f5e2a8cc095d7ef7261a920efcf2.tar.gz blackbird-obmc-linux-7deecbda3026f5e2a8cc095d7ef7261a920efcf2.zip |
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: <stable@vger.kernel.org> # 4.11
Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Reviewed-by: Juergen Gross <jgross@suse.com>
Signed-off-by: Juergen Gross <jgross@suse.com>
-rw-r--r-- | arch/x86/xen/xen-pvh.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/xen/xen-pvh.S b/arch/x86/xen/xen-pvh.S index b0e471506cd8..1f8825bbaffb 100644 --- a/arch/x86/xen/xen-pvh.S +++ b/arch/x86/xen/xen-pvh.S @@ -170,7 +170,7 @@ canary: .fill 48, 1, 0 early_stack: - .fill 256, 1, 0 + .fill BOOT_STACK_SIZE, 1, 0 early_stack_end: ELFNOTE(Xen, XEN_ELFNOTE_PHYS32_ENTRY, |