Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp1748344pxa; Sun, 16 Aug 2020 09:39:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwulc0LQD7mow6Ypu4wApq3DBBEZjvYh778XV/JW3ENxBSWeWyKUb9ssIzOipQZuMxCx/+n X-Received: by 2002:a17:907:7287:: with SMTP id dt7mr11190685ejc.224.1597595974127; Sun, 16 Aug 2020 09:39:34 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1597595974; cv=pass; d=google.com; s=arc-20160816; b=OLi2RJkcHotzfJMLFv22nNyVIDf3Xl+mjEQ7D0JgvOSejfBstUAx1Eivjzugpxgm3m SiUo0KOToGygC9/0F9o2wULKHxaEI+mGyH0vMj2bSygI8z1gDPfPutlY5QAAXdzkQqmy MK4YIzYuX1VV79X5j05vvvrUIPcOLhMEhUXlKuhoLCabOiW2o3EHh56fweG2ckVDLxoy dkhm1xrJHhZyf6+ttck39/tC2Ii0Sk3oX0SGpWqpNufHhAhcIVzjLB3fsNudxDHxM0Yd HnF9ogBCUiU259qRyhKIblqiriv7oRJ+erCkiq1+3N1hkdvaJH/9B1PApeuZOjDoyIhT 399w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=FuNNBz1Z0cWReIvq7uHZtwTdcEHoJxX9kWDOxaYP/5M=; b=C8XJlwv7iu1LoaeKHeu0Nevv4k2/swKrzpk9VJ7rvtcEZkEsdJZb3uDVyUUliKuoO4 Y97Yed5AeWeC6kLZCB4QRx/vjfACEw4C0IGo1qUr9FkLo2pzifv7Fh7xr298nbzDT6LF hYSIAfPERjKOZt1ZGdCS8sq1OqQcLS0CCjamOAqxXs9d+Zkwm+q0dl3bvihV348rWQ8m DKr9IlLGPUkvr0vn9DB6UqkZPXHs2kUu7qIBaBkZZO3qXCPgrKXEI929fx2s0sP/5H0P 1PjuiLIyWoNTtC+CeRdT2A7fB2hcmi9vNiG8f2mjyVSmt3BVwQle74IIV0DyD8QclnlW L+fA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=ARCL9m6b; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p15si9286700edr.375.2020.08.16.09.39.10; Sun, 16 Aug 2020 09:39:34 -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; dkim=pass header.i=@nxp.com header.s=selector2 header.b=ARCL9m6b; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729015AbgHPQf5 (ORCPT + 99 others); Sun, 16 Aug 2020 12:35:57 -0400 Received: from mail-am6eur05on2058.outbound.protection.outlook.com ([40.107.22.58]:62880 "EHLO EUR05-AM6-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726407AbgHPQfu (ORCPT ); Sun, 16 Aug 2020 12:35:50 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=lIk8TPM3QA+v7Qxo69x3KDjEpyGwg776c+A1x9Spog+mgvqCUiShQ9pT7/aJOb22VHZG/q5l5jXTVevRticBn7dPhyyMjoYq/Y69/0I+YrB7WmGc9EN25tQM8QV2TWdI3WJXr26/4iiIoDl7Ip7WGWoq7KzhOxbk1iT/KMDLT0j9Z45BTnACpqiGXVUy926aMdKNzip+B74D/zOnRU91Vee2Gkc5F7yjany2dKzd/5vDvFtB7UuetZTbCwIo1tXodIVOaqpludpdXosWOzy93FHWuziqLWowX3Qefot6IgRPc72sYUf3Y8+fFWslmaLrkWELCDuuqTncSBiHP7OK3g== 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-SenderADCheck; bh=FuNNBz1Z0cWReIvq7uHZtwTdcEHoJxX9kWDOxaYP/5M=; b=TitZuZChDUAyRs7qR0Rn0HGK6uGNaasm831ogBBfo61cj1xbUCc1EvYJs9ZBgmnMyiNs9MdPWngxbKlNdsqPcSU8FE9hGpBuEudl0cmOUr++HPEXDUNGmFCpYJc0Gre8EUM4ZgcnYJFBYuZUSEgwE/KjqY2z4lQKj1G8faeJjdrntvbx3bVmluhtgKt/ADCOy8F4oW8TVXw5jvlgYiif7XQN+tzu/2UFuAynzYghYNAEt1TmvrMvdx/4g+F0VaZrNcB4o0JfeAm7c3hYZ2XmMobbbyHtRpIOg7JVC3h3tGJRSRsiJEQZtsRZp/ZyOT/FTLNc1SyH5vqQ9YRcHfRY+A== 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=FuNNBz1Z0cWReIvq7uHZtwTdcEHoJxX9kWDOxaYP/5M=; b=ARCL9m6bucXv2ZB5kq4z2xQI32uj7XwDuoIulJ+iuPkrFmPhmFZHcZdTIXp2etDSUZpbl+gj2qAXFXC8gXF8n/Dv2J9Ttt9FyC/BcMpD63HdhyepTkx1znUanQG0sLsqhwjZWEDDw7gSEdTPArerlTngE2EllY/qLza4fo4Jx2w= Received: from HE1PR0402MB3371.eurprd04.prod.outlook.com (2603:10a6:7:85::27) by HE1PR0402MB3578.eurprd04.prod.outlook.com (2603:10a6:7:84::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3283.23; Sun, 16 Aug 2020 16:35:44 +0000 Received: from HE1PR0402MB3371.eurprd04.prod.outlook.com ([fe80::525:4554:3b4f:321d]) by HE1PR0402MB3371.eurprd04.prod.outlook.com ([fe80::525:4554:3b4f:321d%2]) with mapi id 15.20.3283.027; Sun, 16 Aug 2020 16:35:44 +0000 From: "Z.q. Hou" To: Rob Herring CC: "linux-kernel@vger.kernel.org" , PCI , Lorenzo Pieralisi , Bjorn Helgaas , Andrew Murray , Jingoo Han , Gustavo Pimentel Subject: RE: [PATCH] PCI: designware-ep: Fix the Header Type check Thread-Topic: [PATCH] PCI: designware-ep: Fix the Header Type check Thread-Index: AQHWchMU/epatx3sk0yrfgSC9wePyqk3wTkAgAMwdHA= Date: Sun, 16 Aug 2020 16:35:44 +0000 Message-ID: References: <20200814080813.8070-1-Zhiqiang.Hou@nxp.com> In-Reply-To: Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: kernel.org; dkim=none (message not signed) header.d=none;kernel.org; dmarc=none action=none header.from=nxp.com; x-originating-ip: [92.121.68.129] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 3ccefb29-8330-4e35-0408-08d842026c3c x-ms-traffictypediagnostic: HE1PR0402MB3578: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:4125; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: t9W6VJZJ0t6FV8gu25QjQ5xDgpnjTh60B66ivXygTQD/mRvFaPDMnEgDteEaJ3y1vm5tE4mQ3J7EbbGSSc0mQhOBXU4bWLxH4wE2I4h8UNNw7Z3Bjthx9hYNqlWJucpHnU01qUEa2FqKl7MECW8mfzBvpkV1xa4H56UrK0eW6SAqIQYvueAZPaUrvESA7zpdMC/xAfkir/It+wV5jXHwdYhdKvguNTwLdvUQQT8QQNbTZuB+QsPZBCYTdAmGFYNU2AmfL26XqHbquEE05U5LkNahjsHUVPl9bPUQe49r72w7ju8OIytFx80FijPfrVQU x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:HE1PR0402MB3371.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(4636009)(346002)(396003)(136003)(376002)(366004)(39850400004)(5660300002)(55016002)(6506007)(9686003)(33656002)(4326008)(186003)(71200400001)(478600001)(26005)(8936002)(2906002)(7696005)(53546011)(66446008)(64756008)(66476007)(83380400001)(8676002)(86362001)(52536014)(66946007)(76116006)(6916009)(54906003)(66556008)(316002);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata: /HGrIgu4Z03DLmtAdq++VQxnsRimjmdQZYULAUsSsD4AHagwrhAGHG8d7XfasL5DrR+PHmu5+5oU1yPg3APS/gsye2SOi+WPtiqvlU8pw4KU8TkaxuyCkd2/fwlg71WAmhD7KNeJRgmEgv5dOVFY1Zp3rnUvJvvyBW7dDpkaA1T6CauMacPO798asJB1r+DBsdDYikvxT5wk979TvTt78qtsMuqvnRZAV1oOq0triTCV786uAXszsNo+5OGhNNiyht2weEDD5y7x6YND8nzaKM/z99t5WtmPc/WFTJMUYZWcyeCI9kV93m+md3xzzqaJrrFwu7EuusnAWVXQWwgXx/Walvl+hMkgjdKzUv3LzL1CtJzDd8WYyaV0OjXdPI1esfHuMO577HHnaExk1IAqc3pQ5PL0jQrU3HLHuYlV73uIe6ENcOjoeUnb1DwhWRMAGWmgwOycHVCqLeOi0X55B5d5HPGbLQYIxLjGqzqtnXspBYediB0qMAKP5jl4AYz+Spra/Ht0IXosI+OT4O1EbnRDYzLzOiO6D1Yq4BXqCatWR5ahAzYcphx77EOD2OP24f9iqMv0G/zZsCf+nI0itHpS3WWbJGWHJI2jvJjeEWgA6zX7G0/wNrKrYArS3zRgiH9LF+wl6nXHuOSuL+grNQ== x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: HE1PR0402MB3371.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 3ccefb29-8330-4e35-0408-08d842026c3c X-MS-Exchange-CrossTenant-originalarrivaltime: 16 Aug 2020 16:35:44.3954 (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: UuzHUNbEH++9P81rMEgVV8dwUlqnbdtUH4f+7Qvx30u0h4BTC5VDk4IgnyekeiDdWdeKK0YHbebAke62j9jjoA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0402MB3578 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGkgUm9iLA0KDQpUaGFua3MgYSBsb3QgZm9yIHlvdXIgY29tbWVudHMhDQoNCj4gLS0tLS1Pcmln aW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogUm9iIEhlcnJpbmcgW21haWx0bzpyb2JoQGtlcm5l bC5vcmddDQo+IFNlbnQ6IDIwMjDlubQ45pyIMTTml6UgMjM6NT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