diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2022-11-11 14:54:22 +0100 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2022-11-17 15:15:18 +0100 |
commit | 2f2940d168236a92df524a1bd99fc7b0325918b5 (patch) | |
tree | 99959d69b2a4e74b5d0c0c440b698abeda061d4f /drivers/base/platform-msi.c | |
parent | befd780253e774ea9388dd8dfad7c627a0aa7e02 (diff) | |
download | linux-2f2940d168236a92df524a1bd99fc7b0325918b5.tar.gz linux-2f2940d168236a92df524a1bd99fc7b0325918b5.tar.bz2 linux-2f2940d168236a92df524a1bd99fc7b0325918b5.zip |
genirq/msi: Remove filter from msi_free_descs_free_range()
When a range of descriptors is freed then all of them are not associated to
a linux interrupt. Remove the filter and add a warning to the free function.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Ashok Raj <ashok.raj@intel.com>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Link: https://lore.kernel.org/r/20221111122013.888850936@linutronix.de
Diffstat (limited to 'drivers/base/platform-msi.c')
-rw-r--r-- | drivers/base/platform-msi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/base/platform-msi.c b/drivers/base/platform-msi.c index 12b044151298..dddafa197693 100644 --- a/drivers/base/platform-msi.c +++ b/drivers/base/platform-msi.c @@ -325,7 +325,7 @@ void platform_msi_device_domain_free(struct irq_domain *domain, unsigned int vir msi_lock_descs(data->dev); irq_domain_free_irqs_common(domain, virq, nr_irqs); - msi_free_msi_descs_range(data->dev, MSI_DESC_ALL, virq, virq + nr_irqs - 1); + msi_free_msi_descs_range(data->dev, virq, virq + nr_irqs - 1); msi_unlock_descs(data->dev); } |