[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <BN9PR11MB5276D82D1F75B82998A476058C099@BN9PR11MB5276.namprd11.prod.outlook.com>
Date: Fri, 18 Nov 2022 08:30:21 +0000
From: "Tian, Kevin" <kevin.tian@...el.com>
To: Thomas Gleixner <tglx@...utronix.de>,
LKML <linux-kernel@...r.kernel.org>
CC: "x86@...nel.org" <x86@...nel.org>, Joerg Roedel <joro@...tes.org>,
"Will Deacon" <will@...nel.org>,
"linux-pci@...r.kernel.org" <linux-pci@...r.kernel.org>,
Bjorn Helgaas <bhelgaas@...gle.com>,
"Lorenzo Pieralisi" <lorenzo.pieralisi@....com>,
Marc Zyngier <maz@...nel.org>,
"Greg Kroah-Hartman" <gregkh@...uxfoundation.org>,
Jason Gunthorpe <jgg@...lanox.com>,
"Jiang, Dave" <dave.jiang@...el.com>,
Alex Williamson <alex.williamson@...hat.com>,
"Williams, Dan J" <dan.j.williams@...el.com>,
Logan Gunthorpe <logang@...tatee.com>,
"Raj, Ashok" <ashok.raj@...el.com>, Jon Mason <jdmason@...zu.us>,
Allen Hubbe <allenbh@...il.com>,
"Ahmed S. Darwish" <darwi@...utronix.de>,
"Chatre, Reinette" <reinette.chatre@...el.com>
Subject: RE: [patch 14/20] genirq/msi: Provide new domain id based interfaces
for freeing interrupts
> From: Thomas Gleixner <tglx@...utronix.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);
Powered by blists - more mailing lists