diff options
author | Julien Thierry <[email protected]> | 2019-01-31 14:58:47 +0000 |
---|---|---|
committer | Catalin Marinas <[email protected]> | 2019-02-06 10:05:18 +0000 |
commit | a9806aa259feb2f6fd582b6342c835a3482fccc6 (patch) | |
tree | 432ea57e608d7d2f0ecd0a477813f471c4f6a3eb /drivers/usb/cdns3/cdns3-debug.h | |
parent | 133d05186325ce04494ea6488a6b86e50a446c12 (diff) |
arm64: Unmask PMR before going idle
CPU does not received signals for interrupts with a priority masked by
ICC_PMR_EL1. This means the CPU might not come back from a WFI
instruction.
Make sure ICC_PMR_EL1 does not mask interrupts when doing a WFI.
Since the logic of cpu_do_idle is becoming a bit more complex than just
two instructions, lets turn it from ASM to C.
Signed-off-by: Julien Thierry <[email protected]>
Suggested-by: Daniel Thompson <[email protected]>
Reviewed-by: Catalin Marinas <[email protected]>
Reviewed-by: Marc Zyngier <[email protected]>
Cc: Will Deacon <[email protected]>
Signed-off-by: Catalin Marinas <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions