* POWER9: duplicate interrupt line in /proc/interrupts, kernel problem or userspace problem?
@ 2025-07-23 10:48 Simon Richter
2025-07-24 10:39 ` Michael Ellerman
0 siblings, 1 reply; 2+ messages in thread
From: Simon Richter @ 2025-07-23 10:48 UTC (permalink / raw)
To: linuxppc-dev, linux-kernel
Hi,
I have two lines starting with "LOC:" in /proc/interrupts, one with a
comment "Local timer interrupts for timer event device", the other
"Local timer interrupts for others".
This makes collectd unhappy, because it uses the first column as a
unique identifier.
Is this column supposed to be unique? (i.e. is this a kernel bug, or
should collectd expect this?)
Simon
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: POWER9: duplicate interrupt line in /proc/interrupts, kernel problem or userspace problem?
2025-07-23 10:48 POWER9: duplicate interrupt line in /proc/interrupts, kernel problem or userspace problem? Simon Richter
@ 2025-07-24 10:39 ` Michael Ellerman
0 siblings, 0 replies; 2+ messages in thread
From: Michael Ellerman @ 2025-07-24 10:39 UTC (permalink / raw)
To: Simon Richter, linuxppc-dev, linux-kernel
Simon Richter <Simon.Richter@hogyros.de> writes:
> Hi,
>
> I have two lines starting with "LOC:" in /proc/interrupts, one with a
> comment "Local timer interrupts for timer event device", the other
> "Local timer interrupts for others".
>
> This makes collectd unhappy, because it uses the first column as a
> unique identifier.
>
> Is this column supposed to be unique? (i.e. is this a kernel bug, or
> should collectd expect this?)
It probably is supposed to be unique. In the early days it was just the
irq number (which is unique), and then later the named entries were
added. There's no formal spec for the format, and it's really intended
to be human readable, so who can say for sure.
But yeah I think it's reasonable to call it a powerpc kernel bug.
Having said that, it's been like that on powerpc since 2013, so although
we can fix it now, there's 12 years of kernels out there that have the
duplicate entries.
cheers
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-07-24 10:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-07-23 10:48 POWER9: duplicate interrupt line in /proc/interrupts, kernel problem or userspace problem? Simon Richter
2025-07-24 10:39 ` Michael Ellerman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®