Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp5421280pxu; Thu, 22 Oct 2020 01:38:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz5EzG2zCEt4oDZ/fM6WcopiLqkM1onc52lxWiOPBIm6wImGVIc/rUa8b7TRh0gCdATbMcg X-Received: by 2002:a17:906:486:: with SMTP id f6mr1139500eja.473.1603355905931; Thu, 22 Oct 2020 01:38:25 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1603355905; cv=pass; d=google.com; s=arc-20160816; b=DBluth74SsHiEkiddzamAq3y/xqKK7shuocXA1+5cfg9kC6+oy0bCSKffsjfENK6LY IXl6O5a0/ncohoMc11+3bSmnh7o5Ug/KpRv/Dz3FDtLgLETacD/lrBTvNXv74O7hlYii o8qOj6Lw0bAeSqAA8aqnrV6XT8fiKepOjiBrKs/DCwE3vlnqSDA+hIZUu85xX3VCo7UU +NWJIYYkBDUHMVkEmmh1uY4v+LQ79AnYeN/PmIurLl0QAatZdnBaJnQUdBWCuXs5QM+q S3SUx7oVPrM6YeExpqus/EwZvv2KjX7m756TDDycZGwFZJRb/3BItOweTJJlp5ORuMGi DDlw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence: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=VJsFPQynYzEWjwW0vMD2j+WPa5FH92+04GTdrOMx4IA=; b=Z4nO+1WDtpdgwsg9W9Ct+AjPQEEiuo70BvUoysSjtdYcgKgoZiZ9z6A9ZvklOEz9Z6 Ynyjszk60XDom1Ha5F2HrAW473vFKyw5oAfRluf8M7QHIJPNPrmihJQ4MkTHAy9ZxmYJ 3dryIxbDd+zfRCCoYd4MdvWcvVEmiWAR20NbWsUhoSzGMnov3DvxoiTtAcWXaCwJ5qnp d9AxBdhjPO74OZ5cqGGbRtR4GK3JUr45TU7JPAHTzegZtCS9JOcAU1JCaQBUIvYTUQrn c8eXssnNEJzonBe34kJRsUZNlXMjN3b/1oYdrbVY5m0Mr//Y1PF0VVrh/FUFzjDXIgld XXUQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=JkE6jtxA; 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 bm17si440051ejb.356.2020.10.22.01.38.03; Thu, 22 Oct 2020 01:38:25 -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=JkE6jtxA; 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 S2508192AbgJVGUX (ORCPT + 99 others); Thu, 22 Oct 2020 02:20:23 -0400 Received: from mail-eopbgr80080.outbound.protection.outlook.com ([40.107.8.80]:40750 "EHLO EUR04-VI1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2503487AbgJVGUX (ORCPT ); Thu, 22 Oct 2020 02:20:23 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=gLhf625KaedDyAaDXB6v2iVVFT3GZoxurFuXTedp8+hCKNzow2jI4vmFZlzkLcm2NmhbUJLB5uzkFuu2Ogrq5CQiu7TWUS+Gs7AA68XQVJQYbXlBQagXUbEh/J8XKQ7PXiHzbh6bRtyHgq/jxNmSyLzCQUODkgjT5ZVG9VAqZTcxI9/4kEtprumhVHgPjIlU7Mb0kvfWQzPeqfEkKOKlZAO/q2UDN6ysjtMwNGggdKaAiLf0oRZnU9ecHEYnBo8ngQqKDPCmViDKz5YcCtDM5SX9j2pXnYYzHAMzc5Zejei3SPWi6RU+xn5Ylt8Qt+Fe+Pjj8Y+hyPAhY8podjeLxQ== 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=VJsFPQynYzEWjwW0vMD2j+WPa5FH92+04GTdrOMx4IA=; b=jBMKD7HW7uX2n8AHXtBdKubGS32M24xewUQHC0CirYVHc20gqnErVvSe06cXUWd0BCt2UPmsRHKQpMNe8J0lI2dxhPic7LTtE7iCIx+J//JJcaItuuVACO906UQN6gZHz0HYJqpqvrBSMotosg7iGxDq6TYnHgCHsHAqvAllawv0npbqG3riof9v2iEj4nkvAffy10YImFnmcnVzzP/iPEZwb0/7ilD78ta/R6fHZI7jsQaTYgBlYgzkGm3vBFERIoZ5kUYCLpBfVHGR0w71HSqU45EHTz2v+qiikTXDpEym2NJ25sSyD9FkTSz7qKzFvEmrRqu+vYYinZt9ntNs5g== 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=VJsFPQynYzEWjwW0vMD2j+WPa5FH92+04GTdrOMx4IA=; b=JkE6jtxAIGTdkHYNdfOq1sMmdhRChK6LZvy/3Dk1PZf0aY9/uer00TXgEIJoypmz2kVkxYNJOi2dp8ogibFAEcdUa90CQK7qx0NBm0BnfH3I+tcmFPBHfdBeTGy9tpU0MpO0LVIr7OxYZd5vT6sMIl8/QaxPUwiTD20njFyUzpg= Received: from VI1PR04MB5853.eurprd04.prod.outlook.com (2603:10a6:803:e3::25) by VI1PR0402MB3839.eurprd04.prod.outlook.com (2603:10a6:803:21::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3477.27; Thu, 22 Oct 2020 06:20:19 +0000 Received: from VI1PR04MB5853.eurprd04.prod.outlook.com ([fe80::ac50:7ca5:4296:8018]) by VI1PR04MB5853.eurprd04.prod.outlook.com ([fe80::ac50:7ca5:4296:8018%7]) with mapi id 15.20.3499.018; Thu, 22 Oct 2020 06:20:19 +0000 From: Richard Zhu To: "Z.q. Hou" , Lorenzo Pieralisi CC: Kishon Vijay Abraham I , Bjorn Helgaas , "linux-kernel@vger.kernel.org" , "linux-pci@vger.kernel.org" , "robh@kernel.org" , "bhelgaas@google.com" , "gustavo.pimentel@synopsys.com" Subject: RE: [PATCH] PCI: dwc: Added link up check in map_bus of dw_child_pcie_ops Thread-Topic: [PATCH] PCI: dwc: Added link up check in map_bus of dw_child_pcie_ops Thread-Index: AQHWi+0seUdQCD5Vd0CU4riR8OTpR6mZcoIAgAUfDCCAAAuOgIABVTAQgACEH4CAAXl4QIABbo4g Date: Thu, 22 Oct 2020 06:20:18 +0000 Message-ID: References: <20200916054130.8685-1-Zhiqiang.Hou@nxp.com> <20201015224738.GA24466@bjorn-Precision-5520> <7778161f-b87c-5499-b4e6-de0550bc165c@ti.com> <20201020095527.GA21814@e121166-lin.cambridge.arm.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: nxp.com; dkim=none (message not signed) header.d=none;nxp.com; dmarc=none action=none header.from=nxp.com; x-originating-ip: [119.31.174.67] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 2822a08d-2731-4b8f-5d08-08d876528c8f x-ms-traffictypediagnostic: VI1PR0402MB3839: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:9508; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: R8KvwpxMHv4Kx5TV94V6pimVkSvsnHMzuanHEkaTSZHMkp28Gn3tc1zvZEFcu6pqMgR8j7GEkaZqQdPDAHys6DtSICa2jufgIcyYuM5zaR9+4dNBlG92yEaOBzC9cbGkw9f1VgxKRyxJAp300ttnqm3y/irKIlULZLiW8CIXh+by1W+XVXH67RLjIRrf+/5fNP3hd5CtqUHvhVnljhvkF1pXYK026PdlxUAWraQPsGUDNVYmfEAQ22zTScqrDNJy9OfFQn8Qe81AnjkgSc9egQZGjtiATjhVn/vowSkY4wLgeh7/9YMF+j3hgitkUpRRsq32gY5c2PU3lPFGjOmaHA== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:VI1PR04MB5853.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(4636009)(396003)(136003)(366004)(376002)(346002)(39860400002)(55016002)(52536014)(5660300002)(66446008)(66946007)(33656002)(478600001)(66556008)(2906002)(64756008)(66476007)(83380400001)(8936002)(4326008)(76116006)(8676002)(86362001)(9686003)(53546011)(6506007)(54906003)(71200400001)(7696005)(316002)(110136005)(186003)(26005);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata: 6ANyEvTj9huC56RWCQ55CkoOZj+q7CQMnxclldpbwPG0p7tm08rFJv7OSjzla6ylHs32wCviPUCFWyNOxy2JgUzQi6h0H+xsRZWPQT2F9/H/FeFLYhcFc5hEjrTxHDDduVk04VEG04s1zaoR4Yso8rhprhgcOkIuIfBNxY44Jvnxw45N5iiK7xi7fD75McNTLIYfs2Jv52wGqZKkh2jCg4aIpqsURmt+HxxTKC96RXt5rLG+YgTFZFTPHD3dy8GuxMKTiIO/m9WHzD0H/jPDwdir2xZkZjBrlP9HR7RGjEyOKx8i16rL37oImA8LzrYubRFJH79Z5gs6wzOXIa1KvIF08bNh9Kl79SHp2KDKi0kyK8HgbQuSQX3fuIj6d8gj6t9SUrltZOXwi1p3oAxhbBz2VjUF5OwIhNBGDNjtwg4r0grUxiM31xRZJlhZga2WNK+fVH5YgfTpPILb6hxI82yT84KkcFZcnGkEU7LHYrchodppiYLrZ0t5qevUhl7Z+oV9gCwLxzaiEaa8hWOcc0aIIhAkf9qxNE7i//cMPKiP+ch7qZCUHwczbJejGFpU1/NvR5lh+TYQEL8CtutB36S4nCjcanBSb82kdCkCvtWSwLvq+qz7EGIznUPQhmgJXTUs/DRV6PeZO5SJRNrflA== Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: VI1PR04MB5853.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2822a08d-2731-4b8f-5d08-08d876528c8f X-MS-Exchange-CrossTenant-originalarrivaltime: 22 Oct 2020 06:20:18.9697 (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: MpTNnFL8g7zbkDgpr6MrTtTZyMpPkVSdomeBgWxoTDG3we8wnSWRzKbJUWzu0GtLB+dHRFTBoqjA+XgT/8gGDg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0402MB3839 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org PiAtLS0tLU9yaWdpbmFsIE1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