msm: pcie: support QGIC MSI for multiple clients
Add support to provide QGIC MSI for each client that requests for it when they share the same root complex. Change-Id: Ia7e33fae35b3c5083ff5834344c21d6c8288b53d Signed-off-by: Tony Truong <truong@codeaurora.org>
This commit is contained in:
parent
8a9006341d
commit
da2d8a086e
1 changed files with 1 additions and 1 deletions
|
@ -5696,7 +5696,7 @@ static int arch_setup_msi_irq_qgic(struct pci_dev *pdev,
|
|||
irq_set_msi_desc(firstirq, desc);
|
||||
msg.address_hi = 0;
|
||||
msg.address_lo = dev->msi_gicm_addr;
|
||||
msg.data = dev->msi_gicm_base;
|
||||
msg.data = dev->msi_gicm_base + (firstirq - dev->msi[0].num);
|
||||
write_msi_msg(firstirq, &msg);
|
||||
|
||||
return 0;
|
||||
|
|
Loading…
Add table
Reference in a new issue