summaryrefslogtreecommitdiff
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorShivaprasad G Bhat <sbhat@linux.ibm.com>2026-08-19 17:58:22 +0000
committerMadhavan Srinivasan <maddy@linux.ibm.com>2026-09-05 11:11:39 +0530
commitd96171d911e3b89ca2957c04264019cf2f96287b (patch)
tree66ea33d241e371e3f132dbe320d1c131ff8014da /scripts/Makefile.thinlto
parentc2549d749539487239475fbc8c614a1f9244d655 (diff)
powerpc: pci-ioda: Fix the stale irq chip reference
The commit f0ac60e6e311 ("powerpc/powernv/pci: Switch to use msi_create_parent_irq_domain()") removed the legacy MSI irq chip pnv_pci_msi_irq_chip but left behind the static definition of it and its reference in is_pnv_opal_msi(). The KVM IRQ bypass for vfio devices is broken because the comparision in is_pnv_opal_msi() fails on the comparision with stale unused variable showing the below errors in dmesg. kvmppc_set_passthru_irq_hv: Could not assign IRQ map for (X,Y) kvmppc_set_passthru_irq (irq X, gsi Y) fails: -2 vfio-pci A:B:C.D irq bypass producer (eventfd Z) registration fails: -2 The patch removes the stale variable definition and fixes the is_pnv_opal_msi() by comparing against the chip name prefix. Fixes: f0ac60e6e311 ("powerpc/powernv/pci: Switch to use msi_create_parent_irq_domain()") Cc: stable@kernel.org Signed-off-by: Shivaprasad G Bhat <sbhat@linux.ibm.com> Tested-by: Gautam Menghani <gautam@linux.ibm.com> Signed-off-by: Madhavan Srinivasan <maddy@linux.ibm.com> Link: https://patch.msgid.link/178716225364.1437.6201568081502251835.stgit@linux.ibm.com
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions