• Linus Torvalds's avatar
    Merge tag 'irq-urgent-2023-03-05' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 4e9c542c
    Linus Torvalds authored
    Pull irq updates from Thomas Gleixner:
     "A set of updates for the interrupt susbsystem:
    
       - Prevent possible NULL pointer derefences in
         irq_data_get_affinity_mask() and irq_domain_create_hierarchy()
    
       - Take the per device MSI lock before invoking code which relies on
         it being hold
    
       - Make sure that MSI descriptors are unreferenced before freeing
         them. This was overlooked when the platform MSI code was converted
         to use core infrastructure and results in a fals positive warning
    
       - Remove dead code in the MSI subsystem
    
       - Clarify the documentation for pci_msix_free_irq()
    
       - More kobj_type constification"
    
    * tag 'irq-urgent-2023-03-05' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
      genirq/msi, platform-msi: Ensure that MSI descriptors are unreferenced
      genirq/msi: Drop dead domain name assignment
      irqdomain: Add missing NULL pointer check in irq_domain_create_hierarchy()
      genirq/irqdesc: Make kobj_type structures constant
      PCI/MSI: Clarify usage of pci_msix_free_irq()
      genirq/msi: Take the per-device MSI lock before validating the control structure
      genirq/ipi: Fix NULL pointer deref in irq_data_get_affinity_mask()
    4e9c542c
msi.c 45.8 KB