diff options
| author | Frank Li <[email protected]> | 2025-07-10 19:13:50 +0000 |
|---|---|---|
| committer | Bjorn Helgaas <[email protected]> | 2025-07-24 21:51:37 +0000 |
| commit | c822392280aa9bc57ad3b5079020388950cce9c8 (patch) | |
| tree | 2e79f1a90699430aec85de8d0b2bd07192896493 /drivers/pci/controller/dwc/pcie-qcom-common.c | |
| parent | PCI: endpoint: Add RC-to-EP doorbell support using platform MSI controller (diff) | |
| download | kernel-c822392280aa9bc57ad3b5079020388950cce9c8.tar.gz kernel-c822392280aa9bc57ad3b5079020388950cce9c8.zip | |
PCI: endpoint: pci-ep-msi: Add checks for MSI parent and mutability
Some MSI controllers can change address/data pair during the execution of
irq_chip::irq_set_affinity() callback. Since the current PCI Endpoint
framework cannot support mutable MSI controllers, call
irq_domain_is_msi_immutable() API to check if the controller is immutable
or not.
Also ensure that the MSI domain is a parent MSI domain so that it can
allocate address/data pairs.
Signed-off-by: Frank Li <[email protected]>
[mani: reworded error message and commit message]
Signed-off-by: Manivannan Sadhasivam <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
Tested-by: Niklas Cassel <[email protected]>
Link: https://patch.msgid.link/[email protected]
Diffstat (limited to 'drivers/pci/controller/dwc/pcie-qcom-common.c')
0 files changed, 0 insertions, 0 deletions
