From patchwork Fri Dec 13 08:47:48 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Lad, Prabhakar" X-Patchwork-Id: 11290261 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 621A5109A for ; Fri, 13 Dec 2019 08:50:55 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 3F67C206B7 for ; Fri, 13 Dec 2019 08:50:55 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="MBtiA78q"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="JXoAHKm2" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 3F67C206B7 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=wbbTEqAmOwK+eggmHFoTU1+fYT6CEHFfbYMcDQgupqY=; b=MBtiA78q3MBBDR oeI3wdbmGUoieT5ImgOknmvO4WN7iQZSgt0Z9z95On9eny+z/3jEPcbFQ7aOUW1vinpkG/1xDExQ5 rH06pBbC3ur2SwfeNjdlJ7KTkq1cm7qzTwzYsgrGT1z+0aRTw9trXdecU1RKAcSA7pbgfNTA1e0tx EuMnliIUExO86nE13Re3CsfRQIHTyjo4xxLXUw3/o2fseLUdyTbbPUK+gaXrSJC7h9NWDx/HS76S3 mSggJBJ7AgFsnHYz4H7NqehDVBP7E8C39J9N7ibMAZ/6G9hTuXWRdHbmZ72FsqqfvGLc41J1y+nKd w1/+9lI4KsPisMK5LROA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1ifgex-0000oh-O1; Fri, 13 Dec 2019 08:50:51 +0000 Received: from mail-pl1-x642.google.com ([2607:f8b0:4864:20::642]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1ifgd2-0006Yh-Na; Fri, 13 Dec 2019 08:48:54 +0000 Received: by mail-pl1-x642.google.com with SMTP id bd4so952781plb.8; Fri, 13 Dec 2019 00:48:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=yrmwheM1+hl4xPG9UeGTOMJP5qq8jouvYWPI+cmTnHk=; b=JXoAHKm2bI0UF8C3jLaI9pvYELwmQXbNwNN2AtjdVI+1nSAgHqrbt+7mijVaetV20Y 6zQovqYzG18kdJuyfxMhQWB1JJynIx4K47ONJ0I+sOBz1A+DfTildAzUkIwkxZfuMhlH pAi6iJ6fk1NmUlCYsXZkHO0txpiD0UyWmrcLxJwuldyvXjhUBo5+tHJhSwPMVOi4WSz4 +nDGpU7GVMaqCj3zyBPOKqfd0KEGupjIUghCCe4QBguZZ9d1cJgAICDyf6YwfSFtAMPP GrJU+GqqFIFP7fZNANPqfUubQdzy/Oiw63YKt5jyDH8yWauSZgX8kp4feWIVhDLry4tI zZLg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=yrmwheM1+hl4xPG9UeGTOMJP5qq8jouvYWPI+cmTnHk=; b=hi64ftZ4tsNYuF2rWe9Xpav1pyt7cWdVzVHf8m18le7l87sw+gVe1CqOLuGPnrpeNY gYo+MmAjMI0AQSprHvJ/SecAzmqwSANQcfv3QBjBZmq60F6LCoLWcLSvfG1zx19Dz5TY Nnvhqd66d39dgT2+5OYHZD1Dsrj8yawJYUsBpnCvfDtzNNF54E0BbGGjZJV00YesCUfI baql+oeBYgRLXryeVqeoSK1jfZd+C/hfkeJOcCcAGBA8nyiWe1D7YcE0oVOO1UjFoe1g VzCdHo/57g9mjZ7nbtYiDcLN3ZkVRZp/uwyWIZlRI1IcSRMc0DMj1ruDWiVlFdhW97o/ +Pgg== X-Gm-Message-State: APjAAAUbZ52p604se40gCzLzCAqyPgbr4Q0+BTqd9h5tqv10GSo+yLEy a5fiJVLCyYqcW8jhObbXcRs= X-Google-Smtp-Source: APXvYqzicnEwVE9B41IwGGyGmDGn6PjfwuHMeFWgsbEx+ksTLkPbjB2d4SolnSLbApVjeqKZ3461Mg== X-Received: by 2002:a17:90a:1704:: with SMTP id z4mr15379073pjd.131.1576226931296; Fri, 13 Dec 2019 00:48:51 -0800 (PST) Received: from prasmi.domain.name ([103.219.60.167]) by smtp.gmail.com with ESMTPSA id 68sm9985632pge.14.2019.12.13.00.48.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Dec 2019 00:48:50 -0800 (PST) From: Lad Prabhakar X-Google-Original-From: Lad Prabhakar To: Bjorn Helgaas , Rob Herring , Mark Rutland , Geert Uytterhoeven , Magnus Damm , Kishon Vijay Abraham I , Marek Vasut , Yoshihiro Shimoda , linux-pci@vger.kernel.org Subject: [v2 6/6] misc: pci_endpoint_test: add device-id for RZ/G2E pcie controller Date: Fri, 13 Dec 2019 08:47:48 +0000 Message-Id: <20191213084748.11210-7-prabhakar.mahadev-lad.rj@bp.renesas.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20191213084748.11210-1-prabhakar.mahadev-lad.rj@bp.renesas.com> References: <20191213084748.11210-1-prabhakar.mahadev-lad.rj@bp.renesas.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20191213_004852_817457_3BC833B5 X-CRM114-Status: GOOD ( 11.75 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2607:f8b0:4864:20:0:0:0:642 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (prabhakar.csengg[at]gmail.com) -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Chris Paterson , Lorenzo Pieralisi , Heiko Stuebner , Arnd Bergmann , Jingoo Han , Catalin Marinas , Shawn Lin , Frank Rowand , linux-kernel@vger.kernel.org, "Lad, Prabhakar" , linux-renesas-soc@vger.kernel.org, linux-rockchip@lists.infradead.org, Tom Joseph , Simon Horman , Greg Kroah-Hartman , Andrew Murray , Gustavo Pimentel , Will Deacon , linux-arm-kernel@lists.infradead.org Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org From: "Lad, Prabhakar" Add RZ/G2E in pci_device_id table so that pci-epf-test can be used for testing PCIe EP in RZ/G2E. Signed-off-by: Lad, Prabhakar --- drivers/misc/pci_endpoint_test.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/misc/pci_endpoint_test.c b/drivers/misc/pci_endpoint_test.c index 6e208a0..3e879c7 100644 --- a/drivers/misc/pci_endpoint_test.c +++ b/drivers/misc/pci_endpoint_test.c @@ -66,6 +66,8 @@ #define PCI_DEVICE_ID_TI_AM654 0xb00c +#define PCI_DEVICE_ID_RENESAS_RZG2E 0x002d + #define is_am654_pci_dev(pdev) \ ((pdev)->device == PCI_DEVICE_ID_TI_AM654) @@ -797,6 +799,7 @@ 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_RZG2E) }, { } }; MODULE_DEVICE_TABLE(pci, pci_endpoint_test_tbl);