[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <17dbecb3-6261-4df4-a2ee-e55a398c732b@oracle.com>
Date: Tue, 16 Sep 2025 16:25:49 +0530
From: ALOK TIWARI <alok.a.tiwari@...cle.com>
To: Devendra K Verma <devendra.verma@....com>, bhelgaas@...gle.com,
mani@...nel.org, vkoul@...nel.org
Cc: dmaengine@...r.kernel.org, linux-pci@...r.kernel.org,
linux-kernel@...r.kernel.org, michal.simek@....com
Subject: Re: [External] : [PATCH v2 1/2] dmaengine: dw-edma: Add AMD MDB
Endpoint Support
On 9/16/2025 4:13 PM, Devendra K Verma wrote:
> + /*
> + * Synopsys and AMD (Xilinx) use the same VSEC ID for the purpose
> + * of map, channel counts, etc.
> + */
> + if (vendor != PCI_VENDOR_ID_SYNOPSYS ||
> + vendor != PCI_VENDOR_ID_XILINX)
> + return;
if, vendor == PCI_VENDOR_ID_XILINX condition will true
should not be if (vendor != PCI_VENDOR_ID_SYNOPSYS && vendor !=
PCI_VENDOR_ID_XILINX) ?
> +
> + cap = DW_PCIE_VSEC_DMA_ID;
> + if (vendor == PCI_VENDOR_ID_XILINX)
> + cap = DW_PCIE_XILINX_MDB_VSEC_ID;
> +
> + vsec = pci_find_vsec_capability(pdev, vendor, cap);
> if (!vsec)
Thanks,
Alok
Powered by blists - more mailing lists