RE: [patch 14/20] genirq/msi: Provide new domain id based interfaces for freeing interrupts
From: Tian, Kevin
Date: Fri Nov 18 2022 - 03:31:19 EST
> From: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
> Sent: Friday, November 11, 2022 9:57 PM
> +/**
> + * msi_domain_free_irqs_all_locked - Free all interrupts from a MSI
> interrupt
from a MSI interrupt "domain"
> +
> +/**
> + * msi_domain_free_irqs_all - Free all interrupts from a MSI interrupt
> + * associated to a device
ditto
> - ops->domain_free_irqs(domain, dev);
> - if (ops->msi_post_free)
> - ops->msi_post_free(domain, dev);
> - msi_domain_free_msi_descs(info, dev);
> + msi_domain_free_irqs_range_locked(dev, MSI_DEFAULT_DOMAIN, 0,
> MSI_MAX_INDEX);
msi_domain_free_irqs_all_locked(dev, MSI_DEFAULT_DOMAIN);