aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/xen
diff options
context:
space:
mode:
authorJuergen Gross <jgross@suse.com>2018-02-01 13:40:19 +0100
committerJuergen Gross <jgross@suse.com>2018-02-06 09:37:18 +0100
commit4f277295e54c5b7340e48efea3fc5cc21a2872b7 (patch)
treec0afd5986abcc7183cf4253a578e7a732753f7d8 /drivers/xen
parentMerge branch 'master' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/torvalds/linux (diff)
downloadlinux-dev-4f277295e54c5b7340e48efea3fc5cc21a2872b7.tar.xz
linux-dev-4f277295e54c5b7340e48efea3fc5cc21a2872b7.zip
x86/xen: init %gs very early to avoid page faults with stack protector
When running as Xen pv guest %gs is initialized some time after C code is started. Depending on stack protector usage this might be too late, resulting in page faults. So setup %gs and MSR_GS_BASE in assembly code already. Cc: stable@vger.kernel.org Signed-off-by: Juergen Gross <jgross@suse.com> Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com> Tested-by: Chris Patterson <cjp256@gmail.com> Signed-off-by: Juergen Gross <jgross@suse.com>
Diffstat (limited to 'drivers/xen')
0 files changed, 0 insertions, 0 deletions