From patchwork Tue Oct 19 11:17:50 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Z.Q. Hou" X-Patchwork-Id: 12569565 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6B720C433EF for ; Tue, 19 Oct 2021 11:20:03 +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 2C8B7610A1 for ; Tue, 19 Oct 2021 11:20:03 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 2C8B7610A1 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=nxp.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=A+OjNcdJfzdtd09SuXASJ4YZVKc7n4pYRuCHUK8/ZUM=; b=pcD6oxIcPXjP2a TbvMAsH5uuBvME4wOEyMU8FTNtTmVF4ZP0RCXaLgwdfN7Mb7l5jTWc2E2VsoxJSHnh1dS+jg+//ko JsMui2yumpM15hnFyIyd0ghyT45kfjow0CToXqFqla6JEGOrZzWvEyL0N/dyWc3v4RZQCjK8OqM6V AnniQbKKeRovdZuK2ferBoUlAegccqhGHVA+liiDL438LyNkVNVpQsOEl+04XcWqZd9Fh2ugphecI Cdr0uJMf1B2Oq2V6Xwedof3UM/fK2MUbenCpCijiwho/CvJ4bw8JdAhulQrJOkft39iOjRbUvja4O jxS9YKqQhIw1+3c0fj/Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mcn8m-000waS-Cu; Tue, 19 Oct 2021 11:18:44 +0000 Received: from mail-eopbgr10087.outbound.protection.outlook.com ([40.107.1.87] helo=EUR02-HE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mcn8Y-000wVu-SV for linux-arm-kernel@lists.infradead.org; Tue, 19 Oct 2021 11:18:32 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=FIIrmyj9njtSUIg04hS/POb43Mv6rZqgPByFJPDTUT1MeXfmDsDoca0W0l2oi2Itq70+6fHTlUXiGUo4q9t8YoHRlaN3ujtIVHXbtxMnx04lbRbjjc24F0Ad2+ThiBgPDIdHPnjWaqCVnDm8WgmIBmaCW5xPp68wKJRs286y01RxasUfJFyve3g7FOZPTnRgJ+e86aGkoTAXAIuWiI1DGcGEJ0Lr+smAd7i6quEElyGm6i7dOriTWf6Y+DnCVj3jcbHtEXell4VCvovdN1P0sL0AWgUWBWG58TRvD7Nz2/PCK7qYFpS88WaihTZ+oy3a8YqQzWZzOOLZqFnOXcHX0A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=bhz/RTY6qi6bswaJ1MtebXz7FanCNaNo8Bapvc/5BcY=; b=KU9JYRdlDMtfmHKN3aLsUq7IyBSTnpLpvPuK7t9CNO7WsJuUUAIL7ruahJ3YivSHYBaMNtEc0YRQBqQbZn/p4dKW6rXn/CJx0Jt1apmNxY4vPKH3zq6GN6ZnBrh2Bx71U7lEJfD7ZRV4lGiaXlxnhkHTdTR6SrmCJBuaWKYkHSytu8MP7UaZ1XiFC/Ur2IL7wnq/L0DgWyS+N8WLRgrjpaNQiEBDQVqV2VcJRu8YMQ0nqos1KeivHnSYLqGF/j3k6p+xMR0gGASl6HGe0xuEUMhUhYNji1KRj9LBIKGLlmpRpKC4DRdSPtjqVJrxkrQEyRfBul801xtjPvB3wtJq2Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=bhz/RTY6qi6bswaJ1MtebXz7FanCNaNo8Bapvc/5BcY=; b=H8r/1c82gGxMC/I/hrpXJJlCzA5Ly2y9N85S/WuV5Wu6Pw6n2RQTU6vYrQrUg8P4Kh1euVluBRHEduexAXn/klS+k+K3FHGID2pG5iSawrJP8lswOY4ZrqSD7oEhBm6RXuJsJCgMYB3N/BvwwL99orrbyDD5LsukZOl3iVbUCqQ= Authentication-Results: vger.kernel.org; dkim=none (message not signed) header.d=none;vger.kernel.org; dmarc=none action=none header.from=nxp.com; Received: from VI1PR04MB2974.eurprd04.prod.outlook.com (2603:10a6:802:a::24) by VI1PR0402MB2879.eurprd04.prod.outlook.com (2603:10a6:800:b7::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4608.17; Tue, 19 Oct 2021 11:18:26 +0000 Received: from VI1PR04MB2974.eurprd04.prod.outlook.com ([fe80::793c:ef8d:72fc:df15]) by VI1PR04MB2974.eurprd04.prod.outlook.com ([fe80::793c:ef8d:72fc:df15%7]) with mapi id 15.20.4608.018; Tue, 19 Oct 2021 11:18:26 +0000 From: Zhiqiang Hou To: linux-pci@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, shawnguo@kernel.org, robh+dt@kernel.org, leoyang.li@nxp.com, lorenzo.pieralisi@arm.com, kishon@ti.com Cc: Hou Zhiqiang Subject: [PATCH 2/2] misc: pci_endpoint_test: Add Device ID for NXP LS1012A Date: Tue, 19 Oct 2021 19:17:50 +0800 Message-Id: <20211019111750.28631-2-Zhiqiang.Hou@nxp.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20211019111750.28631-1-Zhiqiang.Hou@nxp.com> References: <20211019111750.28631-1-Zhiqiang.Hou@nxp.com> X-ClientProxiedBy: SI2PR02CA0016.apcprd02.prod.outlook.com (2603:1096:4:194::9) To VI1PR04MB2974.eurprd04.prod.outlook.com (2603:10a6:802:a::24) MIME-Version: 1.0 Received: from localhost.localdomain (119.31.174.73) by SI2PR02CA0016.apcprd02.prod.outlook.com (2603:1096:4:194::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4608.16 via Frontend Transport; Tue, 19 Oct 2021 11:18:23 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 88d2b1f1-bd2c-498d-7004-08d992f22bbc X-MS-TrafficTypeDiagnostic: VI1PR0402MB2879: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:4714; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: gAg7ngQ9MhYQb4wqcib2UqdWUwVHCUfmUhazjyrM9/x/5szWsoavzRSRTHMa0nBVq1b6XSv1u+jpATOQJMn8+R9rMQ6NSeW+LoHqccyqOVQhwFHveQWapUbh+0/8Zl7uhy8YNzTiCG+zS4ins/I8sOZj5X2vAik9pE90ajgXK7kySnkNPtFcMZBRZCdO36bdmOlrwgwEr62yQP5lh0sN9Z+PHLmb//WD7aTBfgZlJMMWo3hPL3Pf00l6+DsNuXS6XoVBKVnrFJr0CVfO8YbKY7GDbqyzp35YSuUl0CXnASjRMe5ajuMFDJZ7yoXSoGOGc/9RYEPkRsrX0hiI/oJK9nZBVJVVhOkTWqobY0ZIn22cZzYz+SVCmZYUT44En7gvwtZMt+2NM1gQ2EmlSgY57gk2QgGDLO8Ky783ZvTyJqosVXtvdoVJRzm4vZbqyNmpNQZVFTmb+VP5SyrsIdkqg7sQP2nvrCZTX6Rvl6m1WgCrGDeY1jfoQ6Ksor88s1Ex6x/70rv4GngV+TZCE4OPIHi+x244v6EMezV5ZSZX/5h7b5jxe20bhn/wq7iW4rnhsMxMEXR3SNzPgS8MpJzGedBlBD8rZnZLxIXTjt0oav+F9P6VERF8IAmenP69Wno9R53s1RPLkXYQ+RFs6gPb9IHYObaUE/XY+oWlBJ2G31/hr/lNglcVzuAguWpFZtBZKNaBUavumOdZA9jPrhfyMg== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:VI1PR04MB2974.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(5660300002)(8676002)(52116002)(1076003)(86362001)(2906002)(66476007)(66556008)(316002)(6666004)(6512007)(38100700002)(38350700002)(6486002)(8936002)(66946007)(4326008)(26005)(186003)(36756003)(2616005)(6506007)(956004)(508600001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: AJJjdizTqctLBLFF0/KbG/vk9eUGEtTp5oc0g4t7vCurWn9L6qnCqYUmNLfo9Fn9rOBrm5R4P5hxo9Qtbjt15ycivfJP/kRx6O8Pk3inT4yNeGdVD/PjEgiGJWUvvNwc4D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4S7QYH6Jo4VnIhrvODKb3SNYDGTr+oerrHxowd0A4AS2Y81xHw8EU1qgOOSyc/rja8Nnyso/ttutIDMrAq3ZmwgPfXHmkEqy4jXhAnBIRwoNLTKoVfDV4uYZIzmN X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 88d2b1f1-bd2c-498d-7004-08d992f22bbc X-MS-Exchange-CrossTenant-AuthSource: VI1PR04MB2974.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Oct 2021 11:18:26.6036 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: QDKU2gZLcbgQt2lPbmwn5OhCkFazo8dJXQk3XmPUi/xRTnU0z8330RJek2ovJOyPZTjAkempYe4yvxc8vv2EKg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0402MB2879 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211019_041830_947462_B7006EB5 X-CRM114-Status: GOOD ( 12.93 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Hou Zhiqiang Add the Device ID for LS1012A so that the pci-epf-test driver can be used for the tests on LS1012A. Signed-off-by: Hou Zhiqiang --- drivers/misc/pci_endpoint_test.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/misc/pci_endpoint_test.c b/drivers/misc/pci_endpoint_test.c index 2ed7e3aaff3a..b84d5b15aec8 100644 --- a/drivers/misc/pci_endpoint_test.c +++ b/drivers/misc/pci_endpoint_test.c @@ -71,6 +71,7 @@ #define PCI_DEVICE_ID_TI_AM654 0xb00c #define PCI_DEVICE_ID_TI_J7200 0xb00f #define PCI_DEVICE_ID_TI_AM64 0xb010 +#define PCI_DEVICE_ID_LS1012A 0x8100 #define PCI_DEVICE_ID_LS1088A 0x80c0 #define is_am654_pci_dev(pdev) \ @@ -955,6 +956,9 @@ static const struct pci_device_id pci_endpoint_test_tbl[] = { { PCI_DEVICE(PCI_VENDOR_ID_TI, PCI_DEVICE_ID_TI_DRA72x), .driver_data = (kernel_ulong_t)&default_data, }, + { PCI_DEVICE(PCI_VENDOR_ID_FREESCALE, PCI_DEVICE_ID_LS1012A), + .driver_data = (kernel_ulong_t)&default_data, + }, { PCI_DEVICE(PCI_VENDOR_ID_FREESCALE, 0x81c0), .driver_data = (kernel_ulong_t)&default_data, },