pci_alloc_irq_vectors problem further investigation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

There is a driver developed by EmbeddedTS (the board is Marvell
armada-385, dual core processor) that tries to allocate 32 MSI
interrupts, using pci_alloc_irq_vectors(..,32,32,...). When I ran the
Kernel (4.14 NON RT) provided by them, it worked fine, but when I
recompiled the kernel (4.19.249 using the RT_FULL options), it didn't,
returning -ENOSPC.
In RT_FULL Kernel:
- First fact, when I ran pci_msi_vec_count, it returned 32.
- Second, if I changed to 16, calling
pci_alloc_irq_vectors(..,16,16,...), it  worked.
I traced this kernel and I found that:
pci_alloc_irq_vectors_affinity
  __pci_enable_msi_range
    msi_capability_init
      pci_msi_setup_msi_irqs
        msi_domain_alloc_irqs
          __irq_domain_alloc_irqs
            irq_domain_alloc_descs
              Then I stopped here...

I searched on the Internet, but I couldn't find anything.
Has someone had a similar problem?
Is there something that I missed? Some configuration??

Thanks

-- 
Danilo C. Zanella
Radio Astronomy Group  / IAG
University of Sao Paulo
Rua do Matão, 1226 - Cidade Universitária São Paulo - SP - Brasil - 05508-090
Tel.: +55 11 3091-2743




[Index of Archives]     [RT Stable]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux