RE: [patch 14/20] genirq/msi: Provide new domain id based interfaces for freeing interrupts

Tian, Kevin
2022-11-18T08:31:19Z

> From: Thomas Gleixner <tglx@linutronix.de>
> 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);