Article 5627H unable to map GSI to IRQ

unable to map GSI to IRQ

by
abhishek@miet
from LinuxQuestions.org on (#5627H)
Hell i am newbie, if i am not posting appropriate place, please move it to the correct place.

Hi we are using Linux 5.6. We are working on adding PCIe error reporting using firmware-first method. Our PCIe Root port controller is not ECAM compliant so it's hide from the kernel, That is why we are not using the Advance Error Reporting mechanism.

In firmware-first method in ghes drivers we are trying to get gsi to irq no using acpi_gsi_to_irq(). In my case IRQ number is 151. This api return error "Failed to map GSI to IRQ". So we debugged our problem abd we found that we get zero after irq_find_mapping(). This should not be zero, some mapped irq no should be return.

Is it possible due to non ECAM compliant root port, our gsi to irq mapping getting failed.if not show, please suggests where to debug this problem in kernel.

Error message:
GHES: Failed to map GSI to IRQ for generic hardware error source: 1

Thank youlatest?d=yIl2AUoC8zA latest?i=njOb0cFrD7Q:BOiCbJErEOE:F7zBnMy latest?i=njOb0cFrD7Q:BOiCbJErEOE:V_sGLiP latest?d=qj6IDK7rITs latest?i=njOb0cFrD7Q:BOiCbJErEOE:gIN9vFwnjOb0cFrD7Q
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments