[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <86bm41w1yu.wl-marc.zyngier@arm.com>
Date: Mon, 28 Jan 2019 09:44:41 +0000
From: Marc Zyngier <marc.zyngier@....com>
To: Julien Thierry <julien.thierry@....com>
Cc: <linux-arm-kernel@...ts.infradead.org>,
<linux-kernel@...r.kernel.org>, <daniel.thompson@...aro.org>,
<joel@...lfernandes.org>, <christoffer.dall@....com>,
<james.morse@....com>, <catalin.marinas@....com>,
<will.deacon@....com>, <mark.rutland@....com>
Subject: Re: [PATCH v9 09/26] arm64: Unmask PMR before going idle
On Mon, 21 Jan 2019 15:33:28 +0000,
Julien Thierry <julien.thierry@....com> 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 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 <julien.thierry@....com>
> Suggested-by: Daniel Thompson <daniel.thompson@...aro.org>
> Cc: Catalin Marinas <catalin.marinas@....com>
> Cc: Will Deacon <will.deacon@....com>
Reviewed-by: Marc Zyngier <marc.zyngier@....com>
M.
--
Jazz is not dead, it just smell funny.
Powered by blists - more mailing lists