Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • L linux
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Kirill Smelkov
  • linux
  • Repository
  • linux
  • kernel
  • irq
  • msi.c
Find file BlameHistoryPermalink
  • Maximilian Heyne's avatar
    x86/pci/xen: populate MSI sysfs entries · 335b4223
    Maximilian Heyne authored May 03, 2023
    Commit bf5e758f ("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 6c796996 ("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: bf5e758f
    
     ("genirq/msi: Simplify sysfs handling")
    Signed-off-by: default avatarMaximilian Heyne <mheyne@amazon.de>
    Reviewed-by: default avatarJuergen Gross <jgross@suse.com>
    Link: https://lore.kernel.org/r/20230503131656.15928-1-mheyne@amazon.de
    
    
    Signed-off-by: default avatarJuergen Gross <jgross@suse.com>
    335b4223
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7