* [PATCH] powerpc/8xx: Shorten irq_chip name for the SIU
@ 2015-08-21 11:05 Christophe Leroy
2015-10-12 11:21 ` Michael Ellerman
0 siblings, 1 reply; 2+ messages in thread
From: Christophe Leroy @ 2015-08-21 11:05 UTC (permalink / raw)
To: Benjamin Herrenschmidt, Paul Mackerras, Michael Ellerman,
scottwood
Cc: linux-kernel, linuxppc-dev
show_interrupts() expects the irq_chip name to be max 8 characters
otherwise everything get misaligned
# cat /proc/interrupts
CPU0
17: 0 CPM PIC 0 Level error
19: 0 MPC8XX SIU 15 Level tbint
20: 90 CPM PIC 4 Level cpm_uart
38: 29746 MPC8XX SIU 5 Level fs_enet-mac
39: 0 MPC8XX SIU 7 Level fs_enet-mac
47: 401 CPM PIC 5 Level fsl_spi
68: 1 MPC8XX SIU 2 Level phy_interrupt, phy_interrupt, phy_interrupt
LOC: 7225485 Local timer interrupts for timer event device
LOC: 9 Local timer interrupts for others
SPU: 0 Spurious interrupts
PMI: 0 Performance monitoring interrupts
MCE: 0 Machine check exceptions
Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
---
arch/powerpc/sysdev/mpc8xx_pic.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/powerpc/sysdev/mpc8xx_pic.c b/arch/powerpc/sysdev/mpc8xx_pic.c
index c4828c0..475e706 100644
--- a/arch/powerpc/sysdev/mpc8xx_pic.c
+++ b/arch/powerpc/sysdev/mpc8xx_pic.c
@@ -61,7 +61,7 @@ static int mpc8xx_set_irq_type(struct irq_data *d, unsigned int flow_type)
}
static struct irq_chip mpc8xx_pic = {
- .name = "MPC8XX SIU",
+ .name = "8XX SIU",
.irq_unmask = mpc8xx_unmask_irq,
.irq_mask = mpc8xx_mask_irq,
.irq_ack = mpc8xx_ack,
--
2.1.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: powerpc/8xx: Shorten irq_chip name for the SIU
2015-08-21 11:05 [PATCH] powerpc/8xx: Shorten irq_chip name for the SIU Christophe Leroy
@ 2015-10-12 11:21 ` Michael Ellerman
0 siblings, 0 replies; 2+ messages in thread
From: Michael Ellerman @ 2015-10-12 11:21 UTC (permalink / raw)
To: Christophe Leroy, Benjamin Herrenschmidt, Paul Mackerras,
scottwood
Cc: linuxppc-dev, linux-kernel
On Fri, 2015-21-08 at 11:05:15 UTC, Christophe Leroy wrote:
> show_interrupts() expects the irq_chip name to be max 8 characters
> otherwise everything get misaligned
>
> # cat /proc/interrupts
> CPU0
> 17: 0 CPM PIC 0 Level error
> 19: 0 MPC8XX SIU 15 Level tbint
> 20: 90 CPM PIC 4 Level cpm_uart
> 38: 29746 MPC8XX SIU 5 Level fs_enet-mac
> 39: 0 MPC8XX SIU 7 Level fs_enet-mac
> 47: 401 CPM PIC 5 Level fsl_spi
> 68: 1 MPC8XX SIU 2 Level phy_interrupt, phy_interrupt, phy_interrupt
> LOC: 7225485 Local timer interrupts for timer event device
> LOC: 9 Local timer interrupts for others
> SPU: 0 Spurious interrupts
> PMI: 0 Performance monitoring interrupts
> MCE: 0 Machine check exceptions
>
> Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Applied to powerpc next, thanks.
https://git.kernel.org/powerpc/c/255e8e046c3925ee45a86946
cheers
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-10-12 11:21 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-21 11:05 [PATCH] powerpc/8xx: Shorten irq_chip name for the SIU Christophe Leroy
2015-10-12 11:21 ` Michael Ellerman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).