Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp533939pxa; Fri, 14 Aug 2020 10:34:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxAyXneANKe0nWeuOfIDPzbp8KAsrlKFkgP4McevPyBzEHnoVhGO9h0NP9H2/Jhi0NpD7Js X-Received: by 2002:a17:906:fb04:: with SMTP id lz4mr3606855ejb.394.1597426469664; Fri, 14 Aug 2020 10:34:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597426469; cv=none; d=google.com; s=arc-20160816; b=CNUFPeFNJspipRU/H2EwlDZij70bS465AdpNYxYaFAbVHIn9gCtN1xi3fuGGZSyNIP nubuN9FKPASy9vREnnJHnQGnqWoVVhKv653PMuajE03FaB7ocxYswAgAvtwGelJnT6vM Zf9RgngNsago7u3jp6dyjUX6/yNkJ9vUz2IF1pCTA9Q9+MmCZwhfTEY6jZpHFn5OURXD wwFM1jVcfdPQ8gl8Z3jRQ6zH9fh+dA0/PQ0bfHLrKM3bs14yWwYOhhFlE00MIpWzIp6A mbgzPjgNp51rRCf6xi0NbDRj+nji7FpP1EjH6+8mzSCbWiw5um7nNqzyAQgFVq7cg2x3 UW9Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from; bh=wE3zdEUFmBpqP8IGizLXVp9ifrQJF2pym0jBN3aaNJc=; b=CUqjBRQZyk1CyON++YrxIeLmkxzFQMLFKKRu8QU18uc4SJKFPWo64BXCAFeQQA5xo8 E5a9qG6HNV4DfRMDwRdcJHUKgjv48TCjL8esRcNHFiY1d5/9onXg2tx6YIS8bAmJZBkv xtHn1hPQa5Yv72p4BvPZbdVb6CPAQFGoEDWehFdGP68UHN8PdvZtF8wwOlxRQR8uc+WS ovlniETWc8CTU/CPjes7wcH3d5Hu45gH5aDwHOeM+67GuBDUkAwdl9ziX8tbCESoeJYC OopdvA7I564xm69GF7G+aPVLuymc4lIjf2xnxrcramFu1uollAUweGu++Yssn0qSMa/T mz/g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w13si5886583edr.565.2020.08.14.10.34.06; Fri, 14 Aug 2020 10:34:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728515AbgHNRc6 (ORCPT + 99 others); Fri, 14 Aug 2020 13:32:58 -0400 Received: from relmlor1.renesas.com ([210.160.252.171]:39396 "EHLO relmlie5.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726270AbgHNRc5 (ORCPT ); Fri, 14 Aug 2020 13:32:57 -0400 X-IronPort-AV: E=Sophos;i="5.76,313,1592838000"; d="scan'208";a="54596882" Received: from unknown (HELO relmlir5.idc.renesas.com) ([10.200.68.151]) by relmlie5.idc.renesas.com with ESMTP; 15 Aug 2020 02:32:55 +0900 Received: from localhost.localdomain (unknown [10.226.36.204]) by relmlir5.idc.renesas.com (Postfix) with ESMTP id 9F1D9400C42E; Sat, 15 Aug 2020 02:32:52 +0900 (JST) From: Lad Prabhakar To: Geert Uytterhoeven , Marek Vasut , Yoshihiro Shimoda , Bjorn Helgaas , Rob Herring , Magnus Damm , Kishon Vijay Abraham I , Lorenzo Pieralisi , Arnd Bergmann , Greg Kroah-Hartman Cc: linux-pci@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-renesas-soc@vger.kernel.org, Lad Prabhakar , Prabhakar , Biju Das Subject: [PATCH 2/5] misc: pci_endpoint_test: Add Device ID for RZ/G2M and RZ/G2N PCIe controllers Date: Fri, 14 Aug 2020 18:30:34 +0100 Message-Id: <20200814173037.17822-3-prabhakar.mahadev-lad.rj@bp.renesas.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200814173037.17822-1-prabhakar.mahadev-lad.rj@bp.renesas.com> References: <20200814173037.17822-1-prabhakar.mahadev-lad.rj@bp.renesas.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add Renesas R8A774A1 and R8A774B1 in pci_device_id table so that pci-epf-test can be used for testing PCIe EP on RZ/G2M and RZ/G2N. Signed-off-by: Lad Prabhakar Reviewed-by: Biju Das --- drivers/misc/pci_endpoint_test.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/drivers/misc/pci_endpoint_test.c b/drivers/misc/pci_endpoint_test.c index e060796f9caa..ba654f42dc10 100644 --- a/drivers/misc/pci_endpoint_test.c +++ b/drivers/misc/pci_endpoint_test.c @@ -74,6 +74,8 @@ #define is_am654_pci_dev(pdev) \ ((pdev)->device == PCI_DEVICE_ID_TI_AM654) +#define PCI_DEVICE_ID_RENESAS_R8A774A1 0x0028 +#define PCI_DEVICE_ID_RENESAS_R8A774B1 0x002b #define PCI_DEVICE_ID_RENESAS_R8A774C0 0x002d static DEFINE_IDA(pci_endpoint_test_ida); @@ -950,8 +952,9 @@ static const struct pci_device_id pci_endpoint_test_tbl[] = { { PCI_DEVICE(PCI_VENDOR_ID_TI, PCI_DEVICE_ID_TI_AM654), .driver_data = (kernel_ulong_t)&am654_data }, - { PCI_DEVICE(PCI_VENDOR_ID_RENESAS, PCI_DEVICE_ID_RENESAS_R8A774C0), - }, + { PCI_DEVICE(PCI_VENDOR_ID_RENESAS, PCI_DEVICE_ID_RENESAS_R8A774A1),}, + { PCI_DEVICE(PCI_VENDOR_ID_RENESAS, PCI_DEVICE_ID_RENESAS_R8A774B1),}, + { PCI_DEVICE(PCI_VENDOR_ID_RENESAS, PCI_DEVICE_ID_RENESAS_R8A774C0),}, { PCI_DEVICE(PCI_VENDOR_ID_TI, PCI_DEVICE_ID_TI_J721E), .driver_data = (kernel_ulong_t)&j721e_data, }, -- 2.17.1