Re: [PATCH v8 09/26] arm64: Unmask PMR before going idle

2019-01-18 Thread Julien Thierry
On 18/01/2019 16:23, Catalin Marinas wrote: > On Tue, Jan 08, 2019 at 02:07:27PM +, Julien Thierry wrote: >> 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

Re: [PATCH v8 09/26] arm64: Unmask PMR before going idle

2019-01-18 Thread Catalin Marinas
On Tue, Jan 08, 2019 at 02:07:27PM +, Julien Thierry wrote: > 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

[PATCH v8 09/26] arm64: Unmask PMR before going idle

2019-01-08 Thread Julien Thierry
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