Have support multiple PCI MSI interrupts on LS1043ARDB?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Have support multiple PCI MSI interrupts on LS1043ARDB?

2,706 次查看
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 项奖励
回复
1 回复

2,694 次查看
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 项奖励
回复