Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp205032pxb; Tue, 19 Oct 2021 00:46:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxKOkgxZLFNQHixlNIGRPDYp0p/1/XYSgwyY2jM5Zl21qpTd+v0g2/XPWVOT70N3bqB1kvA X-Received: by 2002:a17:90a:718b:: with SMTP id i11mr4905604pjk.22.1634629570227; Tue, 19 Oct 2021 00:46:10 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1634629570; cv=pass; d=google.com; s=arc-20160816; b=ck6ZW0piBwOYtRW3w9Sl9AZ4lni7yLE52HFcAqQ88/2iiZxRNL2OUu9EwyXZcOk5J9 c4sY447BbBeWeYT8/IjVVcRgPnrrvM7BlurTvlxaTqZXhhtSxPSLX0SpM94R2RAWT84d Io04o2M0xDIuCuFKeevBEoBEhg7YH4fAbY7NVyrbOqm9SjnYDyiSuAnCUaesXw5Iox/T Z9rR0j7otAImko6x5+HK481zmWL/lHrdZnJJcnwagnRN9G49xrbgIFLGQVuDSyCq6AhD 3+Dxcnk49djleHmPag7Gep46Uf84LWDFbSsJD+8yaqNL1ubfe+z6Aox8i1tBZWWPg6zd F7EA== 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=mvBk4qK3Jo7YMrTFfR7ThNKtW13xJtI3N4EMYykdTNs=; b=Xpfjeu4DNsF8yD+DPw7RXspFAo82Objr6U3VZsgfJuEpeDPwE2tulEyU3FZgFHXzYI 32if1oJvEr/i+600/b7Or8d3cNUwbhewRnOKeAHHKpP9MwWsA670qwY43fU/QZ7fhfGU PbKEGCZFnkXgpicHo+rANlI5eXNVkUl4GF3LW3LvmVG9K5QHaP99Cpxzb+ECyUwV2s29 dgVX8V52qSDddK3X4cD9z9/IzkwQqliXcunfBhWR+vbMKXXa+WRSqL4mmIJeMwfhEMg6 vte7sZ4A4Hgr1HPJLoq8PkvUqCLSNpkXqRXA3/p8Gv+Lnfw/+7bzDEdaODu7Aa7cNau9 BvqQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=VfYTkwMF; 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 p4si409123pls.240.2021.10.19.00.45.56; Tue, 19 Oct 2021 00:46:10 -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=VfYTkwMF; 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 S234448AbhJSHqD (ORCPT + 99 others); Tue, 19 Oct 2021 03:46:03 -0400 Received: from mail-eopbgr00086.outbound.protection.outlook.com ([40.107.0.86]:17646 "EHLO EUR02-AM5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S231701AbhJSHqC (ORCPT ); Tue, 19 Oct 2021 03:46:02 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=mB8YFUqLllbTFhBazCrzm2/mrAfl3+OKZ3EhCxzDVjhMCE/GG5iuElYRIsThc/AVsIglDR/HQv2g+2egWyIfi+FQqOTkfynoX5S9lSCwRbcO9WAdl9xb2cEUx/+VI85urB32nvEY7KhPA8PvHqJO1US10Vb7u1fvEvh/4oNp4qy8Q/0myyq6rIp+TY5j9wjT0hYvQmiY61syhS3eAnkB5HbaV8MjmyPdnwlolcg89tXzcw9vI7dxNZFnv5iXyTl60cMh+VVd3al1RTZozLQq0GmN+P/vK8SaLzL1sx+jqkfmmijny/9DOLYTVZLS26YaVYu4GWPq8WMHZ7iancMYCg== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=mvBk4qK3Jo7YMrTFfR7ThNKtW13xJtI3N4EMYykdTNs=; b=gG2tSi0DW96jUosUSrfgzSdl5i6h+/x/fATuZedkGT9m7i3c0GJmSkPjLz+jsV9rZxSciasLZPUz8G+uXukeETL6LDgWacs4ajn4pQlOJRFkv45WJszM5b7sc7Ihj1UDwNYih2ZQK8i1lecehUDUeHncnnohqRuF9R/GYphfPFmF3Iws39ttaXjZ3t8Tw4iJPQhAhDK7mu/jmvchG3yvd1QPmmQb0nXQLKbNSyNPdMypSgC19sdamZRbwltBfTiTELoZUbQvvhJOW7TVZ6oCKPUku0kqMB7VUz0rMZGdCIpMAuNOHUq+s14tUapGACSzDscJXPPXIdeuCsZAcUZNFQ== 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=mvBk4qK3Jo7YMrTFfR7ThNKtW13xJtI3N4EMYykdTNs=; b=VfYTkwMFXdV9bU1EE22jjwu7SbDB6VS3O/BPON25tXQXXOe5qUqgXyAJNRkBHtvPYVppQ+6ymjdp8uyVBGmuIiIh5O50eDi+7HbblQUJpskmAu+7+T29TEzssTtKNtK2xsltp6S/ML2VEsw87yTfEctPe2EZ9dzfIJGgLpxVfUs= Received: from AS8PR04MB8676.eurprd04.prod.outlook.com (2603:10a6:20b:42b::10) by AS8PR04MB8740.eurprd04.prod.outlook.com (2603:10a6:20b:42d::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4608.15; Tue, 19 Oct 2021 07:43:47 +0000 Received: from AS8PR04MB8676.eurprd04.prod.outlook.com ([fe80::b059:46c6:685b:e0fc]) by AS8PR04MB8676.eurprd04.prod.outlook.com ([fe80::b059:46c6:685b:e0fc%4]) with mapi id 15.20.4608.018; Tue, 19 Oct 2021 07:43:47 +0000 From: Richard Zhu To: Lucas Stach , "bhelgaas@google.com" , "lorenzo.pieralisi@arm.com" CC: "linux-pci@vger.kernel.org" , dl-linux-imx , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" , "kernel@pengutronix.de" Subject: RE: [RESEND v2 4/5] PCI: imx6: Fix the clock reference handling unbalance when link never came up Thread-Topic: [RESEND v2 4/5] PCI: imx6: Fix the clock reference handling unbalance when link never came up Thread-Index: AQHXwY4ue+QOjCGA8ESB+dHo+5+VOqvUYM4AgAWVPgA= Date: Tue, 19 Oct 2021 07:43:46 +0000 Message-ID: References: <1634277941-6672-1-git-send-email-hongxing.zhu@nxp.com> <1634277941-6672-5-git-send-email-hongxing.zhu@nxp.com> <39cae5a1e33d489bd390be9e7e4df67d788eb7be.camel@pengutronix.de> In-Reply-To: <39cae5a1e33d489bd390be9e7e4df67d788eb7be.camel@pengutronix.de> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: pengutronix.de; dkim=none (message not signed) header.d=none;pengutronix.de; dmarc=none action=none header.from=nxp.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 428c738a-fe82-4224-fb50-08d992d42f17 x-ms-traffictypediagnostic: AS8PR04MB8740: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8273; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: rZkOB+HR0doJ+qU6x77hb6N5vySuWkTF+NjqgOdaM/KmbodBSYGo3IahGrbmu3AFmquKfxf+bWQYDtJMTYvSIPkBk025NWjeJD4dX4wAbNQU+fYoxszlTpE3Z/qAm+7MTPztiCuNWM8AvqfcTK1G4bvAgkTzNoggLJopZIzzvZhaaAAEtF3o3OwF26a9S0DHyvu3uZh/WON3mU2O78S9fWWlZnJNVaJ27OwvsR/2u3QoOEySgtm2Zjt0DpYff4IchaVehdMOXjop6LN0MUbN7gWpH1KKeYVbFTT4dRXVm4DhAAQjyZZ6jzRvBQyagVyopPoA6Lla6qJjxEa7FhOzMJuOP9NACR9nWPFV8ThLMDIdqv+y9RVdtVOryp1BZoT4DJHSV5RFITGPMOj0TSQej0HGt5kVz89VoScfAQZmbb8dORJ7vQ5efuNdPMBh4YNL25fAdVawuI61Z2z6FSZPxOkLYSA+kXyzDhFWHJ0DfHiirDidhn4EPcI+PU9hvgmLMtMTXLw19ONII4pEck6u3ZxI5BZeiVHHtQ02iZo4s6u89kKOUGZ19JDx/IQbdGDls97Fv+skNXPXc0BYSAP9l4J70M73pZcPX4unlWAfSB6sgaI6SKg8wrUJUEpdkD02RLzQ9Yqzlnzh9eXb8dR3xm39tg3C7stRWy0TcaQWZAB40WLHndOW6weN8rpMjNyPHROHRYqt5Z4SK8OcatZUoA== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AS8PR04MB8676.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(4636009)(366004)(8936002)(508600001)(53546011)(38100700002)(4326008)(86362001)(66946007)(66556008)(6506007)(33656002)(5660300002)(38070700005)(122000001)(26005)(55016002)(66446008)(76116006)(83380400001)(7696005)(110136005)(54906003)(71200400001)(316002)(9686003)(186003)(8676002)(64756008)(52536014)(2906002)(66476007);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?OFVmRlJhdjJObWg4VGhwU0NvYmtpcVBrZkpoTytCMlY3SnJQZ3J4aTJNcXpp?= =?utf-8?B?bXJJL1lDdW14a1VjZUViblVNeWFFNEhlb1RheGxHMjllRHc5TTBuN3dFbElv?= =?utf-8?B?WlZKQnNVeEdVdEdqbzBvWXdMTW1EeDU3RlJyUFFJN2NxYVB4UnAwdmpEbVpI?= =?utf-8?B?NnBEUEVaYlNzaXhxV3FLTWEzcktIRUVJVSszenlxK3BpNE1aWW0xMVRQV0tD?= =?utf-8?B?dnpTMk1ZNVdKd1ZNZmxrQkpqQlFDZGhtNmx5cXNqeTBYMzVhQjZlUk9taVRI?= =?utf-8?B?RDhIdFhLSVJrejcyVWVFYVJOcTdnb1haOEViMWtrTEdBd0Y1RC84K0pBUzI3?= =?utf-8?B?NmthTlRyUjhpSXFjREpMVjFOYXFlanhRekZ5YlRmb1YzZVpGSklqMDRwcWxP?= =?utf-8?B?bkhxdEJNV3ZxSGkwWmVoWFJaVWNpV1JmRWdwMlU5V2VHWDNMZGZ0OGF0SUJo?= =?utf-8?B?Nm9ZbnQrbEVyNnFJaUpRZEJXY0hiWGJ3WGErR3ZxYWtIVm5YVkVFbkVxUnQw?= =?utf-8?B?QUxOZHRXRUNVWlhsbkI5T1NzRTRZTytOQlltY0Izb2JOTW5FQnJER0Ezbmcr?= =?utf-8?B?NENRazg3cTNwZnBBcTRBVVFrRFVuci9QWkxqYW14L3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K1RqSWo2MlNwMGsrWVRYWmQ3TUV3ZG9oc3lQaWxlWEU1?= =?utf-8?B?TUt0Mk5LampUM2lqME9lTFozTXRqN3V3a3l2ajVKemxGak9XUlF2My9xczJk?= =?utf-8?B?Z0dseTJVdDRvYVZENVZEQXBhOVdIS3Q3Wm1GRVN3UzB1bEE1ODRwZnQ2NUZ0?= =?utf-8?B?ZGVpbXd0YWhtOXREOWEySWZJZUFTUnhmU0VEaVUrTm11VGNLMncvWitoT2pa?= =?utf-8?Q?tmB9fgue4IpHlruV6jrf3Ywgo6CsiMnYJ6SzaSC?= 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: AS8PR04MB8676.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 428c738a-fe82-4224-fb50-08d992d42f17 X-MS-Exchange-CrossTenant-originalarrivaltime: 19 Oct 2021 07:43:46.9423 (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: jcxIlgljBdqgv97sX852U/rp9Av7zJYu0RMzXMlHtSZDCikWF3c8LimWjIVWf9ibXyen0ly7JJXKChrbtdqdqA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB8740 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org PiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBMdWNhcyBTdGFjaCA8bC5zdGFj aEBwZW5ndXRyb25peC5kZT4NCj4gU2VudDogU2F0dXJkYXksIE9jdG9iZXIgMTYsIDIwMjEgMjoy NSBBTQ0KPiBUbzogUmljaGFyZCBaaHUgPGhvbmd4aW5nLnpodU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