aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux
diff options
context:
space:
mode:
authorQuentin Perret <[email protected]>2021-08-09 16:24:44 +0100
committerMarc Zyngier <[email protected]>2021-08-11 11:39:51 +0100
commit2c50166c62ba7f3c23c1bbdbb9324db462ddc97b (patch)
tree51ce1752d2957fb662686973f5ce0b8c8f8b5e39 /scripts/gdb/linux
parent9024b3d0069ab4b8ef70cf55f0ee09e61f3a0747 (diff)
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 <[email protected]> Reviewed-by: Fuad Tabba <[email protected]> Signed-off-by: Marc Zyngier <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/gdb/linux')
0 files changed, 0 insertions, 0 deletions