aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/dev-replace.c
diff options
context:
space:
mode:
authorJuergen Gross <[email protected]>2017-07-28 10:23:14 +0000
committerJuergen Gross <[email protected]>2017-08-11 13:50:26 +0000
commit4ca83dcf4e3bc0c98836dbb97553792ca7ea5429 (patch)
tree58e2838e4e443252dbc6ef5a2837559b4c65f667 /fs/btrfs/dev-replace.c
parentxen: split up xen_hvm_init_shared_info() (diff)
downloadkernel-4ca83dcf4e3bc0c98836dbb97553792ca7ea5429.tar.gz
kernel-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 <[email protected]> Reviewed-by: Boris Ostrovsky <[email protected]> Acked-by: Ingo Molnar <[email protected]> Signed-off-by: Juergen Gross <[email protected]>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions