diff options
author | Niklas Cassel <cassel@kernel.org> | 2025-09-24 21:50:52 +0530 |
---|---|---|
committer | Manivannan Sadhasivam <mani@kernel.org> | 2025-09-24 21:53:07 +0530 |
commit | 82f1cc171ce95544c024837c20a54d1954a67a76 (patch) | |
tree | 5cc5d4efa3b7722a6d2cbd97c309844934838989 | |
parent | b640d42a6ac9ba01abe65ec34f7c73aaf6758ab8 (diff) |
PCI: tegra194: Set pci_epc_features::msi_capable to true
Since the driver supports MSI, set the flag to true. This helps
pci_endpoint_test to use the optimal IRQ type when using
PCITEST_IRQ_TYPE_AUTO.
Signed-off-by: Niklas Cassel <cassel@kernel.org>
[mani: splitted this change from the bug fix]
Signed-off-by: Manivannan Sadhasivam <mani@kernel.org>
Link: https://patch.msgid.link/20250922140822.519796-6-cassel@kernel.org
-rw-r--r-- | drivers/pci/controller/dwc/pcie-tegra194.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/pci/controller/dwc/pcie-tegra194.c b/drivers/pci/controller/dwc/pcie-tegra194.c index a00d5b9cd871..fe418b9bfbb4 100644 --- a/drivers/pci/controller/dwc/pcie-tegra194.c +++ b/drivers/pci/controller/dwc/pcie-tegra194.c @@ -1998,6 +1998,7 @@ static int tegra_pcie_ep_raise_irq(struct dw_pcie_ep *ep, u8 func_no, static const struct pci_epc_features tegra_pcie_epc_features = { .linkup_notifier = true, + .msi_capable = true, .bar[BAR_0] = { .type = BAR_FIXED, .fixed_size = SZ_1M, .only_64bit = true, }, .bar[BAR_1] = { .type = BAR_RESERVED, }, |