diff options
author | Chris Lew <[email protected]> | 2024-06-27 16:18:30 +0530 |
---|---|---|
committer | Bjorn Andersson <[email protected]> | 2024-07-01 22:31:14 -0500 |
commit | e49380c155940cb47e291a4b3fcb7fdffee6aa4d (patch) | |
tree | 80a24e36fffd5382c95f313d5d27ed4ef4a1bfe7 /drivers/fpga/fpga-bridge.c | |
parent | 05a21e8b5d006177bce7332523eea5e3f2ee23ab (diff) |
soc: qcom: smp2p: Use devname for interrupt descriptions
When using /proc/interrupts to collect statistics on smp2p interrupt
counts, it is hard to distinguish the different instances of smp2p from
each other. For example to debug a processor boot issue, the ready and
handover interrupts are checked for sanity to ensure the firmware
reached a specific initialization stage.
Remove "smp2p" string from the irq request so that the irq will default
to the device name. Add an .irq_print_chip() callback to print the irq
chip name as the device name. These two changes allow for a unique name
to be used in /proc/interrupts as shown below.
/ # cat /proc/interrupts | grep smp2p
18: ... ipcc 196610 Edge smp2p-adsp
20: ... ipcc 131074 Edge smp2p-modem
170: ... smp2p-modem 1 Edge q6v5 ready
178: ... smp2p-adsp 1 Edge q6v5 ready
Signed-off-by: Chris Lew <[email protected]>
Reviewed-by: Konrad Dybcio <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Bjorn Andersson <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions