diff options
author | Juergen Gross <[email protected]> | 2017-07-28 12:23:14 +0200 |
---|---|---|
committer | Juergen Gross <[email protected]> | 2017-08-11 15:50:26 +0200 |
commit | 4ca83dcf4e3bc0c98836dbb97553792ca7ea5429 (patch) | |
tree | 58e2838e4e443252dbc6ef5a2837559b4c65f667 /lib/mpi/mpi-internal.h | |
parent | 10231f69eb039550864ff3eb395da0c63c03ed5f (diff) |
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 'lib/mpi/mpi-internal.h')
0 files changed, 0 insertions, 0 deletions