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

2019-01-14 Thread Catalin Marinas
On Tue, Jan 08, 2019 at 02:07:25PM +, 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.

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

2019-01-08 Thread Julien Thierry
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 Suggested-by: Daniel Thompson Cc: Oleg