x86/PCI: Fix ALi M1487 (IBC) PIRQ router link value interpretation
authorMaciej W. Rozycki <macro@orcam.me.uk>
Thu, 6 Jan 2022 11:24:16 +0000 (11:24 +0000)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 2 Feb 2022 20:27:55 +0000 (21:27 +0100)
commit07a9d83afc3d193da7abad1929725ba3fcfb703c
tree1012ded7824a9c3fe0675ecb68ba92ec0bc51196
parentd1ba93f1f1844e969051e144b4c3b30780fc4812
x86/PCI: Fix ALi M1487 (IBC) PIRQ router link value interpretation

Correct ALi M1487 (IBC) PIRQ router link value (`pirq' cookie)
interpretation according to findings in the BIOS.

Credit to Nikolai Zhubr for the detective work as to the bit layout.

Fixes: 1ce849c75534 ("x86/PCI: Add support for the ALi M1487 (IBC) PIRQ router")
Signed-off-by: Maciej W. Rozycki <macro@orcam.me.uk>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/r/alpine.DEB.2.21.2201022131050.56863@angie.orcam.me.uk
arch/x86/pci/irq.c