From: Manikanta Maddireddy Date: Tue, 24 Mar 2026 08:08:57 +0000 (+0530) Subject: misc: pci_endpoint_test: Add Tegra194 and Tegra234 device table entries X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5ab7a225888baa5474def18ba3b0a298d27e6ba0;p=thirdparty%2Flinux.git misc: pci_endpoint_test: Add Tegra194 and Tegra234 device table entries Add PCI device IDs for Tegra194 (0x1ad4) and Tegra234(0x229b) Endpoint controllers, so that pci_endpoint_test can bind and run on these controllers. Signed-off-by: Manikanta Maddireddy Signed-off-by: Manivannan Sadhasivam Reviewed-by: Niklas Cassel Link: https://patch.msgid.link/20260324080857.916263-5-mmaddireddy@nvidia.com --- diff --git a/drivers/misc/pci_endpoint_test.c b/drivers/misc/pci_endpoint_test.c index 496c8f5095909..38679dfb1f9b6 100644 --- a/drivers/misc/pci_endpoint_test.c +++ b/drivers/misc/pci_endpoint_test.c @@ -114,6 +114,9 @@ #define PCI_DEVICE_ID_ROCKCHIP_RK3588 0x3588 +#define PCI_DEVICE_ID_NVIDIA_TEGRA194_EP 0x1ad4 +#define PCI_DEVICE_ID_NVIDIA_TEGRA234_EP 0x229b + #define PCI_ENDPOINT_TEST_BAR_SUBRANGE_NSUB 2 static DEFINE_IDA(pci_endpoint_test_ida); @@ -1438,6 +1441,8 @@ static const struct pci_device_id pci_endpoint_test_tbl[] = { { PCI_DEVICE(PCI_VENDOR_ID_ROCKCHIP, PCI_DEVICE_ID_ROCKCHIP_RK3588), .driver_data = (kernel_ulong_t)&rk3588_data, }, + { PCI_DEVICE(PCI_VENDOR_ID_NVIDIA, PCI_DEVICE_ID_NVIDIA_TEGRA194_EP),}, + { PCI_DEVICE(PCI_VENDOR_ID_NVIDIA, PCI_DEVICE_ID_NVIDIA_TEGRA234_EP),}, { } }; MODULE_DEVICE_TABLE(pci, pci_endpoint_test_tbl);