summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorQuentin Perret <qperret@google.com>2021-08-09 18:24:44 +0300
committerMarc Zyngier <maz@kernel.org>2021-08-11 13:39:51 +0300
commit2c50166c62ba7f3c23c1bbdbb9324db462ddc97b (patch)
tree51ce1752d2957fb662686973f5ce0b8c8f8b5e39 /tools/perf/scripts/python/exported-sql-viewer.py
parent9024b3d0069ab4b8ef70cf55f0ee09e61f3a0747 (diff)
downloadlinux-2c50166c62ba7f3c23c1bbdbb9324db462ddc97b.tar.xz
KVM: arm64: Mark host bss and rodata section as shared
As the hypervisor maps the host's .bss and .rodata sections in its stage-1, make sure to tag them as shared in hyp and host page-tables. But since the hypervisor relies on the presence of these mappings, we cannot let the host in complete control of the memory regions -- it must not unshare or donate them to another entity for example. To prevent this, let's transfer the ownership of those ranges to the hypervisor itself, and share the pages back with the host. Signed-off-by: Quentin Perret <qperret@google.com> Reviewed-by: Fuad Tabba <tabba@google.com> Signed-off-by: Marc Zyngier <maz@kernel.org> Link: https://lore.kernel.org/r/20210809152448.1810400-18-qperret@google.com
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions