Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp1602088ybv; Thu, 6 Feb 2020 06:47:42 -0800 (PST) X-Google-Smtp-Source: APXvYqzDcptyP3Sska8Mx6KSBr7FHnif8720wUvKI34kUuax5SIbkY0p1BL1i2JTdl1CXKouHOyp X-Received: by 2002:a05:6830:607:: with SMTP id w7mr21560418oti.155.1581000462522; Thu, 06 Feb 2020 06:47:42 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1581000462; cv=pass; d=google.com; s=arc-20160816; b=kB3C/I6LUnCdP0zg7xdek3vZHsM5l1/4/BVfLHyc3VF4KyfBXMjflG2hTRKiCc9Kuh g+2xnNTnJsIsO8vdXLD+uL8c83STI5Vgt6gPihvTjs680widotAStHWebZhU8eQFSqUM fOcpot5KMXXfBUUm0aOphf89XxUrEZU2szXMn4khtXs+v1WlLS3vS5dfXR4+YKz6yr7p zeJPN7LJIc8Is0x/UkpFtPkWxHvlPCuLa4KxGSX+9xAWvGq4xNcH0AIb+IKgeg87oyFM 5TMJgYZBYPJ+NkBFFDTb3U/KKXqDTRxtX4peTiUmOgaH/Itnb9tYhy/MN4h6xyx724dB 0AuQ== 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=Moj2P6Pst7s2pRvGPPgfFbmQI3n/kB5PPgcbGG9hwkY=; b=VhO264OtgDi/ydtL8I8/u1dUmLWkrOVjJlxHtzoy+OcgqkutAunrFBanvxwMpyu9yS nIxwk62XVUMUsQEMu5+q9yU35+pUzJqoHGocwxYyPc88uALGA/oNSLlrz7t31kxZJ5nQ AR4SiGMbwIHC0dsYN8BUaDOJC85Drl3mAHIZpcm2sV6LiUjbDg+2C98M/Do5UWuhwZWg nLY5tQ/qt9IOT3jgVFbJ1prfTebEZhEGyCGp+1X56byM/iNkyJC/LUpua7GLnt54QBy9 FcQeB8bd513FpgIgBnESw7T+aLxPLpuyH72xHdHw3LgI4hBr582/3tRuomrRpQR4xVZC s/Fg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=iXx0fGDH; 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 r26si1920658otk.79.2020.02.06.06.47.30; Thu, 06 Feb 2020 06:47:42 -0800 (PST) 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=iXx0fGDH; 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 S1727847AbgBFNZa (ORCPT + 99 others); Thu, 6 Feb 2020 08:25:30 -0500 Received: from mail-eopbgr80050.outbound.protection.outlook.com ([40.107.8.50]:47744 "EHLO EUR04-VI1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726765AbgBFNZa (ORCPT ); Thu, 6 Feb 2020 08:25:30 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dWizBTB75c5ENkyfH2yud+csi0XzbR0qCDKVP5m0LEl540IAUcnl3c6D/w4llrJtkBQPq4cJv+5cABiMbtWOKxuuDASkOnnNfu4WP1K2zkq2xFpcf/by95Ht61CUreClrBoNsf+HlOh3IJYwSg5NSX201RM0Oudysf8fljGWJzrnIUm1b+5bxwf9exVzTH3Z0mDg9u3YDh8n35ua4cqo5pVXcO1m6Yee+hIjLgworpDhCHl8cNhgUwirpYyBdEEHlr9Dx/G4YAuUpp0MJ1d3gCK6xE7XR+gguc8TVSQm+I5KgqyW0OlgzOST9xd5D+qV2+z7p5SoPfZfLLUSI+p1Qw== 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=Moj2P6Pst7s2pRvGPPgfFbmQI3n/kB5PPgcbGG9hwkY=; b=PPkg89W9nGesaVIm7IKdDgVIbI+wihUE/2P87dTKhoz3G8syQNnvayVFruBhwIjFfZWq10aUsJKkFjvSQDPwulvupmhBUe/ZB75rllBaHJtbSzAhzH7gSbioTDSHMnQjnOhQavrkelf7+1eWgziCZ0nvjzmbBVthBVYT9VUprewCz28dBeeTTccMyz1JkcNIWEn7LK1GIieySATKTuqEqaoIH9qz6lZG9ukCjiBottgKrsVtj+YYmjBLBhqi5fbEk33VKpDC6arM4gSjGhPwHVHV4Ap7wXEjScInfxb8JAcQ4e/YOPFF1dQwX5DD2hdT683vG0vWLk0T+77lQ67qxA== 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=Moj2P6Pst7s2pRvGPPgfFbmQI3n/kB5PPgcbGG9hwkY=; b=iXx0fGDH0gz0bjqBk4sYP/wRLWdMrt+69VaMQna1VUWEE61PWoY8xiKxjf2KETU7JXDronTepUlQy9kEFWXenURV9cexqtzdoBuYgcQJ5GL1AZ7z0S637rSyMv19c2nqEV3C7toseU85dyR032eX+Gk/u8vxBokrLXv+TxvZj74= Received: from DB8PR04MB6747.eurprd04.prod.outlook.com (20.179.250.159) by DB8PR04MB6844.eurprd04.prod.outlook.com (52.133.240.87) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2686.29; Thu, 6 Feb 2020 13:25:25 +0000 Received: from DB8PR04MB6747.eurprd04.prod.outlook.com ([fe80::104b:e88b:b0d3:cdaa]) by DB8PR04MB6747.eurprd04.prod.outlook.com ([fe80::104b:e88b:b0d3:cdaa%4]) with mapi id 15.20.2686.035; Thu, 6 Feb 2020 13:25:25 +0000 From: "Z.q. Hou" To: Andrew Murray CC: "linux-pci@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "bhelgaas@google.com" , "robh+dt@kernel.org" , "arnd@arndb.de" , "mark.rutland@arm.com" , "l.subrahmanya@mobiveil.co.in" , "shawnguo@kernel.org" , "m.karthikeyan@mobiveil.co.in" , Leo Li , "lorenzo.pieralisi@arm.com" , "catalin.marinas@arm.com" , "will.deacon@arm.com" , Mingkai Hu , "M.h. Lian" , Xiaowei Bao Subject: RE: [PATCHv9 06/12] PCI: mobiveil: Add callback function for link up check Thread-Topic: [PATCHv9 06/12] PCI: mobiveil: Add callback function for link up check Thread-Index: AQHVn1UEYLWmKTdIpEiL1397xUm0IKfoyLAAgCRXEqA= Date: Thu, 6 Feb 2020 13:25:25 +0000 Message-ID: References: <20191120034451.30102-1-Zhiqiang.Hou@nxp.com> <20191120034451.30102-7-Zhiqiang.Hou@nxp.com> <20200113112201.GL42593@e119886-lin.cambridge.arm.com> In-Reply-To: <20200113112201.GL42593@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: [92.121.68.129] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 66b59dd2-4b4d-40b6-db92-08d7ab0806ab x-ms-traffictypediagnostic: DB8PR04MB6844:|DB8PR04MB6844: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:6430; x-forefront-prvs: 0305463112 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(4636009)(39860400002)(366004)(346002)(376002)(396003)(136003)(189003)(199004)(4326008)(7696005)(86362001)(8676002)(66946007)(66476007)(66556008)(81156014)(26005)(81166006)(76116006)(66446008)(64756008)(6506007)(53546011)(478600001)(52536014)(6916009)(316002)(54906003)(33656002)(2906002)(8936002)(9686003)(7416002)(55016002)(5660300002)(71200400001)(186003);DIR:OUT;SFP:1101;SCL:1;SRVR:DB8PR04MB6844;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: BCL:0; x-microsoft-antispam-message-info: 1X6RGJCUAD34lH3Kd2vZcqeKerFGwNfRMtmjWVQn47iiitqh6HbDNfOFda4pECbXUsAdb0xnOTpyXFucZ9/74vlYXtfU9uC6WxdY8cTRoWQBU/6WkgSqTA9wKGli1W3xSScTojh1Pw8X9w9Z2uaOBpsBc7tVVIwRMzNUbpIgNIVqx4fGpbcSiMWexg3rQuSEsXRYGb0L1lzyeY5r0Kd/F74+0taW+Syf+dpdLwsaUyb59BJLHuX/bmc+3d9mQ4Q/Cx8kiRbzx7tD1uidWPOSgdgmhkuaEHfJFeA6BeqClskgWt+WFo2hjiSY3bbUde6Ur6k+hKIch/1hG++lnE9cNYkgLJMvdN/X7VVeGByby6CuothrWQryjgN0qQf/yuiR88VFR+q8hdZea4xi0O2tas/1U5SB1dYtrq7BB5BZLCEOFxJAkqDu8aHid8RfE9+9 x-ms-exchange-antispam-messagedata: XFE8NIe95f6O/Gf5JtPv7D1inckdVbzv9zR44bQFZi1CMb+1qIzKy7NMTUcBqbtJxkRV2ACpRhxW6wXAxheOyd9CWSVx6f8tNlBkwhdhNo0Pjrmt2JkQxMF/cu3+Dv2X19vys+hwb6NeuWsFuZc/cA== 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: 66b59dd2-4b4d-40b6-db92-08d7ab0806ab X-MS-Exchange-CrossTenant-originalarrivaltime: 06 Feb 2020 13:25:25.4789 (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: /4EH4UCC8fD1sApzNL5kWjaeytfGzyRVqjw7WcVRXI4fo/5YHYERm5J4HEYCAH3+qbeaLikyU0txLOWmK4ZYow== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR04MB6844 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGkgQW5kcmV3LA0KDQpUaGFua3MgYSBsb3QgZm9yIHlvdXIgcmV2aWV3IQ0KDQpCLlIsDQpaaGlx aWFuZw0KDQo+IC0tLS0tT3JpZ2luYWwgTWVzc2FnZS0tLS0tDQo+IEZyb206IEFuZHJldyBNdXJy YXkgPGFuZHJldy5tdXJyYXlAYXJtLmNvbT4NCj4gU2VudDogMjAyMMTqMdTCMTPI1SAxOToyMg0K PiBUbzogWi5xLiBIb3UgPHpoaXFpYW5nLmhvdUBueHAuY29tPg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