Re: [PATCH v8 07/26] arm64: ptrace: Provide definitions for PMR values

From: Catalin Marinas
Date: Mon Jan 14 2019 - 11:12:43 EST


On Tue, Jan 08, 2019 at 02:07:25PM +0000, Julien Thierry wrote:
> Introduce fixed values for PMR that are going to be used to mask and
> unmask interrupts by priority.
>
> The current priority given to GIC interrupts is 0xa0, so clearing PMR's
> most significant bit is enough to mask interrupts.
>
> Signed-off-by: Julien Thierry <julien.thierry@xxxxxxx>
> Suggested-by: Daniel Thompson <daniel.thompson@xxxxxxxxxx>
> Cc: Oleg Nesterov <oleg@xxxxxxxxxx>
> Cc: Catalin Marinas <catalin.marinas@xxxxxxx>
> Cc: Will Deacon <will.deacon@xxxxxxx>

Acked-by: Catalin Marinas <catalin.marinas@xxxxxxx>