[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [patch V3 00/35] genirq/msi, PCI/MSI: Spring cleaning - Part 2
- To: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
- From: Nishanth Menon <nm@xxxxxx>
- Date: Wed, 15 Dec 2021 19:45:27 -0600
- Cc: LKML <linux-kernel@xxxxxxxxxxxxxxx>, Bjorn Helgaas <helgaas@xxxxxxxxxx>, Marc Zygnier <maz@xxxxxxxxxx>, Alex Williamson <alex.williamson@xxxxxxxxxx>, Kevin Tian <kevin.tian@xxxxxxxxx>, Jason Gunthorpe <jgg@xxxxxxxxxx>, Megha Dey <megha.dey@xxxxxxxxx>, Ashok Raj <ashok.raj@xxxxxxxxx>, <linux-pci@xxxxxxxxxxxxxxx>, Cedric Le Goater <clg@xxxxxxxx>, Juergen Gross <jgross@xxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxxx>, Arnd Bergmann <arnd@xxxxxxxx>, Michael Ellerman <mpe@xxxxxxxxxxxxxx>, Benjamin Herrenschmidt <benh@xxxxxxxxxxxxxxxxxxx>, <linuxppc-dev@xxxxxxxxxxxxxxxx>, Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>, Bjorn Helgaas <bhelgaas@xxxxxxxxxx>, Stuart Yoder <stuyoder@xxxxxxxxx>, Laurentiu Tudor <laurentiu.tudor@xxxxxxx>, Tero Kristo <kristo@xxxxxxxxxx>, Santosh Shilimkar <ssantosh@xxxxxxxxxx>, <linux-arm-kernel@xxxxxxxxxxxxxxxxxxx>, Vinod Koul <vkoul@xxxxxxxxxx>, <dmaengine@xxxxxxxxxxxxxxx>, Mark Rutland <mark.rutland@xxxxxxx>, Will Deacon <will@xxxxxxxxxx>, Robin Murphy <robin.murphy@xxxxxxx>, Joerg Roedel <joro@xxxxxxxxxx>, <iommu@xxxxxxxxxxxxxxxxxxxxxxxxxx>, Jassi Brar <jassisinghbrar@xxxxxxxxx>, Peter Ujfalusi <peter.ujfalusi@xxxxxxxxx>, Sinan Kaya <okaya@xxxxxxxxxx>, <linux-wireless@xxxxxxxxxxxxxxx>, Johannes Berg <johannes.berg@xxxxxxxxx>
- Delivery-date: Thu, 16 Dec 2021 01:46:42 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
Hi Thomas,
On 17:35-20211215, Thomas Gleixner wrote:
> git://git.kernel.org/pub/scm/linux/kernel/git/tglx/devel.git
> msi-v4.2-part-3
As you helped offline, summarizing the details on part3 of the series:
I was seeing failure[1] of NFS(DMA) on all TI K3 platforms:
[ 1.013258] ti-bcdma 485c0100.dma-controller: Number of rings: 68
[ 1.019963] ti-bcdma 485c0100.dma-controller: Failed to allocate IRQs -28
[ 1.026938] ti-bcdma 485c0100.dma-controller: Failed to allocate MSI
interrupts
Rationale as you explained:
"
-28 is ENOSPC, which is returned when the interrupt allocation in the
MSI domain fails. Fix below.
"
Which turned out to be the fixup[2] you suggested and I confirm that
fixes the problem for me.
With the fixup in place:
Tested-by: Nishanth Menon <nm@xxxxxx>
for part 3 of the series as well.
Thanks once again for your help. Hope we can roll in the fixes for
part3.
[1] https://gist.github.com/nmenon/5971ab27aa626c022e276cc946e4b6c3
[2]
--- a/drivers/soc/ti/ti_sci_inta_msi.c
+++ b/drivers/soc/ti/ti_sci_inta_msi.c
@@ -68,6 +68,7 @@ static int ti_sci_inta_msi_alloc_descs(s
int set, i, count = 0;
memset(&msi_desc, 0, sizeof(msi_desc));
+ msi_desc.nvec_used = 1;
for (set = 0; set < res->sets; set++) {
for (i = 0; i < res->desc[set].num; i++, count++) {
--
Regards,
Nishanth Menon
Key (0xDDB5849D1736249D)/Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5 849D
1736 249D
- References:
- Re: [patch V3 00/35] genirq/msi, PCI/MSI: Spring cleaning - Part 2
- Re: [patch V3 00/35] genirq/msi, PCI/MSI: Spring cleaning - Part 2
- Re: [patch V3 00/35] genirq/msi, PCI/MSI: Spring cleaning - Part 2
- Re: [patch V3 00/35] genirq/msi, PCI/MSI: Spring cleaning - Part 2
- Re: [patch V3 00/35] genirq/msi, PCI/MSI: Spring cleaning - Part 2
- Re: [patch V3 00/35] genirq/msi, PCI/MSI: Spring cleaning - Part 2
- Re: [patch V3 00/35] genirq/msi, PCI/MSI: Spring cleaning - Part 2
- Re: [patch V3 00/35] genirq/msi, PCI/MSI: Spring cleaning - Part 2
- Re: [patch V3 00/35] genirq/msi, PCI/MSI: Spring cleaning - Part 2
- Re: [patch V3 00/35] genirq/msi, PCI/MSI: Spring cleaning - Part 2
|