From: David Daney <ddaney@caviumnetworks.com>
To: Manuel Lauss <mano@roarinelk.homelinux.net>
Cc: Linux-MIPS <linux-mips@linux-mips.org>,
Ralf Baechle <ralf@linux-mips.org>
Subject: Re: [PATCH 06/14] MIPS: print irq handler description
Date: Thu, 15 Jan 2009 11:38:18 -0800 [thread overview]
Message-ID: <496F90AA.7070407@caviumnetworks.com> (raw)
In-Reply-To: <535458cb8c8f570089b2712a1e73ca7314d5b7c7.1229846413.git.mano@roarinelk.homelinux.net>
Manuel Lauss wrote:
> Add the name set by set_irq_chip_and_handler_name() to the output of
Alchemy is the only mips cpu that uses set_irq_chip_and_handler_name()...
> /proc/interrupts, like so:
>
> db1200 ~ # cat /proc/interrupts
> CPU0
> 8: 52 Alchemy-IC0-hilevel serial
> 10: 171 Alchemy-IC0-hilevel au1xxx-mmc
> 11: 47 Alchemy-IC0-hilevel Au1xxx dbdma
> 18: 1 Alchemy-IC0-hilevel au1550-spi
> 29: 1250997 Alchemy-IC0-riseedge timer
> 37: 211 Alchemy-IC0-hilevel ehci_hcd:usb1, ohci_hcd:usb2
> 38: 0 Alchemy-IC0-hilevel lcd
> 72: 2623 DB1200 CPLD-level ide0
> 73: 257 DB1200 CPLD-level eth0
> 84: 1 DB1200 CPLD-level sd_insert
> 85: 0 DB1200 CPLD-level sd_eject
>
> ERR: 0
>
> Signed-off-by: Manuel Lauss <mano@roarinelk.homelinux.net>
> ---
> arch/mips/kernel/irq.c | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/arch/mips/kernel/irq.c b/arch/mips/kernel/irq.c
> index 4b4007b..a0ff2b6 100644
> --- a/arch/mips/kernel/irq.c
> +++ b/arch/mips/kernel/irq.c
> @@ -111,6 +111,7 @@ int show_interrupts(struct seq_file *p, void *v)
> seq_printf(p, "%10u ", kstat_cpu(j).irqs[i]);
> #endif
> seq_printf(p, " %14s", irq_desc[i].chip->name);
> + seq_printf(p, "-%-8s", irq_desc[i].name);
> seq_printf(p, " %s", action->name);
>
... so for most mips CPUs we now get something ugly like this:
octeon:~# cat /proc/interrupts
CPU0 CPU1 CPU2 CPU3
23: 7371 7120 5747 5373 Core-<NULL>
timer
56: 6171 9482 7023 8102 CIU0-<NULL>
mailbox0
57: 0 0 0 0 CIU0-<NULL>
mailbox1
58: 156 0 0 0 CIU0-<NULL>
serial
64: 376 0 0 0 CIU0-<NULL>
MSI[0:63]
86: 0 0 0 0 CIU0-<NULL>
mgmt0
87: 1928 0 0 0 CIU0-<NULL>
pata_octeon_cf
88: 7 0 0 0 CIU1-<NULL>
watchdog
89: 0 7 0 0 CIU1-<NULL>
watchdog
90: 0 0 7 0 CIU1-<NULL>
watchdog
91: 0 0 0 7 CIU1-<NULL>
watchdog
106: 0 0 0 0 CIU1-<NULL>
mgmt1
152: 376 0 0 0 MSI-<NULL>
eth0
next prev parent reply other threads:[~2009-01-15 19:40 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-21 8:26 [PATCH 00/14] Alchemy updates v6 Manuel Lauss
2008-12-21 8:26 ` [PATCH 01/14] Alchemy: move development board code to common subdirectory Manuel Lauss
2008-12-21 17:08 ` Ralf Baechle
2008-12-21 18:14 ` Sergei Shtylyov
2008-12-21 8:26 ` [PATCH 02/14] Alchemy: devboards: consolidate files Manuel Lauss
2008-12-21 17:11 ` Ralf Baechle
2008-12-21 8:26 ` [PATCH 03/14] Alchemy: move commandline mangling out of common code Manuel Lauss
2008-12-21 8:26 ` [PATCH 04/14] Alchemy: update core interrupt code Manuel Lauss
2008-12-21 8:26 ` [PATCH 05/14] Alchemy: pb1200: update CPLD cascade irq handler Manuel Lauss
2008-12-21 8:26 ` [PATCH 06/14] MIPS: print irq handler description Manuel Lauss
2009-01-15 19:38 ` David Daney [this message]
2009-01-15 19:49 ` Manuel Lauss
2009-01-15 19:58 ` David Daney
2009-01-15 20:22 ` Manuel Lauss
2009-02-27 14:07 ` Ralf Baechle
2008-12-21 8:26 ` [PATCH 07/14] Alchemy: remove get/set_au1x00_lcd_clock() Manuel Lauss
2008-12-21 8:26 ` [PATCH 08/14] Alchemy: remove cpu_table Manuel Lauss
2008-12-21 8:26 ` [PATCH 09/14] MIPS: make cp0 counter clocksource/event usable as fallback Manuel Lauss
2008-12-21 8:26 ` [PATCH 10/14] Alchemy: RTC counter clocksource / clockevent support Manuel Lauss
2008-12-21 8:26 ` [PATCH 11/14] Alchemy: move calc_clock function Manuel Lauss
2008-12-21 8:26 ` [PATCH 12/14] Alchemy: Fix up PM code on Au1550/Au1200 Manuel Lauss
2008-12-21 8:26 ` [PATCH 13/14] Alchemy: dbdma suspend/resume support Manuel Lauss
2008-12-21 8:26 ` [PATCH 14/14] Alchemy: new userspace suspend interface for development boards Manuel Lauss
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=496F90AA.7070407@caviumnetworks.com \
--to=ddaney@caviumnetworks.com \
--cc=linux-mips@linux-mips.org \
--cc=mano@roarinelk.homelinux.net \
--cc=ralf@linux-mips.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.