From patchwork Thu Aug 3 08:23:40 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Z.Q. Hou" X-Patchwork-Id: 9878471 X-Patchwork-Delegate: bhelgaas@google.com Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 25D8860360 for ; Thu, 3 Aug 2017 08:40:45 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 08B1128889 for ; Thu, 3 Aug 2017 08:40:45 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id F1CED28894; Thu, 3 Aug 2017 08:40:44 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7F91728889 for ; Thu, 3 Aug 2017 08:40:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751223AbdHCIkn (ORCPT ); Thu, 3 Aug 2017 04:40:43 -0400 Received: from mail-by2nam01on0081.outbound.protection.outlook.com ([104.47.34.81]:10598 "EHLO NAM01-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751213AbdHCIkh (ORCPT ); Thu, 3 Aug 2017 04:40:37 -0400 Received: from CY1PR03CA0038.namprd03.prod.outlook.com (2603:10b6:600::48) by DM2PR0301MB0912.namprd03.prod.outlook.com (2a01:111:e400:501d::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.1.1304.22; Thu, 3 Aug 2017 08:40:36 +0000 Received: from BY2FFO11OLC014.protection.gbl (2a01:111:f400:7c0c::198) by CY1PR03CA0038.outlook.office365.com (2603:10b6:600::48) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.1.1304.22 via Frontend Transport; Thu, 3 Aug 2017 08:40:35 +0000 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=nxp.com; nxp.com; dkim=none (message not signed) header.d=none;nxp.com; dmarc=fail action=none header.from=nxp.com; Received-SPF: Fail (protection.outlook.com: domain of nxp.com does not designate 192.88.168.50 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.168.50; helo=tx30smr01.am.freescale.net; Received: from tx30smr01.am.freescale.net (192.88.168.50) by BY2FFO11OLC014.mail.protection.outlook.com (10.1.15.48) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1282.16 via Frontend Transport; Thu, 3 Aug 2017 08:40:35 +0000 Received: from titan.ap.freescale.net ([10.192.208.233]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id v738eCtH031161; Thu, 3 Aug 2017 01:40:31 -0700 From: Zhiqiang Hou To: , , , CC: , , , Hou Zhiqiang Subject: [PATCHv2 6/6] PCI: layerscape: remove the duplicate Class field fix code Date: Thu, 3 Aug 2017 16:23:40 +0800 Message-ID: <1501748620-42866-7-git-send-email-Zhiqiang.Hou@nxp.com> X-Mailer: git-send-email 2.1.0.27.g96db324 In-Reply-To: <1501748620-42866-1-git-send-email-Zhiqiang.Hou@nxp.com> References: <1501748620-42866-1-git-send-email-Zhiqiang.Hou@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131462232353257068; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.168.50; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(336005)(39400400002)(39860400002)(39380400002)(39410400002)(39850400002)(39450400003)(39840400002)(2980300002)(1109001)(1110001)(339900001)(199003)(189002)(189998001)(8656003)(39060400002)(50466002)(38730400002)(48376002)(53936002)(305945005)(498600001)(54906002)(6666003)(47776003)(105606002)(76176999)(50986999)(2950100002)(2906002)(106466001)(68736007)(104016004)(97736004)(86362001)(77096006)(5660300001)(36756003)(72206003)(356003)(8936002)(4326008)(85426001)(2201001)(8676002)(81156014)(50226002)(626005)(81166006)(5003940100001)(2101003); DIR:OUT; SFP:1101; SCL:1; SRVR:DM2PR0301MB0912; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BY2FFO11OLC014; 1:5h7Y7iyb0bMJcCMD3VSBMIKsfvvcsyYaEET6NgWT+?= =?us-ascii?Q?JAcoK3Nphzd+R6yRJ+j7pkrwXMVXUVGqbNQHe1oMxOQmLwputW7lVCj2Kphx?= =?us-ascii?Q?ds51Kwqz+Fhua6DlCgZSqmtitx253+gZsxQ/B5phpYPBe55wraXYzAvNsiLt?= =?us-ascii?Q?in5fqOcSAJcZ7eUHuJtFqYJPnFdQ+VzNNiYBzPBSP/44XVWMH8jKmB9JfFZu?= =?us-ascii?Q?lduafvMXXiz6Kf8v9eOVAcZ2dUYSxRa67/xpzuD4gqSsA+J9jp58XcoBa58G?= =?us-ascii?Q?Ll6j7Xd1s858L9Mo+vP+fEVGvgg+YLN3T97vl+PQYpyRRv5/kXrO4I7+1exc?= =?us-ascii?Q?6ItzlDhNV9zvD8R8ZONk5fhpkYNrZHgTCGCx3Sc2yOw69IsqV1dsgLaTsHOg?= =?us-ascii?Q?hamLfW1vQGaAxZcm9PMQwhAAonnA/HYk8hWGgxM59ZXdkWxPTRLKZ+D25Pgd?= =?us-ascii?Q?0SLZ2IwDcIbuY81GPfhL6E/9aybNASNY13S6+IAUa2wHKajtzT1uTKwhWNqh?= =?us-ascii?Q?+F81Tlnac1HhWxXaJ9l/RpTVyJ4om7cIE+nqCtTiCJS2UBC9H2CgAkNQdniO?= =?us-ascii?Q?9Y3WUf404M7I7tMFxxpdBmbet9EIR/pGrnVIb5A3finazRbtuoLEmrimkV9B?= =?us-ascii?Q?jpWbrUIgBY+g4qor/Dvx0UlLcg4Wq0UGJEBlvg1febr+BiOLd+xxbr4i2bmT?= =?us-ascii?Q?+QAzYcYDBGdMScMnWDUBb6IAh+xVWajLnyjgN+upciT1dfj4MXYzgeN7WX+j?= =?us-ascii?Q?quROexW0bnAuHgJayOMzdajVlaziW3s9snycGSrf9rXT3MG4miWGnxUdAdRr?= =?us-ascii?Q?lByqG3AxbR4HuKu4IWLxB8L3w5oseK0tygyFaqTuxW2GpDXZWlNFslmhRhii?= =?us-ascii?Q?K+VoFkDeQpwLmHs2B/9WgOGgYswpxq5ONvPRsn6NEItX8WeKHqEXUloL6UhW?= =?us-ascii?Q?9a2CbuPUy+KL7jC8g7cC0MWnuazcmdc8PprEYjK9A=3D=3D?= MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: be30a964-1ea9-4f9f-b66c-08d4da4b4f42 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(300000503095)(300135400095)(2017052603031)(201703131430075)(201703131517081)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:DM2PR0301MB0912; X-Microsoft-Exchange-Diagnostics: 1; DM2PR0301MB0912; 3:hu6eIoAvmvt6MoOc21IMHH/GDAg5HnldSX31XC8vRjebOGVG2b29whw2FGIzOSmjCOD58tJAQRGXmD0+aofjn660ZS+lTYifjAEKnxcdrykx2tLXqxUvApChV1oe7Dtx14EJ8Bh7WGxwRPWVQBZQWBCLW3n78Ok6umeTb/NzOrB+XRAiLNGFZ2VsgIZXdh0nHQ1Rf+G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MYrU+6vqIMSo22D+zexZWppFN9sFsU1GgQkZbNBTFtgDVjioTtYPcpNCutiq9hyvEaM5MIQZ7RMlCrns8QSk0sa3DVafDVtXHJ2hzY/a+67fKtJ18uwVbGRxYktTwxcF8+mDQgoN5vYNWHJ8U+VEWQmScm+lDGvE5OUqKIM03kKLx57KSW6DzzBAG/oIglKORKFhGcye0apEUdeJ1KDLM76pCWgib8zR+HMXA5Cjl/dTbrNg21QYdPJKVsMkyewHhPmQtiPo173vP69QC0HODOWCe2gnC+wmnR+hk1WiCGCbTQ9m7DB3GhasIXMDuTuFmg== X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6095135)(601004)(2401047)(5005006)(13016025)(13018025)(8121501046)(93006095)(93001095)(3002001)(10201501046)(100000703101)(100105400095)(6055026)(6096035)(20161123559100)(20161123556025)(20161123563025)(20161123565025)(201703131430075)(201703131448075)(201703131433075)(201703161259150)(201703151042153)(20161123561025)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:DM2PR0301MB0912; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(400006)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:DM2PR0301MB0912; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; DM2PR0301MB0912; 4:GeO+04UZTUHvGnuonBfdUAjQHoytwPo6tngrG17L?= =?us-ascii?Q?wWrPGnHJ+tvmKmxUuLX+3ImpaAOVmxXuvNG2feDdt0MUGA6euRMTGKOZsuVR?= =?us-ascii?Q?XDCIXfJI0pCek0YRZ4tm71cwFTH4lzmHWIRWolnjGPIEXFcGHNC1kdutVSPx?= =?us-ascii?Q?+VfAtfBRByKgM4uI/gvAaplZ2HovtRR0Ffk510lM45McX1fkk/0kUn+ItzdG?= =?us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qprlNhIt4UHt9IaaXHKNaw?= =?us-ascii?Q?+CSIK5faodBz/iY+SVSI/M9+nMBbHiAkImwEonMGtmegjhf3jArp7JymmIpl?= =?us-ascii?Q?r80dAUAEfXWn/OhiQxV2FIsayeHks03EumzpDtpo3hW9jQ1q16xKhljYOIwg?= =?us-ascii?Q?rmSakhUZ5MlDX75LCBo8E3nZEExNhH0GCpiSKi9k?= X-Forefront-PRVS: 03883BD916 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; DM2PR0301MB0912; 23:uRa0hcv4DKwuP+6/QFyJNz8E4o03TVayec7XlWQ?= =?us-ascii?Q?J4i2ZIjdGSVymMbadXdS77UCB//6hV4a18tLUvQp/ZoOgouLgYe1GEiHB6wz?= =?us-ascii?Q?RFNhqD7i+Vdu37APk/1DUf5/rsV71bGhTrQjOuKu6PHWWpuGE+Kghr8cFB21?= =?us-ascii?Q?EagT9EyGXOSajflsGJNO+fiJt2DyXfaz4sN2s4LztFBQ25h1Vfy9h1fN0x8k?= =?us-ascii?Q?XQz9SKEzBcL+OQecvYqbNArG25VUurNoOFnyQsg9rDRsOrm7vbrEFXn97rs4?= =?us-ascii?Q?9IOXBYEOmi7V+mO4ggxAZskmUdqTuN7asXM48EhD9IqKk3nxw5VquYMdAAla?= =?us-ascii?Q?+8akfhDOUX/WUxwP2zQypQ8IW6bpAPawvOt5kpXCuU0ScDnnu6zOwpZvClSP?= =?us-ascii?Q?48BiIq+BZHpqYKFq99KWOVVpcX7gRbOOOMofmi8sSnGETlIJNc2FAb/OOCGM?= =?us-ascii?Q?sNe0YTHFHLi5Gxn8Ddy5bZxP3O4kQECVIvVwYFud9dhKgaSxgo9BCuht8kYG?= =?us-ascii?Q?yoSZagiPNZDvrArZEC7AzwNs4MzGFEQbaDyKIs0BNJ6PRwlJmjIxinL9OLow?= =?us-ascii?Q?PY4Mwy97TXjUxhvEZ7E8p72gzSvYNhyQ38RcbuiVCd6zyKMGVB/iD/8wCPNZ?= =?us-ascii?Q?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FKd+rW4Pu6oNUDBaN3TIvO+rN2vu8cmbbX1eQmX3a22797QhgwFO3JKXRh6aUtEzwm8POqESGNRC44CyRgKAZzaZBz3AmRoH0EG58JjtY+T34LVy3pO8eEoTsRrujtle1P8ljT1aPj41SZzmFIHIR4ftMe8/hiYkZi79ucks5WtBBI+rmSKjv7KJ5Ra8/HKnuuodaLUfRWe3yZJwVXDPQrE158o7jTUi7tH50z+WjyLM5eHZMGqGJw0Y6klcdKkGDVv8YFOTnDtd8/DllEEek2bniTKBDktnuPb+Wu7El9SRRJ5oOsnL24LfUD8KdkLorr5BaDkQzft85M+L7X99hEQ4dvvNTCmgPhHvZ4hTBWG5F5owaSTYR4+Fpwwt1jY6RTX0OwyOm/qDe47AyDHL3CxKC4P2V/l+6jQwSORdrrAcxQCrvCiASWr7RrHd/PwZVvvjgYPgQ0y0omsEkhoBG0dbu8CIHwESRzr1KXtj7ETYjCenYuSEJ17EUoYJe7E+Or2BP73jO2lsoBRw==; 24:Rp8RlSEK9myIl+ce4IJpIS2EEHl3mA7IayQ68OyYiOQVJ+fobvNepkeW1xMGb9weXyLUoP0rpHaNEqEyG7s1zs4ANH11GtiMmCMLksoGhuk= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; DM2PR0301MB0912; 7:5Vf55jzI9GGlksYeFW9TnMLObL8TvAYBsUdZspaYXAb1BsxVgWWZ7yWcaeFi5q+600hscvudX4yp4p60+DMBpQU0Dy1W57YPWWQoLMg4SNnpE/138j6yqytiyqLiizHrzdj4r/iK+omMy2u9W236Ge1Do2GJfVOySPNE5/mSvvX3Yk4k2YZIR0CV1croBO3T07W799aXq/7QVLGDLA1O00vscmlOkr40waRO7L1lsfpbgprDd1DcFHNz9O1FtsnsbmO8CYjoFbpgCJoSMSN4ThEhJdUeq8AY6XU//DHCtC/cggYW8dvPGKmnNcttmz1s+rD5xT043ngHF7zt8utYXfieztMn2+MoA2CItbaUlke69MPntgfSYOCeEN3F603vDN9eVcTCQsUWFggPR1Be92O5NNwfM2VWfOS4cxTSeTg0/F1FQLifBpTNaIjHEj9gKyZDGbR/PJCgCgS2ed++17hyRQuK8tAbd50X+oeQwhiNXnreJMH7qhQGogzTbQeI9kAfOvWOz+SWqyXMNaENkLUPVRhLI7d76UxeaQhW3a33GfFU5najdbT8ymoRFdjJhb6Apo5+Vc5Z5amI1gwMjCvHzC+orXL5u1kUsUHXNKIvHJkGpH5WHQQya3kPGMJEs+IPS/VuGz7EqpHg5RSGEeVRxgc4+ytDnCYNa2aPF/I5dKXzCHg1FAJTK9yNGRzhzO7VoLpdY8Zz/DGCVOt6Umrcag/s6uW4XepRHmFAJLBierOQjSw5taxxds7wLbN2CfGAW0SPQBmdd6f3rpWszJczOjYWe0SF7V1XVBNWJkE= X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Aug 2017 08:40:35.1229 (UTC) X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e; Ip=[192.88.168.50]; Helo=[tx30smr01.am.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM2PR0301MB0912 Sender: linux-pci-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Hou Zhiqiang The Class Code will be fixed by function dw_pcie_setup_rc. Signed-off-by: Hou Zhiqiang --- V2: - New patch split from patch v1 3/3. drivers/pci/dwc/pci-layerscape.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/drivers/pci/dwc/pci-layerscape.c b/drivers/pci/dwc/pci-layerscape.c index ad68894..bf52825 100644 --- a/drivers/pci/dwc/pci-layerscape.c +++ b/drivers/pci/dwc/pci-layerscape.c @@ -73,14 +73,6 @@ static void ls_pcie_clear_multifunction(struct ls_pcie *pcie) iowrite8(PCI_HEADER_TYPE_BRIDGE, pci->dbi_base + PCI_HEADER_TYPE); } -/* Fix class value */ -static void ls_pcie_fix_class(struct ls_pcie *pcie) -{ - struct dw_pcie *pci = pcie->pci; - - iowrite16(PCI_CLASS_BRIDGE_PCI, pci->dbi_base + PCI_CLASS_DEVICE); -} - /* Drop MSG TLP except for Vendor MSG */ static void ls_pcie_drop_msg_tlp(struct ls_pcie *pcie) { @@ -145,7 +137,6 @@ static void ls_pcie_host_init(struct pcie_port *pp) ls_pcie_disable_outbound_atus(pcie); dw_pcie_dbi_ro_wr_en(pci); - ls_pcie_fix_class(pcie); ls_pcie_clear_multifunction(pcie); dw_pcie_dbi_ro_wr_dis(pci);