]> git.baikalelectronics.ru Git - kernel.git/commit
[ARM] 3352/1: DSB required for the completion of a TLB maintenance operation
authorCatalin Marinas <catalin.marinas@arm.com>
Tue, 7 Mar 2006 14:42:27 +0000 (14:42 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 7 Mar 2006 14:42:27 +0000 (14:42 +0000)
commit29ef5b189bb01e64b7ef35ac553d1dd6d2641487
tree575a7194c86b2b3e1b9db30e283a2f5705e89e99
parentdf7ff7239d2b790205352608da763f9b7cf47fca
[ARM] 3352/1: DSB required for the completion of a TLB maintenance operation

Patch from Catalin Marinas

Chapter B2.7.3 in the latest ARM ARM (with v6 information) states that
the completion of a TLB maintenance operation is only guaranteed by
the execution of a DSB (Data Syncronization Barrier, formerly Data
Write Barrier or Drain Write Buffer).

Note that a DSB is only needed in the flush_tlb_kernel_* functions
since the completion is guaranteed by a mode change (i.e. switching
back to user mode) for the flush_tlb_user_* functions.

Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/Kconfig
arch/arm/mm/tlb-v6.S
include/asm-arm/tlbflush.h