All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] irq: irq-hip04: initialize hip04_cpu_map to 0xffff
@ 2014-12-11 11:03 Wang Long
  2014-12-11 11:19 ` Haojian Zhuang
  2015-01-07  2:17 ` Jason Cooper
  0 siblings, 2 replies; 4+ messages in thread
From: Wang Long @ 2014-12-11 11:03 UTC (permalink / raw)
  To: tglx, jason, haojian.zhuang; +Cc: linux-kernel, peifeiyue, huxinwei

HiP04 GIC extends to support 16 cores, so we should
initialize the hip04_cpu_map to 0xffff.

Signed-off-by: Wang Long <long.wanglong@huawei.com>
---
 drivers/irqchip/irq-hip04.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/irqchip/irq-hip04.c b/drivers/irqchip/irq-hip04.c
index 9c8f8335..8eee46b 100644
--- a/drivers/irqchip/irq-hip04.c
+++ b/drivers/irqchip/irq-hip04.c
@@ -382,7 +382,7 @@ hip04_of_init(struct device_node *node, struct device_node *parent)
 	 * It will be refined as each CPU probes its ID.
 	 */
 	for (i = 0; i < NR_HIP04_CPU_IF; i++)
-		hip04_cpu_map[i] = 0xff;
+		hip04_cpu_map[i] = 0xffff;
 
 	/*
 	 * Find out how many interrupts are supported.
-- 
1.8.3.4


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] irq: irq-hip04: initialize hip04_cpu_map to 0xffff
  2014-12-11 11:03 [PATCH] irq: irq-hip04: initialize hip04_cpu_map to 0xffff Wang Long
@ 2014-12-11 11:19 ` Haojian Zhuang
  2015-01-04  4:08   ` long.wanglong
  2015-01-07  2:17 ` Jason Cooper
  1 sibling, 1 reply; 4+ messages in thread
From: Haojian Zhuang @ 2014-12-11 11:19 UTC (permalink / raw)
  To: Wang Long
  Cc: tglx@linutronix.de, Jason Cooper, linux-kernel@vger.kernel.org,
	peifeiyue, Xinwei Hu

On 11 December 2014 at 19:03, Wang Long <long.wanglong@huawei.com> wrote:
> HiP04 GIC extends to support 16 cores, so we should
> initialize the hip04_cpu_map to 0xffff.
>
> Signed-off-by: Wang Long <long.wanglong@huawei.com>
> ---
>  drivers/irqchip/irq-hip04.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/irqchip/irq-hip04.c b/drivers/irqchip/irq-hip04.c
> index 9c8f8335..8eee46b 100644
> --- a/drivers/irqchip/irq-hip04.c
> +++ b/drivers/irqchip/irq-hip04.c
> @@ -382,7 +382,7 @@ hip04_of_init(struct device_node *node, struct device_node *parent)
>          * It will be refined as each CPU probes its ID.
>          */
>         for (i = 0; i < NR_HIP04_CPU_IF; i++)
> -               hip04_cpu_map[i] = 0xff;
> +               hip04_cpu_map[i] = 0xffff;
>
>         /*
>          * Find out how many interrupts are supported.
> --
> 1.8.3.4
>

Acked-by: Haojian Zhuang <haojian.zhuang@linaro.org>

Best Regards
Haojian

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] irq: irq-hip04: initialize hip04_cpu_map to 0xffff
  2014-12-11 11:19 ` Haojian Zhuang
@ 2015-01-04  4:08   ` long.wanglong
  0 siblings, 0 replies; 4+ messages in thread
From: long.wanglong @ 2015-01-04  4:08 UTC (permalink / raw)
  To: Haojian Zhuang, tglx@linutronix.de, Jason Cooper
  Cc: linux-kernel@vger.kernel.org, peifeiyue

On 2014/12/11 19:19, Haojian Zhuang wrote:
> On 11 December 2014 at 19:03, Wang Long <long.wanglong@huawei.com> wrote:
>> HiP04 GIC extends to support 16 cores, so we should
>> initialize the hip04_cpu_map to 0xffff.
>>
>> Signed-off-by: Wang Long <long.wanglong@huawei.com>
>> ---
>>  drivers/irqchip/irq-hip04.c | 2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/drivers/irqchip/irq-hip04.c b/drivers/irqchip/irq-hip04.c
>> index 9c8f8335..8eee46b 100644
>> --- a/drivers/irqchip/irq-hip04.c
>> +++ b/drivers/irqchip/irq-hip04.c
>> @@ -382,7 +382,7 @@ hip04_of_init(struct device_node *node, struct device_node *parent)
>>          * It will be refined as each CPU probes its ID.
>>          */
>>         for (i = 0; i < NR_HIP04_CPU_IF; i++)
>> -               hip04_cpu_map[i] = 0xff;
>> +               hip04_cpu_map[i] = 0xffff;
>>
>>         /*
>>          * Find out how many interrupts are supported.
>> --
>> 1.8.3.4
>>
> 
> Acked-by: Haojian Zhuang <haojian.zhuang@linaro.org>
> 
> Best Regards
> Haojian
> 
> 

hi Thomas Gleixner, Jason Cooper

could you please help to apply this patch?

Best Regards
Wang Long



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] irq: irq-hip04: initialize hip04_cpu_map to 0xffff
  2014-12-11 11:03 [PATCH] irq: irq-hip04: initialize hip04_cpu_map to 0xffff Wang Long
  2014-12-11 11:19 ` Haojian Zhuang
@ 2015-01-07  2:17 ` Jason Cooper
  1 sibling, 0 replies; 4+ messages in thread
From: Jason Cooper @ 2015-01-07  2:17 UTC (permalink / raw)
  To: Wang Long; +Cc: tglx, haojian.zhuang, linux-kernel, peifeiyue, huxinwei

On Thu, Dec 11, 2014 at 11:03:36AM +0000, Wang Long wrote:
> HiP04 GIC extends to support 16 cores, so we should
> initialize the hip04_cpu_map to 0xffff.
> 
> Signed-off-by: Wang Long <long.wanglong@huawei.com>
> ---
>  drivers/irqchip/irq-hip04.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Applied to irqchip/urgent with Haojian Zhuang's Ack.

thx,

Jason.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-01-07  2:17 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-11 11:03 [PATCH] irq: irq-hip04: initialize hip04_cpu_map to 0xffff Wang Long
2014-12-11 11:19 ` Haojian Zhuang
2015-01-04  4:08   ` long.wanglong
2015-01-07  2:17 ` Jason Cooper

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.