Commit 8553cb67 authored by Catalin Marinas's avatar Catalin Marinas
Browse files

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: default avatarCatalin Marinas <catalin.marinas@arm.com>



parent 73b63efa
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment