Re: [PATCH 02/10] irqchip/gic-v3-its: Consolidate LPI_PENDBASE_SZ usage

2018-09-26 Thread Marc Zyngier
On 24/09/18 11:33, Suzuki K Poulose wrote: Hi Marc, On 21/09/18 20:59, Marc Zyngier wrote: LPI_PENDING_SZ is always used in conjunction with a max(). Let's factor this in the definition of the macro, and simplify the rest of the code. Signed-off-by: Marc Zyngier ---

Re: [PATCH 02/10] irqchip/gic-v3-its: Consolidate LPI_PENDBASE_SZ usage

2018-09-26 Thread Marc Zyngier
On 24/09/18 11:33, Suzuki K Poulose wrote: Hi Marc, On 21/09/18 20:59, Marc Zyngier wrote: LPI_PENDING_SZ is always used in conjunction with a max(). Let's factor this in the definition of the macro, and simplify the rest of the code. Signed-off-by: Marc Zyngier ---

Re: [PATCH 02/10] irqchip/gic-v3-its: Consolidate LPI_PENDBASE_SZ usage

2018-09-24 Thread Julien Thierry
On 24/09/18 11:54, Suzuki K Poulose wrote: On 24/09/18 11:50, Julien Thierry wrote: Hi, On 24/09/18 11:33, Suzuki K Poulose wrote: Hi Marc, On 21/09/18 20:59, Marc Zyngier wrote: LPI_PENDING_SZ is always used in conjunction with a max(). Let's factor this in the definition of the

Re: [PATCH 02/10] irqchip/gic-v3-its: Consolidate LPI_PENDBASE_SZ usage

2018-09-24 Thread Julien Thierry
On 24/09/18 11:54, Suzuki K Poulose wrote: On 24/09/18 11:50, Julien Thierry wrote: Hi, On 24/09/18 11:33, Suzuki K Poulose wrote: Hi Marc, On 21/09/18 20:59, Marc Zyngier wrote: LPI_PENDING_SZ is always used in conjunction with a max(). Let's factor this in the definition of the

Re: [PATCH 02/10] irqchip/gic-v3-its: Consolidate LPI_PENDBASE_SZ usage

2018-09-24 Thread Suzuki K Poulose
On 24/09/18 11:50, Julien Thierry wrote: Hi, On 24/09/18 11:33, Suzuki K Poulose wrote: Hi Marc, On 21/09/18 20:59, Marc Zyngier wrote: LPI_PENDING_SZ is always used in conjunction with a max(). Let's factor this in the definition of the macro, and simplify the rest of the code.

Re: [PATCH 02/10] irqchip/gic-v3-its: Consolidate LPI_PENDBASE_SZ usage

2018-09-24 Thread Suzuki K Poulose
On 24/09/18 11:50, Julien Thierry wrote: Hi, On 24/09/18 11:33, Suzuki K Poulose wrote: Hi Marc, On 21/09/18 20:59, Marc Zyngier wrote: LPI_PENDING_SZ is always used in conjunction with a max(). Let's factor this in the definition of the macro, and simplify the rest of the code.

Re: [PATCH 02/10] irqchip/gic-v3-its: Consolidate LPI_PENDBASE_SZ usage

2018-09-24 Thread Julien Thierry
Hi, On 24/09/18 11:33, Suzuki K Poulose wrote: Hi Marc, On 21/09/18 20:59, Marc Zyngier wrote: LPI_PENDING_SZ is always used in conjunction with a max(). Let's factor this in the definition of the macro, and simplify the rest of the code. Signed-off-by: Marc Zyngier ---  

Re: [PATCH 02/10] irqchip/gic-v3-its: Consolidate LPI_PENDBASE_SZ usage

2018-09-24 Thread Julien Thierry
Hi, On 24/09/18 11:33, Suzuki K Poulose wrote: Hi Marc, On 21/09/18 20:59, Marc Zyngier wrote: LPI_PENDING_SZ is always used in conjunction with a max(). Let's factor this in the definition of the macro, and simplify the rest of the code. Signed-off-by: Marc Zyngier ---  

Re: [PATCH 02/10] irqchip/gic-v3-its: Consolidate LPI_PENDBASE_SZ usage

2018-09-24 Thread Suzuki K Poulose
Hi Marc, On 21/09/18 20:59, Marc Zyngier wrote: LPI_PENDING_SZ is always used in conjunction with a max(). Let's factor this in the definition of the macro, and simplify the rest of the code. Signed-off-by: Marc Zyngier --- drivers/irqchip/irq-gic-v3-its.c | 12 1 file

Re: [PATCH 02/10] irqchip/gic-v3-its: Consolidate LPI_PENDBASE_SZ usage

2018-09-24 Thread Suzuki K Poulose
Hi Marc, On 21/09/18 20:59, Marc Zyngier wrote: LPI_PENDING_SZ is always used in conjunction with a max(). Let's factor this in the definition of the macro, and simplify the rest of the code. Signed-off-by: Marc Zyngier --- drivers/irqchip/irq-gic-v3-its.c | 12 1 file

[PATCH 02/10] irqchip/gic-v3-its: Consolidate LPI_PENDBASE_SZ usage

2018-09-21 Thread Marc Zyngier
LPI_PENDING_SZ is always used in conjunction with a max(). Let's factor this in the definition of the macro, and simplify the rest of the code. Signed-off-by: Marc Zyngier --- drivers/irqchip/irq-gic-v3-its.c | 12 1 file changed, 4 insertions(+), 8 deletions(-) diff --git

[PATCH 02/10] irqchip/gic-v3-its: Consolidate LPI_PENDBASE_SZ usage

2018-09-21 Thread Marc Zyngier
LPI_PENDING_SZ is always used in conjunction with a max(). Let's factor this in the definition of the macro, and simplify the rest of the code. Signed-off-by: Marc Zyngier --- drivers/irqchip/irq-gic-v3-its.c | 12 1 file changed, 4 insertions(+), 8 deletions(-) diff --git