diff options
author | Stefano Stabellini <[email protected]> | 2020-09-24 16:49:55 -0700 |
---|---|---|
committer | Boris Ostrovsky <[email protected]> | 2020-10-04 18:41:33 -0500 |
commit | f88af7229f6f22ce7313c11a0bbb9c88317b7c5e (patch) | |
tree | f0bedc44b6b3350d498dd32817ae8a92592623ea /tools/perf/scripts/python/export-to-sqlite.py | |
parent | bba91dd6d70b7aa239280dc095a461bc064c98a5 (diff) |
xen/arm: do not setup the runstate info page if kpti is enabled
The VCPUOP_register_runstate_memory_area hypercall takes a virtual
address of a buffer as a parameter. The semantics of the hypercall are
such that the virtual address should always be valid.
When KPTI is enabled and we are running userspace code, the virtual
address is not valid, thus, Linux is violating the semantics of
VCPUOP_register_runstate_memory_area.
Do not call VCPUOP_register_runstate_memory_area when KPTI is enabled.
Signed-off-by: Stefano Stabellini <[email protected]>
CC: Bertrand Marquis <[email protected]>
CC: [email protected]
CC: [email protected]
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Bertrand Marquis <[email protected]>
Signed-off-by: Boris Ostrovsky <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions