Re: [PATCH v10 12/25] arm64: irqflags: Use ICC_PMR_EL1 for interrupt masking

2019-02-08 Thread Catalin Marinas
On Fri, Feb 08, 2019 at 09:36:48AM +, Julien Thierry wrote: > From e839dec632bbf440efe8314751138ba46324078c Mon Sep 17 00:00:00 2001 > From: Julien Thierry > Date: Fri, 8 Feb 2019 09:21:58 + > Subject: [PATCH] arm64: irqflags: Fix clang build warnings > > Clang complains when passing asm

Re: [PATCH v10 12/25] arm64: irqflags: Use ICC_PMR_EL1 for interrupt masking

2019-02-08 Thread Nathan Chancellor
On Fri, Feb 08, 2019 at 09:36:48AM +, Julien Thierry wrote: > Hi Nathan, > > On 08/02/2019 04:35, Nathan Chancellor wrote: > > On Thu, Jan 31, 2019 at 02:58:50PM +, Julien Thierry wrote: > > [...] > > > > > Hi Julien, > > > > This patch introduced a slew of Clang warnings: > > > > In

Re: [PATCH v10 12/25] arm64: irqflags: Use ICC_PMR_EL1 for interrupt masking

2019-02-08 Thread Julien Thierry
Hi Nathan, On 08/02/2019 04:35, Nathan Chancellor wrote: > On Thu, Jan 31, 2019 at 02:58:50PM +, Julien Thierry wrote: [...] > > Hi Julien, > > This patch introduced a slew of Clang warnings: > > In file included from arch/arm64/kernel/signal.c:21: > In file included from

Re: [PATCH v10 12/25] arm64: irqflags: Use ICC_PMR_EL1 for interrupt masking

2019-02-07 Thread Nathan Chancellor
On Thu, Jan 31, 2019 at 02:58:50PM +, Julien Thierry wrote: > Instead disabling interrupts by setting the PSR.I bit, use a priority > higher than the one used for interrupts to mask them via PMR. > > When using PMR to disable interrupts, the value of PMR will be used > instead of PSR.[DAIF]

[PATCH v10 12/25] arm64: irqflags: Use ICC_PMR_EL1 for interrupt masking

2019-01-31 Thread Julien Thierry
Instead disabling interrupts by setting the PSR.I bit, use a priority higher than the one used for interrupts to mask them via PMR. When using PMR to disable interrupts, the value of PMR will be used instead of PSR.[DAIF] for the irqflags. Signed-off-by: Julien Thierry Suggested-by: Daniel