Re: [RFC PATCH v3 08/12] powerpc: Introduce new mask bit for soft_enabled

2016-08-25 Thread Madhavan Srinivasan
On Thursday 25 August 2016 12:35 PM, Nicholas Piggin wrote: On Thu, 25 Aug 2016 11:59:59 +0530 Madhavan Srinivasan wrote: diff --git a/arch/powerpc/include/asm/hw_irq.h b/arch/powerpc/include/asm/hw_irq.h index c19169ac1fbb..e457438c6fdf 100644 ---

Re: [RFC PATCH v3 08/12] powerpc: Introduce new mask bit for soft_enabled

2016-08-25 Thread Nicholas Piggin
On Thu, 25 Aug 2016 11:59:59 +0530 Madhavan Srinivasan wrote: > diff --git a/arch/powerpc/include/asm/hw_irq.h > b/arch/powerpc/include/asm/hw_irq.h > index c19169ac1fbb..e457438c6fdf 100644 > --- a/arch/powerpc/include/asm/hw_irq.h > +++

[RFC PATCH v3 08/12] powerpc: Introduce new mask bit for soft_enabled

2016-08-25 Thread Madhavan Srinivasan
Currently soft_enabled is used as the flag to determine the interrupt state. Patch extends the soft_enabled to be used as a mask instead of a flag. So, each MASKABLE_* macro will carry additionaly "bitmask" paramater to specify the interrupt maskable level. Signed-off-by: Madhavan Srinivasan