Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp1263203pxf; Fri, 19 Mar 2021 03:14:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwuPb8uf7Jgfk18VwW5B56OzoNnRCOyzm61yr1VJS3Ih2UNWpoUvROPIhIk6s0QFNKt191q X-Received: by 2002:a17:906:13c4:: with SMTP id g4mr3447698ejc.390.1616148842537; Fri, 19 Mar 2021 03:14:02 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1616148842; cv=pass; d=google.com; s=arc-20160816; b=i/SAE2Neef6bdpLTKPsGy/SywpYqN8px+vP8k/b5Fw50sJXujcxHaKh7iCXVhFF4M/ PeAytYZ8YNF+hYJ2hhpAbpTf/+lL7OPsRY8AvMV5tDogwq+c+K5fQbiyDNzJ49gxC1Yh 2ttsWSpn/EyfulgGagTdlVleG6akpGzzj+WwoS87zl0StqikRRnqrp17yqDfDtIQ7QTX wSWloqje5wTtKBnE239wvE/xA4uU8YR/BqCOlCRpq804n9o789T/OgZdyDLENcF/+e8N 2C1J+MJQpEH+sB9XWuiVQ5JFXS29Z5YinORqxb71gwqobCEsfE7VL+NnXLSguXLlidRT 5nWw== 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=vEkeY9qk26OCDMgxt58Yv+96Fsw75qh+ARbzWAiGOW0=; b=edwPX7RSoIMmHsEOw1UaJA5NhPvXVAvIJLXBeT3d2hAhjg4kGeuiWxBUihAC8mwwKA kQ63RXzbl5oeR8Pg99VHXmk1y70DC6H2puv2kbmi3hZ7aM3ooQOv1/Tun4QK/aB4c34O hwCf92pKOpSonhKsNyiWnzx9FRgjmHVfynATg9suS7QuklZ6Rz6roZpgSELmICiU7qUg bzkmhI15AEoaNxNJwSwFmylxU1yxeZmdW8ljam/Bv9vYz6448xP+nccdI2L5wpM1XWMF 8LHP1oLcXOdgxmxMQNSxcFg0aQc0qYS3yCdlHh8xvLEojfQdWRrEf6vCsfv9oHM7QwJm /lug== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b="oayFG/oO"; 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 hq26si3858977ejc.213.2021.03.19.03.13.40; Fri, 19 Mar 2021 03:14:02 -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="oayFG/oO"; 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 S229885AbhCSKMl (ORCPT + 99 others); Fri, 19 Mar 2021 06:12:41 -0400 Received: from mail-eopbgr80044.outbound.protection.outlook.com ([40.107.8.44]:17315 "EHLO EUR04-VI1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S230008AbhCSKMR (ORCPT ); Fri, 19 Mar 2021 06:12:17 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=EiLxwd3eYLZah94gg0W2RQDsx1VPaea7K0HExUIdxNumomjphnQl7Jpw1Qvkq40Gvs5wG/SEKcJwqDSOxMS/BHd6FqZuB/UtKK33dniLgRxxTSezJHQvE+pjhiaiEN4pq0ooeo4KV/H7nHJhzaKTiptieEhJ20UL6o9dKgMvQuVgiT+sJzby47PKbHrq2nomApk1tfiEwyeaNGQnHyv/xKnhnpH/5MgC9oGndOFwIYjqQuAXgleoDjsYQZu/bKO+2VS99btB4ZFe4yd1AhcGvqx9Dh0jb81E1vsiF94xwynwZfFT/vytw2jBiQoPsVrC7cT5CN14ZQ04guL6dh/aeA== 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=vEkeY9qk26OCDMgxt58Yv+96Fsw75qh+ARbzWAiGOW0=; b=Im5hRKSJ9Ix0VQa+7sFuRh0sIPaqvZ4f3gVXJBFNY2oPv8F7fEGl8roVImXL1p+Pu97jLCy5YmHYu+wy6wbKLupyyUctj2DZHgDvPHSEtr5um4Eg8UGk1U0nQUwaZAaFCPqPjP5HcyifQqSYCQcY/qLEMtHengD+h1xLpWO9L0cGYiiwI5XgBamGzBzPYTT6mSDYRdLNs3Gw6sgO2TSgg4dOCtgI9oKgTRqSw3aJrikyLYnBqj+ZZfJ2zsWnCJBOgBTonZpR9LHopUT3rlmqJxH3mdQHSWWVM1Sn2ouGselHCGfqsU9mdDd7Py/DyZeIWr+6Kj8awB8FLzp0w/WPVA== 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=vEkeY9qk26OCDMgxt58Yv+96Fsw75qh+ARbzWAiGOW0=; b=oayFG/oOm5t5VDSbBNb1/76cQ2nA+utBAwGEAk6/Fxb9v7OC3wQ1CpUrL5Tgxj2oDnXJF62PzB9BC0/DYD7+KJK67PmDITWQ+iuduteFRWtRhJhSuYMpIzWHc2eyWYHIWyFLj/vdZ4Vp5ETOkTt4wxZCxe2X4gOkZNSeP5VKmbk= Received: from AM6PR04MB4966.eurprd04.prod.outlook.com (2603:10a6:20b:2::14) by AM7PR04MB7062.eurprd04.prod.outlook.com (2603:10a6:20b:122::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3955.18; Fri, 19 Mar 2021 10:12:12 +0000 Received: from AM6PR04MB4966.eurprd04.prod.outlook.com ([fe80::ecad:ebb8:8eb0:d359]) by AM6PR04MB4966.eurprd04.prod.outlook.com ([fe80::ecad:ebb8:8eb0:d359%7]) with mapi id 15.20.3955.023; Fri, 19 Mar 2021 10:12:12 +0000 From: Aisheng Dong To: Clark Wang , "shawnguo@kernel.org" , "s.hauer@pengutronix.de" CC: "kernel@pengutronix.de" , "festevam@gmail.com" , dl-linux-imx , "sumit.semwal@linaro.org" , "christian.koenig@amd.com" , "linux-i2c@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" Subject: RE: [PATCH 04/11] i2c: imx-lpi2c: manage irq resource request/release in runtime pm Thread-Topic: [PATCH 04/11] i2c: imx-lpi2c: manage irq resource request/release in runtime pm Thread-Index: AQHXGvpRMC9RrtsTgkyXF7VMJ0eOUqqKwZxggAAkUYCAACXG4A== Date: Fri, 19 Mar 2021 10:12:12 +0000 Message-ID: References: <20210317065359.3109394-1-xiaoning.wang@nxp.com> <20210317065359.3109394-5-xiaoning.wang@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: 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: 1494b1cc-d815-42ac-a891-08d8eabf76ec x-ms-traffictypediagnostic: AM7PR04MB7062: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8882; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 7IpkY59YAkzBdR3EZbEYAe7ErPk0EVcr4XZIW3Y7NdqD5+QXCa2bznzi9X3BletH6ei8tjDlLsmZneEmHFPibtjQ65q5t3vo4c17mPICIIbg/wfAuEG0h16Z438i3hRskSDeRgjcMzCjnVsPlthQhhvxrt1F4YCf7tMcqhedVpUTeOuS4/G4nmRZJ0CbQCsv3GOV7h473ZQlksl3rYKQdIZhVoyLNFvGSgbYknwyF9Y+hTNlnUSwewcLEdghEni9ySERwUM2l09+qbxXv45Uv6X6lXRrUfXZC1I3By5vp3im9OqfYAZHSv9eNSB6HrNJoHnfcj0WN5+WkZhuc8jgBL9kYdd8W4FwoGb0STzbMSuBNrwqu4HbbTkFJqhCwQdH29Lvs/CkXGFsMkhZ5uBVE7fq1p+wT34mey0zOsT7pBxmEYr92T1g8ZvEKBv8G19NGB6TCXpkurEh0Au0U7L4Gs95NHnDGKXjmCCk2+yxmf1DTIH6wKb6bZiWdJoPBqdjLGkNxtx0sC4fbzA7jieEbrdHnIJQBzo09o52/sikXLLJvJ3pxDx7fhRa7S+autsn6vBXuTckPsXccFgepnhVkfO+H4lBsUQapfNSSnyE7T2MgH3VPcVWNM5IxAK1i6OcExnGmu4gzx9dNdqzhIhEv5U9LSH5g0zzJMSeAs0ECki04SIoAf6X9+QGjvUf0Ev4 x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AM6PR04MB4966.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(4636009)(346002)(39860400002)(396003)(376002)(136003)(366004)(33656002)(316002)(8676002)(44832011)(71200400001)(4326008)(7696005)(478600001)(38100700001)(6506007)(9686003)(8936002)(26005)(86362001)(52536014)(110136005)(2906002)(54906003)(83380400001)(66946007)(66556008)(66446008)(66476007)(64756008)(186003)(55016002)(5660300002)(76116006)(21314003);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata: =?utf-8?B?QkhKWDhvelF1WSt5RzNNUUV5ZnJVbmYxczRqVTJsNVJTV2drT1pxa2IwZzdJ?= =?utf-8?B?Z1p0cUhVU05sQXNlcksrVzJUYTJzUXdSVG1LZCszbkVBRk5MQlhrQlVSY0py?= =?utf-8?B?MWZZVmhGMXhoblNNQTlXc2xRL2VXVDhyeTAxakJndG1NMFlzNDJWNWVhUmtt?= =?utf-8?B?ZGpoSU5vRVZqYzBnUlozNkZKYlVMcUFtRW14eVZsV3hLUjNFUkJOSUxWQjBX?= =?utf-8?B?dHp2bVYyZHVobHAvZzArekovN0IwRnpRN2lERUsyb0c4TjgrVU5zZE1iT3hm?= =?utf-8?B?U3VzOS9od2hqZXBMdmd0MjE0RzZmU0xxWWxzbGFjR21UcUJQdytaNnRqc3Fv?= =?utf-8?B?Q1hTVUZJazN0aWQwZHVSUEg1S0FlNGN5YmNXcWttSjBGUlN6NWtJWnJvT1JG?= =?utf-8?B?dnh0azRtRmZSbGpVUHl0aW1GZ1FCQ0JXaU5oZjRHeVAreWxZN1p1T2t3N0U3?= =?utf-8?B?NnhGQVlLZXJqV0RUOUlWYitXZlM4NUdJVDMwd3NnZ1o0SXpKbU1ybVBQTUtk?= =?utf-8?B?Q2JrcWw0RWwwdHJzTExVZ3ZCa0VyUFZjeE84SUM5UXZMSGhVMHdBVjRqZS9X?= =?utf-8?B?VnhBdCtSQnhFYjBib3FTTi9ZMmlidVEybktUeTRjUitXYjk4S1BPSWR1UlZB?= =?utf-8?B?anZWcEdqK0ZXTElubjNHcXdxU3NUTHVFam5Da2FuSkhZQ1ZYK3NwTW5iLy9i?= =?utf-8?B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utf-8?B?ejRQODl3a296Q3c3emg0QUJqQzBuZ2YzWExGa0RrSjZta0hUNG0remtxNnBo?= =?utf-8?B?Vm9sM2RSdTAwQkw3RFdGR2NmbStpTEs4UWdXWTFTMWRXb1RoVzJLMFE4Ni96?= =?utf-8?Q?mbBn/yKXahLJuZGkoFKkB46CXDW7Ke1U2Xlm/V3?= 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: AM6PR04MB4966.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1494b1cc-d815-42ac-a891-08d8eabf76ec X-MS-Exchange-CrossTenant-originalarrivaltime: 19 Mar 2021 10:12:12.7055 (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: VBxBfK/kWEfU/kSOno74vV7tG7aYi/mIHF1lb/0Tr0h2HsRe0r/auVqYv6yJVoFXXYUKbN9S6J0K91eQ+A9S/w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM7PR04MB7062 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org PiA+ID4gQEAgLTY2NSw2ICs2NTksMTQgQEAgc3RhdGljIGludCBfX21heWJlX3VudXNlZA0KPiA+ ID4gbHBpMmNfcnVudGltZV9yZXN1bWUoc3RydWN0IGRldmljZSAqZGV2KQ0KPiA+ID4gIAkJZGV2 X2VycihkZXYsICJjYW4ndCBlbmFibGUgSTJDIGlwZyBjbG9jaywgcmV0PSVkXG4iLCByZXQpOw0K PiA+ID4gIAl9DQo+ID4gPg0KPiA+ID4gKwlyZXQgPSBkZXZtX3JlcXVlc3RfaXJxKGRldiwgbHBp MmNfaW14LT5pcnEsIGxwa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