Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp3444796ybb; Mon, 13 Apr 2020 08:12:58 -0700 (PDT) X-Google-Smtp-Source: APiQypJWW941WPoege7Ppcb+TJCGj8iqZiIdTztPqzMXk6m5Y0DrPfRkAqmqnp0cp7Rr1PUcBs8m X-Received: by 2002:a50:e8cc:: with SMTP id l12mr14180986edn.204.1586790778769; Mon, 13 Apr 2020 08:12:58 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1586790778; cv=pass; d=google.com; s=arc-20160816; b=snsiLFRzADAQyRypXCiPDSWH8xDjw/eWltwNXbkfdFsvxYKamlnicQkMmJ+AKzqgRu Z6Qe+11xjHkybYXu7dHhs7+oVRVbKnuv7Tg5lqJfX7k3gfUSic4yy7CylGSBfwVMBGrf BD1vQZWrVIHEgD4n6KH4dsgYhWjlXfsJhs6CQFFZOmP0E/tFudBLPNnCp8Ph2CbM53S2 /uDj+WY67+w3I5H9qbD8WqjN53rE5Rzr+deDnhtIwjNlcaIO0ZyfWPbO8EwqDb6g1QNf PCiKWgXMAJJWKBxwN9T43nBzLDFdm3jQ0T5G7DVH4LIvsNpJGDPPY6GYvQ5ynD5vO7b5 lwqg== 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=GAYt4QuHIGNrVJA5lk48MVy08csP6tNMhtTpvsA//io=; b=1FRiVAOmY+i/ixlFyXmLd+pbLf3Gb38sXlNgMoAO8ZUpqsetgsWVZCQl+O9yFDaHFD OFdg0qao0CnWy/iIt0V9+Cct6grgzS4C8ZMpUD427ix1fiu6wy6Cs8wcupvKQg+cbH6G H2RA1KoTj0TK+p4nGPQAXJGH17bV2dmtR7hdnkDe5SEiSauZyPDPzxuiNwTmf5Zo6E0q 5VMH2hqXa3n9R9Q21wu9/7JbOqC+e2Q/1Gmwzr64waU3GK7qyC1M8p5qxTZr/HAXLy1+ mHxqCdN1SSSNiLl5K2zi5x0EUQqOnk7SP1TsE2uOx/NWbuRsSoQDwJ5x9t2+TeUPp3/3 i/HA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=lygYX7S7; 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 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 s11si2379042edw.322.2020.04.13.08.12.34; Mon, 13 Apr 2020 08:12:58 -0700 (PDT) Received-SPF: pass (google.com: best guess record for 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=lygYX7S7; 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 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 S1729779AbgDMNNd (ORCPT + 99 others); Mon, 13 Apr 2020 09:13:33 -0400 Received: from mail-eopbgr150049.outbound.protection.outlook.com ([40.107.15.49]:40668 "EHLO EUR01-DB5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1729765AbgDMNNc (ORCPT ); Mon, 13 Apr 2020 09:13:32 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=A5ZNyWyYC3bVavvk0ht4exgWWU98Wqx7iZ27hREBJPsxnWtFTE74gcgGf2Z/cIwykLZ3O+fWbi8nNo48szyjTysuRXTYAvwSq5LLxw0dt0X4D/M/FTLmeJHzH2C14rbAe8zq1ZK7J+bDFW1LX6UXQrmtgcno92payNix5ngWZ1GPsSJS0S710NsjORw6cPYTwLyjQcbSeH0i+/UwmhglAJHqIWCiBtFJy3Pvybpva/8TMrsOw2QBCHkStfRNSQPe04CQpJQWeF4Wo8bhDEqMi6x9o16nAf0LtXICzT/UC79nd9E9uJecoLwf9ij857NM3C+HB5yJV8pIwIDF8DHTVg== 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=GAYt4QuHIGNrVJA5lk48MVy08csP6tNMhtTpvsA//io=; b=GnAIOiT/Mmv9DoTbrQH6adPHVlqucQK6aC9oLvAkm3i6OaWCwHQT6Sa9ObXewp6NK2+5YpnKKnbW4YQG4NOlzb7b0cG+5c3pW5G9SRcWhFYioxzA9u7bneiu8MfNmAWXAUkStejaxQ2OfIFHzvg1OhvYc7rGcWa2AGntg0BDJ8PAA2tC+8alEHOxck5azyFo8fE382OgSavG7S5HPK/XLoETmI8NHQ3pDHnM7U4Od+UblwSe5jAqnciLKZGuQM+7fjiDwpLQtVV7FX4M4CRoUdkbk1Px9kMlXvW9M9dvaorSN1DWVc5CKMOFtn2Qbe6TLe8ZO9wdaQxlFK9/L7CfXQ== 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=GAYt4QuHIGNrVJA5lk48MVy08csP6tNMhtTpvsA//io=; b=lygYX7S7hvhJM2ZnkQsXLrEj3VYxSUDqIKI08wGLa3wHgjDX11n2hnvGYVeGnUoaJQ1JZj1gwoMKbbEUfp6JHzgSm+OJbC1uIy11NMgJO8U3kdZh89C1oVKwfPYNEveIadBz4uzudyAyjVUDegtrmEn4hkU5uW3uEsnN38L9hp0= Received: from DB3PR0402MB3916.eurprd04.prod.outlook.com (2603:10a6:8:10::18) by DB3PR0402MB3835.eurprd04.prod.outlook.com (2603:10a6:8:3::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2900.26; Mon, 13 Apr 2020 13:13:28 +0000 Received: from DB3PR0402MB3916.eurprd04.prod.outlook.com ([fe80::3143:c46:62e4:8a8b]) by DB3PR0402MB3916.eurprd04.prod.outlook.com ([fe80::3143:c46:62e4:8a8b%7]) with mapi id 15.20.2900.028; Mon, 13 Apr 2020 13:13:28 +0000 From: Anson Huang To: Marc Kleine-Budde , "jassisinghbrar@gmail.com" , "shawnguo@kernel.org" , "s.hauer@pengutronix.de" , "kernel@pengutronix.de" , "festevam@gmail.com" , "linux-kernel@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" CC: dl-linux-imx Subject: RE: [PATCH] mailbox: imx: Support runtime PM Thread-Topic: [PATCH] mailbox: imx: Support runtime PM Thread-Index: AQHWEY+/xCVMpCFwWEOKIpvxyYiJiah3AcmAgAAEhbA= Date: Mon, 13 Apr 2020 13:13:28 +0000 Message-ID: References: <1586780730-6117-1-git-send-email-Anson.Huang@nxp.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=anson.huang@nxp.com; x-originating-ip: [183.192.13.100] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: da4fc591-4a88-443a-4457-08d7dfac74e6 x-ms-traffictypediagnostic: DB3PR0402MB3835:|DB3PR0402MB3835: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:4303; x-forefront-prvs: 037291602B x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DB3PR0402MB3916.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFTY:;SFS:(10009020)(4636009)(136003)(39860400002)(366004)(396003)(376002)(346002)(81156014)(66946007)(76116006)(6506007)(55016002)(64756008)(316002)(2906002)(44832011)(52536014)(9686003)(8676002)(7696005)(66476007)(66556008)(71200400001)(478600001)(33656002)(86362001)(66446008)(4326008)(26005)(53546011)(5660300002)(15650500001)(110136005)(186003)(8936002);DIR:OUT;SFP:1101; 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: 6L/M8ZYaBwjQI7aTzn+6y0Us3AX7TYqI1mIgi3YWuQ/zGlfTOvS5hduB5KcAq0x6lX8PAo2RBmr2HavYsZSeo9oMySNUJmSTRhMdZ1gCrtjAvXQ/oqIWlN2mN0m3aUH1X5gUwvjXhABfXiQo+IvvXQR0RxYwsCrJfWYBoAIkcNr5FH1fOaJ7L+ntsEthST+eX8EzB10PHcOTo9ShKARdMsDhG9/BiliiTmd9ZZ3DUChYQp/H1apZmfJN7G9ZTLBrXyKTJsMEa5Zp756Fk2NRUmM15MkdHnWEr22CLv1CNRxJbgVBonraIjTvx37Q4auW4I0+6IUPAazmv25C1AAXXniV28Jj+OGAaskihRWofks4wnowETLXIo31rz7LaKX+X9aZkMjerbpRc2gT+VB0RlIRku5nNaDv2OAkNlFQESOki0Rrd+YIt8xVpN+9qOQA x-ms-exchange-antispam-messagedata: zFmZrbqAoRq8BMqZ/K6SHCLSHMXjFdyKhGPwtXduLHeYQX5w+EP49o2rbIDAz2f+MOSE+Ta7cJQ58B4CpXQ4PiFfEjobcAoCcmHS6iq+YAyhaTD9FQKBKSSQpSvqCcHCUesBIHhSclC016MgSrOETw== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: da4fc591-4a88-443a-4457-08d7dfac74e6 X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Apr 2020 13:13:28.3991 (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: r0rtf/QQ5XbzxgJibuzqZZ2ihYqv2UgAIgY4XB+3p127ns/W2InmKduNbnz5jJoNK6/sTaIYs/nw/vDzl/BY6g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB3PR0402MB3835 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGksIE1hcmMNCg0KPiBTdWJqZWN0OiBSZTogW1BBVENIXSBtYWlsYm94OiBpbXg6IFN1cHBvcnQg cnVudGltZSBQTQ0KPiANCj4gT24gNC8xMy8yMCAyOjI1IFBNLCBBbnNvbiBIdWFuZyB3cm90ZToN Cj4gPiBTb21lIHBvd2VyIGh1bmdyeSBzdWItc3lzdGVtcyBsaWtlIFZQVSBoYXMgaXRzIG93biBN VXMgd2hpY2ggYWxzbyB1c2UNCj4gPiBtYWlsYm94IGRyaXZlciwgY3VycmVudCBtYWlsYm94IGRy aXZlciB1c2VzIHBsYXRmb3JtIGRyaXZlciBtb2RlbCBhbmQNCj4gPiBNVSdzIHBvd2VyIHdpbGwg YmUgT04gYWZ0ZXIgZHJpdmVyIHByb2JlZCBhbmQgbGVmdCBPTiB0aGVyZSwgaXQgbWF5DQo+ID4g Y2F1c2UgdGhlIHdob2xlIHN1Yi1zeXN0ZW0gY2FuIE5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