Have support multiple PCI MSI interrupts on LS1043ARDB?

cancel
Showing results for 
Search instead for 
Did you mean: 

Have support multiple PCI MSI interrupts on LS1043ARDB?

395 Views
amw
Contributor I

my pcie device require 15 MSI interrupts,but I cannot  enable interrupts by pci_enable_msi_range or pci_alloc_irq_vectors interfaces.

pci_enable_msi_range always return 1,

I found that

static struct msi_domain_info ls_scfg_msi_domain_info = {
.flags = (MSI_FLAG_USE_DEF_DOM_OPS |
MSI_FLAG_USE_DEF_CHIP_OPS |
MSI_FLAG_PCI_MSIX),
.chip = &ls_scfg_msi_irq_chip,
};

msi driver support MSI_FLAG_PCI_MSIX,but not support MSI_FLAG_MULTI_PCI_MSI

my pcie device not support MSI-X,

How get 15 msi interrupts?

 

my build sdk is flexbuild_lsdk1812_update_010719

linux kernel version is 4.9.140

 

 

 

0 Kudos
1 Reply

385 Views
yipingwang
NXP TechSupport
NXP TechSupport

Please try to apply the attached patch.

As on ls1043a rev1.1 each MSI controller can support up to 32 MSI/MSI-X (with the kernel parameter lsmsi=no-affinity)

0 Kudos