summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorJuergen Gross <jgross@suse.com>2017-07-28 12:23:14 +0200
committerJuergen Gross <jgross@suse.com>2017-08-11 15:50:26 +0200
commit4ca83dcf4e3bc0c98836dbb97553792ca7ea5429 (patch)
tree58e2838e4e443252dbc6ef5a2837559b4c65f667 /drivers
parentxen: split up xen_hvm_init_shared_info() (diff)
downloadlinux-4ca83dcf4e3bc0c98836dbb97553792ca7ea5429.tar.xz
linux-4ca83dcf4e3bc0c98836dbb97553792ca7ea5429.zip
xen: fix hvm guest with kaslr enabled
A Xen HVM guest running with KASLR enabled will die rather soon today because the shared info page mapping is using va() too early. This was introduced by commit a5d5f328b0e2baa5ee7c119fd66324eb79eeeb66 ("xen: allocate page for shared info page from low memory"). In order to fix this use early_memremap() to get a temporary virtual address for shared info until va() can be used safely. Signed-off-by: Juergen Gross <jgross@suse.com> Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com> Acked-by: Ingo Molnar <mingo@kernel.org> Signed-off-by: Juergen Gross <jgross@suse.com>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions