[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <BN9PR11MB52760110F539C1616C2ED8CD8C0F9@BN9PR11MB5276.namprd11.prod.outlook.com>
Date: Thu, 24 Nov 2022 02:54:57 +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>
Subject: RE: [patch V2 21/33] genirq/msi: Provide msi_domain_alloc_irq_at()
> From: Thomas Gleixner <tglx@...utronix.de>
> Sent: Monday, November 21, 2022 10:38 PM
>
> For supporting post MSI-X enable allocations and for the upcoming PCI/IMS
> support a seperate interface is required which allows not only the
s/seperate/separate/
>
> The function also takes an optional @cookie argument which is of type union
> msi_dev_cookie. This cookie is not used by the core code and is stored in
no msi_dev_cookie.
>
> +/*
> + * Constant to be used for dynamic allocations when the allocation
> + * is any free MSI index (entry in the MSI-X table or a software
> + * managed index.
miss a parenthesis in the end.
> + *
> + * This requires a MSI interrupt domain which lets the core code manage
> the
> + * MSI descriptors.
> + *
> + * Return: struct msi_map
> + *
> + * On success msi_map::index contains the allocated index number and
> + * msi_map::virq the corresponding Linux interrupt number
msi_map::virq 'contains' the...
Powered by blists - more mailing lists