Re: [EXTERNAL] [tip: x86/apic] x86/io_apic: Cleanup trigger/polarity helpers

From: David Woodhouse
Date: Wed Nov 18 2020 - 05:52:43 EST


On Wed, 2020-11-18 at 17:29 +0700, Suravee Suthikulpanit wrote:
> I might need your help debugging this issue. I'm seeing the following error:
>
> [ 14.005937] irq 29, desc: 00000000d200500b, depth: 0, count: 0, unhandled: 0
> [ 14.006234] ->handle_irq(): 00000000eab4b6eb, handle_bad_irq+0x0/0x230

Where's that line coming from?

> [ 14.006234] ->irq_data.chip(): 000000001cce6d6b, intcapxt_controller+0x0/0x120
> [ 14.006234] ->action(): 0000000083bfd734
> [ 14.006234] ->action->handler(): 0000000094806345, amd_iommu_int_handler+0x0/0x10
> [ 14.006234] unexpected IRQ trap at vector 1d
>
> Do you have any idea what might have gone wrong here?

Hm, vector 0x1d is vector 29. It's also IRQ 29. I wonder if that's a coincidence.

Can you make intcapxt_irqdomain_activate() print the 64-bit value that
it's writing to the intcapxt registers?

Attachment: smime.p7s
Description: S/MIME cryptographic signature