]> www.infradead.org Git - users/hch/misc.git/commitdiff
PCI: tegra194: Set pci_epc_features::msi_capable to true
authorNiklas Cassel <cassel@kernel.org>
Wed, 24 Sep 2025 16:20:52 +0000 (21:50 +0530)
committerManivannan Sadhasivam <mani@kernel.org>
Wed, 24 Sep 2025 16:23:07 +0000 (21:53 +0530)
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
drivers/pci/controller/dwc/pcie-tegra194.c

index a00d5b9cd8717e8886b4da9411cfa30dedac6141..fe418b9bfbb4b2da95043d1986b7961ea55f2fa6 100644 (file)
@@ -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, },