summaryrefslogtreecommitdiff
path: root/drivers/xen/acpi.c
diff options
context:
space:
mode:
authorJuergen Gross <jgross@suse.com>2018-02-01 15:40:19 +0300
committerJuergen Gross <jgross@suse.com>2018-02-06 11:37:18 +0300
commit4f277295e54c5b7340e48efea3fc5cc21a2872b7 (patch)
treec0afd5986abcc7183cf4253a578e7a732753f7d8 /drivers/xen/acpi.c
parentddb9e13af3bba3f8c36ccee0eb9563a82b425c12 (diff)
downloadlinux-4f277295e54c5b7340e48efea3fc5cc21a2872b7.tar.xz
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/acpi.c')
0 files changed, 0 insertions, 0 deletions