Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
When the core MSI allocation fails, then the PCI/MSI code uses an already freed MSI descriptor to unmask the MSI mask register in order to bring it back into reset state. Remove MSI_FLAG_FREE_MSI_DESCS from the PCI/MSI irqdomain flags and let the PCI/MSI code free the MSI descriptors after usage. Fixes: 0f62d94 ("genirq/msi: Provide msi_domain_alloc/free_irqs_descs_locked()") Reported-by: Tong Zhang <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Tested-by: Tong Zhang <[email protected]> Acked-by: Bjorn Helgaas <[email protected]> Link: https://lore.kernel.org/r/87r1938vbn.ffs@tglx
- Loading branch information