Skip to content

Commit ad6534c

Browse files
axiqiawilldeacon
authored andcommitted
PCI: Add Alibaba Vendor ID to linux/pci_ids.h
The Alibaba Vendor ID (0x1ded) is now used by Alibaba elasticRDMA ("erdma") and will be shared with the upcoming PCIe PMU ("dwc_pcie_pmu"). Move the Vendor ID to linux/pci_ids.h so that it can shared by several drivers later. Signed-off-by: Shuai Xue <xueshuai@linux.alibaba.com> Acked-by: Bjorn Helgaas <bhelgaas@google.com> # pci_ids.h Tested-by: Ilkka Koskinen <ilkka@os.amperecomputing.com> Link: https://lore.kernel.org/r/20231208025652.87192-3-xueshuai@linux.alibaba.com Signed-off-by: Will Deacon <will@kernel.org>
1 parent cae4061 commit ad6534c

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

drivers/infiniband/hw/erdma/erdma_hw.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@
1111
#include <linux/types.h>
1212

1313
/* PCIe device related definition. */
14-
#define PCI_VENDOR_ID_ALIBABA 0x1ded
15-
1614
#define ERDMA_PCI_WIDTH 64
1715
#define ERDMA_FUNC_BAR 0
1816
#define ERDMA_MISX_BAR 2

include/linux/pci_ids.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2605,6 +2605,8 @@
26052605
#define PCI_VENDOR_ID_TEKRAM 0x1de1
26062606
#define PCI_DEVICE_ID_TEKRAM_DC290 0xdc29
26072607

2608+
#define PCI_VENDOR_ID_ALIBABA 0x1ded
2609+
26082610
#define PCI_VENDOR_ID_TEHUTI 0x1fc9
26092611
#define PCI_DEVICE_ID_TEHUTI_3009 0x3009
26102612
#define PCI_DEVICE_ID_TEHUTI_3010 0x3010

0 commit comments

Comments
 (0)