linux/arch/arm64/kvm/hyp
David Brazdil 2d7bf218ca KVM: arm64: Add .hyp.data..ro_after_init ELF section
Add rules for renaming the .data..ro_after_init ELF section in KVM nVHE
object files to .hyp.data..ro_after_init, linking it into the kernel
and mapping it in hyp at runtime.

The section is RW to the host, then mapped RO in hyp. The expectation is
that the host populates the variables in the section and they are never
changed by hyp afterwards.

Signed-off-by: David Brazdil <dbrazdil@google.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20201202184122.26046-13-dbrazdil@google.com
2020-12-04 10:08:33 +00:00
..
include/hyp arm64: Add workaround for Arm Cortex-A77 erratum 1508412 2020-10-29 12:56:01 +00:00
nvhe KVM: arm64: Add .hyp.data..ro_after_init ELF section 2020-12-04 10:08:33 +00:00
vhe arm64: Add workaround for Arm Cortex-A77 erratum 1508412 2020-10-29 12:56:01 +00:00
aarch32.c Merge branch 'kvm-arm64/misc-5.9' into kvmarm-master/next-WIP 2020-07-28 16:26:16 +01:00
entry.S Merge branch 'kvm-arm64/hyp-pcpu' into kvmarm-master/next 2020-09-30 14:05:35 +01:00
fpsimd.S KVM: arm64: Remove __hyp_text macro, use build rules instead 2020-07-05 18:38:45 +01:00
hyp-entry.S Merge branch 'kvm-arm64/hyp-pcpu' into kvmarm-master/next 2020-09-30 14:05:35 +01:00
Makefile Merge branch 'kvm-arm64/hyp-pcpu' into kvmarm-master/next 2020-09-30 14:05:35 +01:00
pgtable.c KVM: arm64: Fix masks in stage2_pte_cacheable() 2020-10-29 19:49:03 +00:00
smccc_wa.S KVM: arm64: Move __smccc_workaround_1_smc to .rodata 2020-07-05 18:37:48 +01:00
vgic-v2-cpuif-proxy.c KVM: arm64: Remove __hyp_text macro, use build rules instead 2020-07-05 18:38:45 +01:00
vgic-v3-sr.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00