Spurious headphone detection interrupts
#6
I have no "irqbalance" daemon running, that's why the interrupts aren't distributed among CPU cores.

Below is the full contents of "/proc/interrupts" from my PineBook Pro, which is running Manjaro ARM, after about 12 hours of uptime and only one actual headphones plug-in event.  The remaining 22 are spurious.

Code:
$ cat /proc/interrupts
           CPU0       CPU1       CPU2       CPU3       CPU4       CPU5      
18:          0          0          0          0          0          0     GICv3  25 Level     vgic
20:          0          0          0          0          0          0     GICv3  27 Level     kvm guest vtimer
23:    3904518    3377900    3290159    3225236    2565583    2373591     GICv3  30 Level     arch_timer
25:    1864621    1612662    1191521     959221     222972     223531     GICv3 113 Level     rk_timer
26:          0          0          0          0          0          0  GICv3-23   0 Level     arm-pmu
27:          0          0          0          0          0          0  GICv3-23   1 Level     arm-pmu
28:          0          0          0          0          0          0     GICv3  37 Level     ff6d0000.dma-controller
29:     592173          0          0          0          0          0     GICv3  38 Level     ff6d0000.dma-controller
30:          0          0          0          0          0          0     GICv3  39 Level     ff6e0000.dma-controller
31:          1          0          0          0          0          0     GICv3  40 Level     ff6e0000.dma-controller
35:     227676          0          0          0          0          0     GICv3  96 Level     dw-mci
36:          0          0          0          0          0          0     GICv3  97 Level     dw-mci
37:     270459          0          0          0          0          0     GICv3  43 Level     mmc2
38:          2          0          0          0          0          0     GICv3  58 Level     ehci_hcd:usb1
39:     528071          0          0          0          0          0     GICv3  60 Level     ohci_hcd:usb3
40:        154          0          0          0          0          0     GICv3  62 Level     ehci_hcd:usb2
41:          0          0          0          0          0          0     GICv3  64 Level     ohci_hcd:usb4
43:          0          0          0          0          0          0     GICv3  94 Level     ff100000.saradc
44:       1383          0          0          0          0          0     GICv3  91 Level     ff110000.i2c
45:          0          0          0          0          0          0     GICv3  66 Level     ff130000.i2c
46:       1078          0          0          0          0          0     GICv3 131 Level     ttyS0
48:         15          0          0          0          0          0     GICv3  85 Level     ff1d0000.spi
49:          0          0          0          0          0          0     GICv3 129 Level     rockchip_thermal
50:   13812483          0          0          0          0          0     GICv3  89 Level     ff3c0000.i2c
51:     155002          0          0          0          0          0     GICv3  88 Level     ff3d0000.i2c
52:          0          0          0          0          0          0     GICv3 146 Level     ff650000.video-codec
53:          0          0          0          0          0          0     GICv3 145 Level     ff650000.video-codec
54:          0          0          0          0          0          0     GICv3 147 Level     ff650800.iommu
55:          0          0          0          0          0          0     GICv3 148 Level     ff660000.video-codec
56:          0          0          0          0          0          0     GICv3 149 Level     ff660480.iommu
57:          0          0          0          0          0          0     GICv3  87 Level     ff680000.rga
58:          0          0          0          0          0          0     GICv3 152 Edge      ff848000.watchdog
60:       3294          0          0          0          0          0     GICv3 151 Level     ff8f3f00.iommu, ff8f0000.vop
61:          0          0          0          0          0          0     GICv3 150 Level     ff903f00.iommu, ff900000.vop
62:          0          0          0          0          0          0     GICv3  75 Level     ff914000.iommu
63:          0          0          0          0          0          0     GICv3  76 Level     ff924000.iommu
64:          0          0          0          0          0          0     GICv3  42 Level     analogix-dp
65:          0          0          0          0          0          0     GICv3  52 Level     panfrost-job
66:          0          0          0          0          0          0     GICv3  53 Level     panfrost-mmu
67:          6          0          0          0          0          0     GICv3  51 Level     panfrost-gpu
73:          1          0          0          0          0          0     GICv3  59 Level     rockchip_usb2phy
74:          1          0          0          0          0          0     GICv3  63 Level     rockchip_usb2phy
75:          0          0          0          0          0          0     GICv3 137 Level     xhci-hcd:usb7
76:    4494953          0          0          0          0          0     GICv3 142 Level     xhci-hcd:usb5
77:          0          0          0          0          0          0  rockchip_gpio_irq  10 Level     rk808
83:          0          0          0          0          0          0     rk808   5 Edge      RTC alarm
87:          0          0          0          0          0          0  rockchip_gpio_irq   2 Level     fsc_interrupt_int_n
88:          0          0          0          0          0          0  rockchip_gpio_irq   7 Edge      fe320000.mmc cd
89:          2          0          0          0          0          0  rockchip_gpio_irq   1 Edge      Lid
90:          0          0          0          0          0          0  rockchip_gpio_irq   5 Edge      Power
91:          0          0          0          0          0          0  rockchip_gpio_irq  24 Edge      dc-charger
92:         23          0          0          0          0          0  rockchip_gpio_irq   8 Edge      Headphone detection
93:          3          0          0          0          0          0  rockchip_gpio_irq   4 Edge      host_wake
IPI0:  11682934   11200633   14275308   12625722    1059817     913992       Rescheduling interrupts
IPI1:   4229416    3802990    3781007    3766402    8341669    5314531       Function call interrupts
IPI2:         0          0          0          0          0          0       CPU stop interrupts
IPI3:         0          0          0          0          0          0       CPU stop (for crash dump) interrupts
IPI4:    390290     536615     563909     549713     234300     203538       Timer broadcast interrupts
IPI5:    419956     325416     265493     265074     219822     210541       IRQ work interrupts
IPI6:         0          0          0          0          0          0       CPU wake-up interrupts
Err:          0

My initial research points into the direction of a possible hardware issue, but I'll stay away from spending a lot of time and digging deeper until we actually have it confirmed as an issue.

By the way, what does the "intrctl" utility actually do?  I'm not familiar with it and a web search returns only NetBSD references?
  Reply


Messages In This Thread
RE: Spurious headphone detection interrupts - by dsimic - 01-07-2021, 06:56 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Microphone in through headphone jack SageFox 1 3,864 03-26-2020, 12:27 PM
Last Post: zaius

Forum Jump:


Users browsing this thread: 3 Guest(s)