提交 620879c9 编写于 作者: C Catalin Marinas 提交者: Russell King

[ARM] 4127/1: Flush the prefetch buffer after changing the DACR

The ARM Architecture Reference Manual specifies that a prefetch flush
is needed after changing the DACR register (chapter B2.7.6).
Signed-off-by: NCatalin Marinas <catalin.marinas@arm.com>
Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
上级 dcda7e4b
...@@ -57,6 +57,7 @@ ...@@ -57,6 +57,7 @@
__asm__ __volatile__( \ __asm__ __volatile__( \
"mcr p15, 0, %0, c3, c0 @ set domain" \ "mcr p15, 0, %0, c3, c0 @ set domain" \
: : "r" (x)); \ : : "r" (x)); \
isb(); \
} while (0) } while (0)
#define modify_domain(dom,type) \ #define modify_domain(dom,type) \
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册