diff options
author | Maximilian Heyne <mheyne@amazon.de> | 2023-05-03 13:16:53 +0000 |
---|---|---|
committer | Juergen Gross <jgross@suse.com> | 2023-05-24 18:08:49 +0200 |
commit | 335b4223466dd75f9f3ea4918187afbadd22e5c8 (patch) | |
tree | 6b1171e27f11345e8bbde2b521494f4a303119e8 /CREDITS | |
parent | 8fafac202d18230bb9926bda48e563fd2cce2a4f (diff) | |
download | lwn-335b4223466dd75f9f3ea4918187afbadd22e5c8.tar.gz lwn-335b4223466dd75f9f3ea4918187afbadd22e5c8.zip |
x86/pci/xen: populate MSI sysfs entries
Commit bf5e758f02fc ("genirq/msi: Simplify sysfs handling") reworked the
creation of sysfs entries for MSI IRQs. The creation used to be in
msi_domain_alloc_irqs_descs_locked after calling ops->domain_alloc_irqs.
Then it moved into __msi_domain_alloc_irqs which is an implementation of
domain_alloc_irqs. However, Xen comes with the only other implementation
of domain_alloc_irqs and hence doesn't run the sysfs population code
anymore.
Commit 6c796996ee70 ("x86/pci/xen: Fixup fallout from the PCI/MSI
overhaul") set the flag MSI_FLAG_DEV_SYSFS for the xen msi_domain_info
but that doesn't actually have an effect because Xen uses it's own
domain_alloc_irqs implementation.
Fix this by making use of the fallback functions for sysfs population.
Fixes: bf5e758f02fc ("genirq/msi: Simplify sysfs handling")
Signed-off-by: Maximilian Heyne <mheyne@amazon.de>
Reviewed-by: Juergen Gross <jgross@suse.com>
Link: https://lore.kernel.org/r/20230503131656.15928-1-mheyne@amazon.de
Signed-off-by: Juergen Gross <jgross@suse.com>
Diffstat (limited to 'CREDITS')
0 files changed, 0 insertions, 0 deletions