irq: irq-hip04: initialize hip04_cpu_map to 0xffff
PATCH 1/1 irq: irq-hip04: initialize hip04_cpu_map to 0xffff
HiP04 GIC extends to support 16 cores, so we should initialize the hip04_cpu_map to 0xffff.
Signed-off-by Wang Long <[email protected]>
--- drivers/irqchip/irq-hip04.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/irqchip/irq-hip04.c +1 -1
@@ -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.
Signature · 1 line
1.8.3.4
Quoted 22 lines · Wang Long
HiP04 GIC extends to support 16 cores, so we should initialize the
hip04_cpu_mapto0xffff.Signed-off-by Wang Long <[email protected]>--- drivers/irqchip/irq-hip04.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/irqchip/irq-hip04.c +1
-2@@ -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. --
Quoted 2 lines
1.8.3.4
Acked-by Haojian Zhuang <[email protected]>
Best Regards
Haojian
Quoted 28 lines · Haojian Zhuang
Quoted 22 lines · Wang Long
HiP04 GIC extends to support 16 cores, so we should initialize the
hip04_cpu_mapto0xffff.Signed-off-by Wang Long <[email protected]>--- drivers/irqchip/irq-hip04.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/irqchip/irq-hip04.c +1
-2@@ -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. -- Quoted 2 lines
1.8.3.4
Acked-by Haojian Zhuang <[email protected]>
Quoted 4 lines
Best Regards
Haojian
hi Thomas Gleixner, Jason Cooper
could you please help to apply this patch?
Best Regards
Wang Long
Jason Cooper
AppliedQuoted 7 lines · Wang Long
HiP04 GIC extends to support 16 cores, so we should initialize the
hip04_cpu_mapto0xffff.Signed-off-by Wang Long <[email protected]>--- drivers/irqchip/irq-hip04.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Applied to irqchip/urgent with Haojian Zhuang's Ack.
thx,
Jason.