commit | 8553cb67d2318db327071018fc81084cbabccc46 | [log] [tgz] |
---|---|---|
author | Catalin Marinas <catalin.marinas@arm.com> | Mon Nov 10 14:14:11 2008 +0000 |
committer | Catalin Marinas <catalin.marinas@arm.com> | Mon Nov 10 14:14:11 2008 +0000 |
tree | f2db64a188cbf2cce745720bf3d279daa2768609 | |
parent | 73b63efaac7352c9e2bf1570fac98fd44a99f8f9 [diff] |
Modern processors may need to drain the WB before WFI Since WFI may cause the processor to enter a low-power mode, data may still be in the write buffer. This patch adds a DSB (or DWB) to the cpu_(v6|v7)_do_idle functions before the WFI. Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>