diff options
| author | Frank Li <Frank.Li@nxp.com> | 2025-07-10 22:13:50 +0300 |
|---|---|---|
| committer | Bjorn Helgaas <bhelgaas@google.com> | 2025-07-25 00:51:37 +0300 |
| commit | c822392280aa9bc57ad3b5079020388950cce9c8 (patch) | |
| tree | 2e79f1a90699430aec85de8d0b2bd07192896493 /rust/helpers/workqueue.c | |
| parent | 1c3b002c6bf684b445a7107609979bca5f21bc03 (diff) | |
| download | linux-c822392280aa9bc57ad3b5079020388950cce9c8.tar.xz | |
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 <Frank.Li@nxp.com>
[mani: reworded error message and commit message]
Signed-off-by: Manivannan Sadhasivam <mani@kernel.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Tested-by: Niklas Cassel <cassel@kernel.org>
Link: https://patch.msgid.link/20250710-ep-msi-v21-4-57683fc7fb25@nxp.com
Diffstat (limited to 'rust/helpers/workqueue.c')
0 files changed, 0 insertions, 0 deletions
