]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
xen/pvh: increase early stack size
authorRoger Pau Monne <roger.pau@citrix.com>
Tue, 9 Oct 2018 10:32:37 +0000 (12:32 +0200)
committerJuerg Haefliger <juergh@canonical.com>
Wed, 24 Jul 2019 01:57:07 +0000 (19:57 -0600)
commit9a9393fe021665fb18446ce749d99b175c6ce739
tree8ec075743bfb8f25fcf3d27982d75b069a0fea12
parent54ae02ba4422764937619757299ceaed70dd9cb4
xen/pvh: increase early stack size

BugLink: https://bugs.launchpad.net/bugs/1836802
commit 7deecbda3026f5e2a8cc095d7ef7261a920efcf2 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Andrea Righi <andrea.righi@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
arch/x86/xen/xen-pvh.S