linux_dsm_epyc7002/arch/arm64
Mark Rutland 0c20856c26 arm64: head.S: ensure idmap_t0sz is visible
We write idmap_t0sz with SCTLR_EL1.{C,M} clear, but we only have the
guarnatee that the kernel Image is clean, not invalid in the caches, and
therefore we might read a stale value once the MMU is enabled.

This patch ensures we invalidate the corresponding cacheline after the
write as we do for all other data written before we set SCTLR_EL1.{C.M},
guaranteeing that the value will be visible later. We rely on the DSBs
in __create_page_tables to complete the maintenance.

Signed-off-by: Mark Rutland <mark.rutland@arm.com>
CC: Catalin Marinas <catalin.marinas@arm.com>
Cc: Will Deacon <will.deacon@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
2015-03-24 15:13:58 +00:00
..
boot dtb: change binding name to match with newer firmware DT 2015-03-04 15:54:14 -05:00
configs ARM: SoC 64-bit changes and additions 2015-02-17 09:47:46 -08:00
crypto arm64/crypto: issue aese/aesmc instructions in pairs 2015-03-19 10:43:57 +00:00
include arm64: pmu: add support for interrupt-affinity property 2015-03-24 15:09:47 +00:00
kernel arm64: head.S: ensure idmap_t0sz is visible 2015-03-24 15:13:58 +00:00
kvm arm64: KVM: use ID map with increased VA range if required 2015-03-23 11:35:29 +00:00
lib arm64: __clear_user: handle exceptions on strb 2014-11-13 15:21:26 +00:00
mm arm64: mm: increase VA range of identity map 2015-03-23 11:35:29 +00:00
net arm64: bpf: lift restriction on last instruction 2014-12-03 18:04:09 +00:00
xen arm: xen: implement multicall hypercall support. 2014-04-24 13:09:46 +01:00
Kconfig arm64: kconfig: increase NR_CPUS range to 2-4096. 2015-03-19 19:46:00 +00:00
Kconfig.debug arm64: add better page protections to arm64 2015-01-22 14:54:29 +00:00
Makefile arm64: Adjust EFI libstub object include logic 2015-03-17 16:59:47 +00:00