Message ID | 1499322829-23018-2-git-send-email-Zhiqiang.Hou@nxp.com (mailing list archive) |
---|---|
State | New, archived |
Delegated to: | Bjorn Helgaas |
Headers | show
Return-Path: <linux-pci-owner@kernel.org> 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 0D2A1602CA for <patchwork-linux-pci@patchwork.kernel.org>; Thu, 6 Jul 2017 06:50:15 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EFE92285D1 for <patchwork-linux-pci@patchwork.kernel.org>; Thu, 6 Jul 2017 06:50:14 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E4780285DB; Thu, 6 Jul 2017 06:50:14 +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 7E370285D1 for <patchwork-linux-pci@patchwork.kernel.org>; Thu, 6 Jul 2017 06:50:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753168AbdGFGuL (ORCPT <rfc822;patchwork-linux-pci@patchwork.kernel.org>); Thu, 6 Jul 2017 02:50:11 -0400 Received: from mail-sn1nam02on0087.outbound.protection.outlook.com ([104.47.36.87]:10160 "EHLO NAM02-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753177AbdGFGuG (ORCPT <rfc822;linux-pci@vger.kernel.org>); Thu, 6 Jul 2017 02:50:06 -0400 Received: from BN3PR03CA0112.namprd03.prod.outlook.com (2603:10b6:400:4::30) by DM2PR03MB477.namprd03.prod.outlook.com (2a01:111:e400:2420::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1240.13; Thu, 6 Jul 2017 06:50:04 +0000 Received: from BN1AFFO11FD034.protection.gbl (2a01:111:f400:7c10::118) by BN3PR03CA0112.outlook.office365.com (2603:10b6:400:4::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1220.11 via Frontend Transport; Thu, 6 Jul 2017 06:50:04 +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 BN1AFFO11FD034.mail.protection.outlook.com (10.58.52.158) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1220.9 via Frontend Transport; Thu, 6 Jul 2017 06:50:04 +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 v666nxbe014092; Wed, 5 Jul 2017 23:50:02 -0700 From: Zhiqiang Hou <Zhiqiang.Hou@nxp.com> To: <linux-pci@vger.kernel.org>, <bhelgaas@google.com>, <jingoohan1@gmail.com>, <Joao.Pinto@synopsys.com> CC: Hou Zhiqiang <Zhiqiang.Hou@nxp.com> Subject: [PATCH 2/3] PCI: designware: enable write permission before updating class code Date: Thu, 6 Jul 2017 14:33:48 +0800 Message-ID: <1499322829-23018-2-git-send-email-Zhiqiang.Hou@nxp.com> X-Mailer: git-send-email 2.1.0.27.g96db324 In-Reply-To: <1499322829-23018-1-git-send-email-Zhiqiang.Hou@nxp.com> References: <1499322829-23018-1-git-send-email-Zhiqiang.Hou@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131437974048184983; (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)(39410400002)(39850400002)(39450400003)(39380400002)(39840400002)(39860400002)(2980300002)(1110001)(1109001)(339900001)(189002)(199003)(9170700003)(85426001)(356003)(305945005)(498600001)(5003940100001)(72206003)(53936002)(77096006)(5660300001)(86362001)(50226002)(6666003)(48376002)(2950100002)(8676002)(50466002)(81166006)(8936002)(106466001)(39060400002)(105606002)(50986999)(38730400002)(104016004)(76176999)(2906002)(47776003)(189998001)(4326008)(36756003)(626005)(8656002)(2201001)(2101003); DIR:OUT; SFP:1101; SCL:1; SRVR:DM2PR03MB477; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; MLV:ovrnspm; MX:1; A:1; PTR:InfoDomainNonexistent; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BN1AFFO11FD034; 1:+Yqx62AaXvlE71eBe+dCTGXyWXot31/rXfDueFyVp?= =?us-ascii?Q?QEf81oRc6WesidMgoZ7+E2l59hq/Y2uuh47035t+vAVYPCwJ16fABC8RqNX/?= =?us-ascii?Q?bf5AeOLCHYvkHzrBWeaK6R2ePeziMHmS3K2yp0q67Wt4oJRsBZI0bAR4w7JH?= =?us-ascii?Q?HwgMT1duKiKuEhzXNEaleXBjmJ2z0EkyzF8YRZtp4t/wSiQn2lEVF7orL8TT?= =?us-ascii?Q?xV/tEbxbbDIkwZqyXi3haacvB3nzl0TYiMgU7dtpX5upOQ5LvuR1+eJHnUeB?= =?us-ascii?Q?tfJssiPseUYPmlgON4ZtDqDT89OUPVyUoZa2eqffWQFvLNXcHPNqxGIYs9ko?= =?us-ascii?Q?crHQzzoQ2M24WuyV+e55d4OD2azlCKrp3wksVAKmqQk9RxldDvsWMzlEiBU7?= =?us-ascii?Q?kZPcw/sLsyHs+pqyZpiVUWDnd4ArrO6rgmGRSVfHJRG3L/zXz5YeIf+8jGLE?= =?us-ascii?Q?o0Q8efW/uMQVVJCQrmpbJd32iViirE/z8WPSphhL4e2w6qK4ESt7xwgAVI/V?= =?us-ascii?Q?w/oWTN8Y71/RsSj1S+VSbeVvmpZuXJBEraYOXdt07jxDZ24McG1u+PavAtCI?= =?us-ascii?Q?bW7yWUt77zpfy38Qh0t/65PQco2xsCuL2n46WidpHaKyS6TP3YN8e6J7VBG8?= =?us-ascii?Q?LXrHusbXWNN0cQBaMnv46T+ffSS98PBBFK/ld1Rbd1kucs9E/tA4y2tKhhYN?= =?us-ascii?Q?f/D5eGdwjTiFknFhEFQxaC9R3cCE+hZdWlrecOQVDgHBVDGUx3bR9qXTioq4?= =?us-ascii?Q?5Xc5oslZa7PiTWz2eXON7ah4VRx1YfWi5YOmViicd8X7zGxFw4UDnEo0ZCdx?= =?us-ascii?Q?4+3B/2AfJS0KrEim1Dtouatk+SAo7FklVi/3Eoszu/PQeWArhqQ5Mh8oJJ+e?= =?us-ascii?Q?UHA32btHFcCygesGEN092/FVKfZmRC7FuCM369QaP85A9ro9FA02boB+EYbI?= =?us-ascii?Q?k4diaXxLmG6/hQWaNHg136cRMjPVf89+3oaPjEGuUVEGhSpFr08898oqhUY2?= =?us-ascii?Q?/JRyiuWNE8/0Q0BIgVnWy5xVMaHuvohkYYHZv15RE4UqQ=3D=3D?= MIME-Version: 1.0 Content-Type: text/plain X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 6d223ef8-3cae-414c-3935-08d4c43b3b98 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:DM2PR03MB477; X-Microsoft-Exchange-Diagnostics: 1; DM2PR03MB477; 3:4WG5gDA91PF6HwrUXcp5q2rKAawyvYsdU24xqa6WW2WLXs1QtH+sK/evvovBmRLSAqr+GDp1UbOkuL7uoC6ZfYh3ysuNOr3E8Sf8Wcm/zVNSb+w6kVIiR3Om5w8Ki+jc1oEq5nc7W1tG00bGz7Fad3w9mRu0aCFcRp0+kYknS1ASxgojbVrqSs9VHSQvgjPJFV9/KJZYyGBuNYHexNeih0SghAR6/8TcgmYHmlM16zJPNsrY58t3297B1kzwNsVuRzQwONKmOPMCrqn2DybRZjyRCYPYrA+0HL418EkhZitLjbKavEn4QpwLRhj43dsvdXjIRtXPoieNPpfk0pA1yLSaeK++xuKRg5SYUC3c8zA3M+ujX5N+mAhzvEv4SQUxFfeCBc+L68vQlF6SLrycSOttbYdPWYqyUddG6G+nQR/JShx0fOrei96geQi7OpP6tetYEwqTJd6KQr5Q7CGPTlva+sEbVBcNtol9M4NhHFuGKei95Qr/lNMaWyqn9MfcXpgheYTam7+VWji47q+pjqtgOjdeNKBWoglRuuhk9rovJuE+k2fTQRVyVIukQZwcWYe8pdsZMIHAzdjo6S4QClwR3trPWd8hSVUto1ksBRokdZ+QT5QeP86DpWzetZXbQC8fiU4ncUfYOrj74cfcKYDmuYOScdI0QSqisdiukdChZGkV3Ag6vqpfycF6eKF7C7GhA8nSgu79Tb63bLw+5bVbE+An3H3x8vvPmuqZW38sFFcivCVEOd2fIbwqjWPWAwq9XvzN8FAA7m0hdwik9/FmKFEIQPu9WQp5GaFTqvIyBUGC76XqGLAbgBzhGz71o6tpQZbJ+RhC9QFxZ/4olkSCzk1EM9lo5FONG5M74qQUjF488S5WpedhoYGyLMKb X-MS-TrafficTypeDiagnostic: DM2PR03MB477: X-Microsoft-Exchange-Diagnostics: 1; DM2PR03MB477; 25:XoYf2nall5pGScESc69f9FyaTgFIDcrbaJ3jG93WV0qPODyM0R3vguLBsKGj8o8/cXHiJqAPtxse1S5xTiPJsF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FO3ilwqXRe/ZinHhP6xHkkCsEQ3JDbZvuM/os3GzqoK39JJWY7Qc9Ojh7i1w5kQomZyZ/pKNBGPh+xUE5feqkeozVifZz5T01qs09gAf2BHwhFgZgPMoOexLONPqB0EoP/aUBHkTdk4+A+kvsXo6qAag9hMyeydLV1rcmSO944cFvRq3ezBO2h4dr19mgsCybIK5QUtUFqY2+uoZ6gYYcORzGgNmoSvaswVh3B/zLFP3KNxw53PQc87jl5FeIz6YXia+vEoWpyN1XX7qrtWjVGIhHUWxXwVD3SxlSf/qhe8alpDPyN50IzflntdgbrsYHT0g5Bp3AslCbsXU1oNUIqwMjru+YqrSKS9CYhn7UJKV09/DaTcC+N/2U6Q29tAwuB2y9BIOIbRqxntzu7Vhwm0p5AadvTk27eflCAkCcN4l0XELnb6eNTGGFdrF4IlytOlrRH+8UFZP52gTIVClFiDwRyJxi7ORBG1tTThIZekXqEFjr92RRgYQhd7KyvFKobJuCevn4rmrJYzDUbwO0SUaHzw== X-Microsoft-Antispam-PRVS: <DM2PR03MB47745D2D22941B5F035342C84D50@DM2PR03MB477.namprd03.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:(236129657087228)(185117386973197)(167848164394848); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6095135)(601004)(2401047)(13018025)(8121501046)(5005006)(13016025)(10201501046)(93006095)(93001095)(100000703101)(100105400095)(3002001)(6055026)(6096035)(20161123563025)(20161123565025)(20161123556025)(201703131430075)(201703131433075)(201703131441075)(201703131448075)(201703161259150)(20161123559100)(20161123561025)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:DM2PR03MB477; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(400006)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:DM2PR03MB477; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; DM2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ouYMAE?= =?us-ascii?Q?rh+2dIH+NJELgvz4OYd6iRYhXzKfKUY8qpdrJOGyI5d52svYHPVZsxgE4Pur?= =?us-ascii?Q?69JcZiv1w160dBW78dWiCP0I6zpYsz4SAKsegVMliCrd/t+m8pBj1ExuKLei?= =?us-ascii?Q?gYizfF9HUwjbgTI9U57P/etE17XU5ze39LhkaprH/ftOS6cxYHQKi6bKAAub?= =?us-ascii?Q?KtY7j2wbRd6AiG6qNpTSsxxMzYZJnsTlsKa1DSudWPdwquHpmTJvMtWWqEN3?= =?us-ascii?Q?PxCjUAz8GjLllezcpAWs9a2VJ7L5umbdRA8W+tHkPrV/gvYaBEBbbvKHW6ui?= =?us-ascii?Q?xA/dexHlMOaNXFN+KO2Jt94/pBZjog6nFnizeHPl8xDCwQ4gCF/vmdTmGOfn?= =?us-ascii?Q?xeKGFMHP+UPzS3lUIIvl68FvFiPrPLH5dYir935ym2gVbVs/AqcZCPg2GNc8?= =?us-ascii?Q?kwVP4IMel0qs1A0OaNWQohvrIUQUg2UjjNtM6OBmf?= X-Forefront-PRVS: 03607C04F0 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; DM2PR03MB477; 23:UMaunfH/hNluE9BIQYumlU9SxUNUb7YZyvdUH3H6Vn?= =?us-ascii?Q?OWLbPSd7A3wRuh5JMjnrKw992bLixCLBnYIilwKMTGv217a7ebl/p+bCRlBP?= =?us-ascii?Q?E1Vs+LIS5aPtlKMqfsEQ+ZpCC636OHTEPyA95Q1qla/dcXNn3eGOsUcONCxo?= =?us-ascii?Q?bZ5qKL0ZTIZNJSNShnGj2EK7+BqW+CQ8EZoaXHC9rhvyX1SlS+rd5VOiRJal?= =?us-ascii?Q?CmOSs6SmOyVgSqdnFl715qyzRAyKcKbaxPx7AoQEjEBDVjx87icR4Eu9i5o0?= =?us-ascii?Q?mVBpyDBUVMWpPoliUCq3NsnDoM75U+zEyyXcEdZEF+ZuOuyg9X7ChE0CQhXQ?= =?us-ascii?Q?qW7Hbp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ea8OxFzcHU50f0mHz?= =?us-ascii?Q?dhFo60SsaJbVFQhCM=3D?= X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; DM2PR03MB477; 6:8RPUQhetOK17ki0jcgYgzQRDDqE6PreSRjVUPcGXaxR?= =?us-ascii?Q?T+g9P5TL0syuSeCNCFEs8w07tVHsL0rVq0QthwEjZh9hM4dSE0FlGyPS24q3?= =?us-ascii?Q?Q3JIdBo5VDyu2YxF+E1rLftdo+JBK6sE9iBQxGLCkDjAOk6LlnLkYf4m2xON?= =?us-ascii?Q?egsuPrbYoMDKRuJV1eIptYdh5o7GbO8texodgFrqp9ObtXvBwQb8i2y5ueC9?= =?us-ascii?Q?5CawyIe68zdpYiBCCpVX4x70NXoxl+AWBlpwXnJkzf89IubE/GztIpO4WeGv?= =?us-ascii?Q?BbfpmRqvg0lj55yu+DB8/6nmi37KXh4ukBKH9gQKRhMuwTTuENhyyDXD2BHV?= =?us-ascii?Q?NliwLVO98UPVdX2GAQ3nD+netethhkPCa3DMy3CIIPrYX6cZqiOGYF3EB4/u?= =?us-ascii?Q?HiA4T7wafv8gcd7oHcr4To3BkvG7Yr+F5fiFDSvjJms+cXxlvfkOUOpnOZRZ?= =?us-ascii?Q?Okn8soqAua++wMISjchIxTYnL0CG4JBO/VM6EN5kCzONCrB5+aN+L2od3ma4?= =?us-ascii?Q?mEke3GFCj1uqGnDYCbKVZaNpJ/X54HdzMwRT32NLpJ6JlSwRfdp0mabnluO2?= =?us-ascii?Q?yV/QkudMmtuwvYo+mHlQxDfPBlNnE1RGOEwjJbocwbeXYHXdhs/n9SbgZZBj?= =?us-ascii?Q?QYKX0g0pfeqFtEraPSJh5KmPHj+xd3tcV7+SMeYqaHbc+RdrWSpci0TI0vq6?= =?us-ascii?Q?FxhUeA5MQuHOICHsYF8W3QFz2Hso5ZBIYJCwJkHrzytGLH5MSHMy8V8qOo4Q?= =?us-ascii?Q?xdriN5Ny/zhJXjeqDafZDOagUj1FFUcxJtz2rmqKNikDmzg7xQi6GKQ8sIYi?= =?us-ascii?Q?5FqEdKxtON2p1B73FK66kVkGfYdLpzqI31zeMHdY4Aj4NPDuDZEcAZ2LaMNI?= =?us-ascii?Q?XEigZF0lCxJuS7kfjfgwsdbcJKaklP5ZWlBwnvUEQBS3zA8ca6fXxaOgwlQd?= =?us-ascii?Q?YBzmR0oC++HFiaZMHoQRPYdnfBinwv0z1q36Bvg=3D=3D?= X-Microsoft-Exchange-Diagnostics: 1; DM2PR03MB477; 5:48q6xKJ0HGTjsSuupWaQf1Dj2ft810ZSiLJiuXexNd35KvvL8M6UdIXdFnRraen0G74ewaAZNHmfHdlAYET9b15j9z5uZ5W9WNxCG3zvF4fyt6JXPzX6X/vdK2JBkqKy2SwtGe8tb2vrUJoCXLrZBEUCesBEaKwNez79xANO7JzYseSZoFNtjqNAOj869X6EVfI/bXciSWR4pznmabBXPfch2l2b67gQjwUnK84ulFkJmyPmiXZa6q+f0U6w2is8Ad8to9fiy/YM6jznGl4kqDmQinX6kIxsgdY4vM/EuewJdPm6gsZN4GwCoZ1n4PXD+d98JBS1nFCLpiRJFjy2PMVusheKU018riFTmyfZUOq2Sz78idAWRZxKMuDlYlP3r5fRwPE3URo2xNRwmpnEOIjHCcL5kTI7hyNCMqPX0qV2IU4sEaoWW+5HN+7kz77SiEiK4h9ew5xJJOca1o+pjI+ARzqzf3eOrFZ+iCxq4oDZicCZPy9DCfKq1pF7o5Iyu83hvMrLGmmth59EjhCOiQ==; 24:ZBgaIgbwOaN6TseKqsm1WNaLeG5uLCUcMHjUNEjZwK7yPmnNp/CbBi7pVvpnPp+6yho7V4zCr+De27yi7rg6qj/f1cEgxA+O+ExCzMwFeec= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; DM2PR03MB477; 7:bi90BNCsxaQ9FQC6Ldx3hPM8PklSoYBJGx4EB789SVfLik/jgrYekV8Zo60VqNOAmaL1wO061J9IkBbh8658GLMqV0jUPNk5Rz+ixd6KRyowvIho43NZXgT3FUEBiIcl7o5B/lx0iOco3FUWLy+4EnFPWa+HSFvpvD4hpl3DHWGC3aC+BZ4LKQO4mpdtBdl6kmRVqMRvVZDf8zttUGPh71yrOhE3ndi2Ho05QqOIjR1ybqAgPlnYeVHHbcMczAFt2kYUEbFH/3Sb+2/UxYrEf8Wn6nChYInIR401gc4CN95qQK8jW2aFHN6PkH9nsVnFbldfrpHEFtGG/kz20Oqj5iggELZJKC7ciJb3ggvhTBBkEoy2ulDZte+nZyDF1j4dH5iqFlOrp40FDZT3po2jSml9PuV4jnXnr1EnXdIG0/nT7QkbHEr/Uq21R/4JekUsdx+nZ0OFKPE7SSrpAiRu2J3MXFiwPrp2cHqIIIonjUKh/s4nKhB+2wa8d4dj6LBA6v1OM3KuxW+r/Q5cfengUVZ+NWRArmngkEG5tEw2lXjJLnTZpfdNJbI4e1ZYg+G0Blj/+A6jJ4kIqfCDWOsadPIn3qZSNX6w9CK7XHZ6dpO8muqlGCioH0JMTv6wuIvz0iCiPlTjElXni9JgHGyHuKsDyEqAX2s0kvN1Wq8JOSqgLgXJq8dKF0UBMdoP/ZxqauBh+pceTOP6UjKHptz+hgQitssP9bPe99xPEi+nUgL+wXy8rqYjypdT+McaRfP/dalFv7Qb+gD0gkHBCXWPL/QAslpLCDSYJSHN67fC7z0= X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Jul 2017 06:50:04.6312 (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: DM2PR03MB477 Sender: linux-pci-owner@vger.kernel.org Precedence: bulk List-ID: <linux-pci.vger.kernel.org> X-Mailing-List: linux-pci@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/drivers/pci/dwc/pcie-designware-host.c b/drivers/pci/dwc/pcie-designware-host.c index d29c020..6e10cda 100644 --- a/drivers/pci/dwc/pcie-designware-host.c +++ b/drivers/pci/dwc/pcie-designware-host.c @@ -634,8 +634,12 @@ void dw_pcie_setup_rc(struct pcie_port *pp) dw_pcie_wr_own_conf(pp, PCI_BASE_ADDRESS_0, 4, 0); + /* Enable write permission for the DBI read-only register */ + dw_pcie_dbi_ro_wr_en(pci); /* program correct class for RC */ dw_pcie_wr_own_conf(pp, PCI_CLASS_DEVICE, 2, PCI_CLASS_BRIDGE_PCI); + /* Better disable write permission right after the update */ + dw_pcie_dbi_ro_wr_dis(pci); dw_pcie_rd_own_conf(pp, PCIE_LINK_WIDTH_SPEED_CONTROL, 4, &val); val |= PORT_LOGIC_SPEED_CHANGE;