Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp464828ybl; Mon, 12 Aug 2019 20:13:59 -0700 (PDT) X-Google-Smtp-Source: APXvYqxxNyJ1UHC4TtPC/ZM4yfItHVPHCsYuENvwrY1cEEVea6BBOSfbHN/FGXcJ7NXZt6cFbIBz X-Received: by 2002:a17:902:7c05:: with SMTP id x5mr36227883pll.321.1565666039724; Mon, 12 Aug 2019 20:13:59 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1565666039; cv=pass; d=google.com; s=arc-20160816; b=Jy9go5h5gAeWeg77E+bLlYg4Ovr/t7a0RFE28Ofw8lLLRJRJcmmt7P7HHXZZPzjwuh xsvgC4PQFU+ii2HcKSXASEZfKwM8QKUtGrYlA84SWt/wJi+BdNiIRb+scKpL0gGqqgPk InP4EerXYDlcbA6nH62JL7E282+Zha/TiIjxjVcINuelnv4qA/4SlHKc4EsSNzuR/BYx HQV/XiZniVoxUa1+4mJzNV/YE3x3egbXeboHAJCcl3KEKycoCMYbChITKv5OCxHXjiaN DXJtWBnxG13Ot1ragvDRNVLGCqEeY6GWb1cHp//PfOdNs++P9lF2p3IScI+X9PTjRYxz E7Og== 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=zhtqmBUdjz8wRrla1jKk4FSCf3GMfZ1Lehe5C3W0wfU=; b=C5VkUcHv8QYwv887EJyoNJml6lLNR+fSjFR4f4S086HIfRhlqmzkl/uvH0IE/hoVbu cxDYh15o02FGwG64ul4fY6u6ppZYthnG1UO4lmoAgCcHk5euBoIcrIMxjxgIUTcRvvyE c0y6XHxq1l9AefWWvrLCOApfJVoHJlYEqXXZ+N2QpzIdr2hK+C8i19MhmSg6csZiBWMf vOm/ejZknCRrBzLV3vfxDjjFLGxBBuUy1pNIa2WTpbcitwn5T9pzVNjZLrDJ9kSXlvS9 8qns6lOFh8v8XPKRjfmW3HnXfx1blgQusVj+x8//Rwj7ejJXCJFkPBq896eWKxrZ7ODF 1T7A== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=PUDOTNUP; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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. [209.132.180.67]) by mx.google.com with ESMTP id g34si58075336pld.266.2019.08.12.20.13.44; Mon, 12 Aug 2019 20:13:59 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=PUDOTNUP; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1726992AbfHMDNK (ORCPT + 99 others); Mon, 12 Aug 2019 23:13:10 -0400 Received: from mail-eopbgr70070.outbound.protection.outlook.com ([40.107.7.70]:18087 "EHLO EUR04-HE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726236AbfHMDNJ (ORCPT ); Mon, 12 Aug 2019 23:13:09 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=SaEDhzsZL6ZMgsSA7QJtpvL5ac33FDApE5REQdmhRXwqlFOhh3RHFQS/9yMWlg6u4Uu8QlXZdQOSaMJwqnp/p+URixfM1U2PA8Xc3I5HeU8yUUCzc/QGY4ybEIbX0mvA+NVlAStvDd/YdHkpWAWqNmG9iWmaBozojWWEj2eHgOag0jIsl2NH441dPW7CePy9i9F8lw7jg+8Ln+KFdHU1ZAzH3bqoeDOZnDA+tWMKjw2D+bMG/vSnpu+iu11b0d1AWuqUdR6K3/0X2UxSvjgMBZvpzQrXTz0w3LwnnNZy19vAt8+HdIMN/4IxkhbPVi1jJrLGYdLvVr9jJTkwHQFNcw== 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=zhtqmBUdjz8wRrla1jKk4FSCf3GMfZ1Lehe5C3W0wfU=; b=A7eN0GO6IGMcG3w/5lG6UWqomGenELFC5prGDzwZQ9L0joV4SZ2hnDcYWXa3Zm5DztKX/+tMS7DwozD/Z40oOeqte1ep6hEPfGc6B5v75P4d9PNmQOptSzM2w2jfSII1vE5YAaqpWC85v+dZvkvCu6YvDHQpVNOrswOHATIaOQjkIqWuKhxwnQpYTWAchQpvrERvAoz7wtt+mTmLjxHpCu/NtvwhTD37gtR+NqOyQOXAxJOHVQPyxTJ6M+eH/cVx0lM7C3QZAky9buQAxg11FuKENv64HNWOJ8zUrUqBnniQZWvvpzinoRRu+RdLCPMHCSbC6u1GKLd42Uw//lZ3LQ== 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=zhtqmBUdjz8wRrla1jKk4FSCf3GMfZ1Lehe5C3W0wfU=; b=PUDOTNUPhl6j+LqRc8BenJHuLFNK7m38Fgy4fKKzTm+svquSsgEh6O+6AWlg+RSbpyiZOGXFkZjGWth6IicB5kKC0cPB4dAB2s/rwTih51c2QDSEZWzpSEfK4Te8hL+Oc245RaByKAGHdY8Li4UL78m6Hccm9PvTuhKWWQT2PWE= Received: from DB8PR04MB6747.eurprd04.prod.outlook.com (20.179.250.159) by DB8PR04MB6585.eurprd04.prod.outlook.com (20.179.248.139) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2157.18; Tue, 13 Aug 2019 03:13:04 +0000 Received: from DB8PR04MB6747.eurprd04.prod.outlook.com ([fe80::19ec:cddf:5e07:37eb]) by DB8PR04MB6747.eurprd04.prod.outlook.com ([fe80::19ec:cddf:5e07:37eb%3]) with mapi id 15.20.2157.015; Tue, 13 Aug 2019 03:13:04 +0000 From: "Z.q. Hou" To: Andrew Murray CC: "linux-pci@vger.kernel.org" , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "gustavo.pimentel@synopsys.com" , "jingoohan1@gmail.com" , "bhelgaas@google.com" , "robh+dt@kernel.org" , "mark.rutland@arm.com" , "shawnguo@kernel.org" , Leo Li , "lorenzo.pieralisi@arm.com" , "M.h. Lian" Subject: RE: [PATCH 2/4] PCI: dwc: Return directly when num-lanes is not found Thread-Topic: [PATCH 2/4] PCI: dwc: Return directly when num-lanes is not found Thread-Index: AQHVUMWJYdzIy46VokSNj8ZzDl4Znqb3L+WAgAE4QbA= Date: Tue, 13 Aug 2019 03:13:04 +0000 Message-ID: References: <20190812042435.25102-1-Zhiqiang.Hou@nxp.com> <20190812042435.25102-3-Zhiqiang.Hou@nxp.com> <20190812083412.GT56241@e119886-lin.cambridge.arm.com> In-Reply-To: <20190812083412.GT56241@e119886-lin.cambridge.arm.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=zhiqiang.hou@nxp.com; x-originating-ip: [119.31.174.73] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 4ba569ac-81d0-4970-c2bc-08d71f9c2819 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(4618075)(2017052603328)(7193020);SRVR:DB8PR04MB6585; x-ms-traffictypediagnostic: DB8PR04MB6585: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:6430; x-forefront-prvs: 01283822F8 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(4636009)(376002)(396003)(366004)(136003)(346002)(39860400002)(13464003)(189003)(199004)(6246003)(81156014)(86362001)(66066001)(7416002)(8936002)(478600001)(52536014)(26005)(446003)(76176011)(2906002)(6116002)(8676002)(6506007)(53546011)(186003)(4326008)(3846002)(476003)(81166006)(53936002)(102836004)(25786009)(486006)(7696005)(11346002)(33656002)(7736002)(99286004)(66446008)(305945005)(74316002)(64756008)(55016002)(71200400001)(66556008)(66476007)(256004)(14454004)(76116006)(54906003)(66946007)(71190400001)(6916009)(229853002)(9686003)(5660300002)(6436002)(316002);DIR:OUT;SFP:1101;SCL:1;SRVR:DB8PR04MB6585;H:DB8PR04MB6747.eurprd04.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: pMRHY+Q2v/m8s+P0YgOsQBmePH6TOjyhfX/UK9BSuHDkxsM6SflHKGrmdSoRupeWWVJnqZ95wepvEeb0g7Q51yGZOJ8qRjqqOKpuGovEh/uxRyhnCUEYRBx6S4NBTMsjvVSCjS/Y39cCWGrcy5f41TquwkLFlAGcUacUgQ7ujm33BlaH+n8jvDMaczAJLYbCqih11fQGYJC6bIDLGiVlAgVPMa39kmN0fhAgio183fUGQ6xC/YM99tX2CT00l+IgyLj+sSt1j3jXLdVHEdTMH5X7DNNAT5Qj5c9ExydQciwr3Wc/rgDCKOtBK2c/XNGpbPdRSklKBMV/05N58TVo3HWDvFmPPk6oZzI9htlgrR+pq4QvQubFpGxHsTYe4yJt4E8MDok/xsKn4xpVimjgsuP5MX8Q4ciBxL/7+jn2ttU= Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4ba569ac-81d0-4970-c2bc-08d71f9c2819 X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Aug 2019 03:13:04.3251 (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: KhiefFwvBppkvd9s9ywPI84C6srC7RN0Oak4I0P90Rs3VCcExiq4vslPe9tl94HdvJISI1Z2b4ejSF4POMM+pg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR04MB6585 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGkgQW5kcmV3LA0KDQpUaGFua3MgYSBsb3QgZm9yIHlvdXIgcmV2aWV3IQ0KDQpCLlIsDQpaaGlx aWFuZw0KDQo+IC0tLS0tT3JpZ2luYWwgTWVzc2FnZS0tLS0tDQo+IEZyb206IEFuZHJldyBNdXJy YXkgPGFuZHJldy5tdXJyYXlAYXJtLmNvbT4NCj4gU2VudDogMjAxOcTqONTCMTLI1SAxNjozNA0K PiBUbzogWi5xLiBIb3UgPHpoaXFpYW5nLmhvdUBueHAuY29tPg0KPiBDYzogbGludXgtcGNpQHZn ZXIua2Vyb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