summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-davinci/pm_domain.c
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2014-07-17 12:17:45 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2014-07-17 19:26:08 +0100
commit6b076991dca9817e75c37e2f0db6d52611ea42fa (patch)
tree3dff1d567131ebba9695a1a57896dd3faff9a3e0 /arch/arm/mach-davinci/pm_domain.c
parentcda390bb8f0fc751194ef5f4c691ca8d3ff91009 (diff)
downloadop-kernel-dev-6b076991dca9817e75c37e2f0db6d52611ea42fa.zip
op-kernel-dev-6b076991dca9817e75c37e2f0db6d52611ea42fa.tar.gz
ARM: DMA: ensure that old section mappings are flushed from the TLB
When setting up the CMA region, we must ensure that the old section mappings are flushed from the TLB before replacing them with page tables, otherwise we can suffer from mismatched aliases if the CPU speculatively prefetches from these mappings at an inopportune time. A mismatched alias can occur when the TLB contains a section mapping, but a subsequent prefetch causes it to load a page table mapping, resulting in the possibility of the TLB containing two matching mappings for the same virtual address region. Acked-by: Will Deacon <will.deacon@arm.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-davinci/pm_domain.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud