diff options
author | Mark Rutland <[email protected]> | 2013-12-02 16:11:00 +0000 |
---|---|---|
committer | Catalin Marinas <[email protected]> | 2013-12-06 17:21:49 +0000 |
commit | 3cea71bc6b470372ae407881b87128aadf0afec0 (patch) | |
tree | 1a86fe9baff107a795717772ab25c3371656d3cf /net/lapb/lapb_out.c | |
parent | dc1ccc48159d63eca5089e507c82c7d22ef60839 (diff) |
arm64: ensure completion of TLB invalidatation
Currently there is no dsb between the tlbi in __cpu_setup and the write
to SCTLR_EL1 which enables the MMU in __turn_mmu_on. This means that the
TLB invalidation is not guaranteed to have completed at the point
address translation is enabled, leading to a number of possible issues
including incorrect translations and TLB conflict faults.
This patch moves the tlbi in __cpu_setup above an existing dsb used to
synchronise I-cache invalidation, ensuring that the TLBs have been
invalidated at the point the MMU is enabled.
Signed-off-by: Mark Rutland <[email protected]>
Cc: Catalin Marinas <[email protected]>
Cc: Will Deacon <[email protected]>
Signed-off-by: Catalin Marinas <[email protected]>
Diffstat (limited to 'net/lapb/lapb_out.c')
0 files changed, 0 insertions, 0 deletions