Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp109532ybz; Thu, 23 Apr 2020 19:35:33 -0700 (PDT) X-Google-Smtp-Source: APiQypJ5Efsvb82UyRA4EBLI4sSKKapaK94lApc4gJevoC10hXc3h3tESFjhNnKLbDnBRxZ6uuWr X-Received: by 2002:a50:e80a:: with SMTP id e10mr5434760edn.204.1587695733596; Thu, 23 Apr 2020 19:35:33 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1587695733; cv=pass; d=google.com; s=arc-20160816; b=pqLNeBGpq/glqWomVgkP9q0vM5r3bFP9le+58Y2t4CQqAvdn31U4SJxe7RhCu3d1PL ic9R2slx3tzuAm5trxButM/iHgnNYU+B1GNDyImkG8itwWXLZJH+7zAuvEIoN28CT0nB FtgGNkhGPY/ALSmSx2f8gSIgF3i2oZCftbauySYH83vOuk6RhNhCKCDPcd24rjgzysDW +ONSFIIvofosaxsWZ0Mx+Bp2b84mH+0FGzJHOYERkLhDk9h2mTZm0VyaGjy8AsXEceHF BM9KKwjG/yg82Qts73YRI6yUf6Q+TQFemF0/BjXdWT375Bt1CpbdVqKW6Cu5TX4oiz+3 4Bqg== 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=b4T2iNjMsIsWSmLRXx5QflHLDC8ohmrgIiOX5FSR3Gc=; b=f+i3sniy7L5bPt/cyI3yVAVxvS6hFA5wYENiHzO4neLW9lwBBLliAl0THafY/4WOK8 in1EAiBBMwxLOsMcR7ekrpEWzEP5GZldG8orr1Tw/yYG2SWXf8JEHREkQdxVx33yiu14 50FG7ITDBVQAj4FzFMNnV6xua9m5dzEliiY9mrQfjZPyQEbHefiLVIAxlnCiB33eJa3u dNQIOTsy+o+VOAU5KLMGbyE2QT2qFPYLqNiuQVIkruoQoj0u/7eriWK/FeopgiT0Kpe5 lxxKtSSc9BgFeX2JNaqjLxtpw6YiwSZ+RP0rg3fJiSU0u2OzkQvcJCez76Nsqyvf16Yi nCsg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=RSHNaWvW; 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 g15si2192746eds.159.2020.04.23.19.35.09; Thu, 23 Apr 2020 19:35:33 -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=RSHNaWvW; 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 S1726319AbgDXCdA (ORCPT + 99 others); Thu, 23 Apr 2020 22:33:00 -0400 Received: from mail-eopbgr60070.outbound.protection.outlook.com ([40.107.6.70]:25024 "EHLO EUR04-DB3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725884AbgDXCdA (ORCPT ); Thu, 23 Apr 2020 22:33:00 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=G6YA9j+3O/UVkLA8bdgf2hVyRDonKnYqGxtDgwdGplmbNjTlVYg5CvczkPTU3ecvbIlNW6cG2nZVKSMzPpSKz8BgZfYXuMMA5dGmRjEFe/pHyrM2pUDz+0yzHoxFjklfeufNb+EX77Q/VkSCvY+XQQbYv6TNuYNo7q8s9YczxHkSznBMEpVcLrxQKy/1smcocUCJgcFJT7RDJimaasjVMm7hfboOJeeWw68bB6BmDXmCNgnUxCZFTwTvAqalvEoCqWcvtRfREkWgGdOjNg9kpCuK6eGK5v2wwqz2lF9CHjZIaFTju7WaIkcDwd5WN4hzl9RCBe0eAHcwjC+cHxYMsw== 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=b4T2iNjMsIsWSmLRXx5QflHLDC8ohmrgIiOX5FSR3Gc=; b=RtS/VzlrInJsjDU05LM5PGcUsUmMnGE0FXrDSYZw37SVd75XPAEoPeCMrhgQQr2WJPku02CfbzdvuqTLbk7rLrxpfb4kqsFRLE0Bk6J5/0gnh2XNFqVloLI6EN2AfGLQfmU1gDk1gLQ6pt4WusdM0VvaQQA8i43+ZVyHgMYyFuDXaMlWUVjhsI+VRZPbBEqghrpY6PTwOWeLVEs5WKGOqujdwTIRQjeXpKPQ/7Gg0P6hS+rmpOYpOEdP2Z2IW2TzbT++VRm5vRi0JGX1NnKrMPXQ4egUmvHcYPu748nNPCjqoJfCtt74zLnTDEa3lgg8PdSP73zXFm6kNe/QSpIErA== 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=b4T2iNjMsIsWSmLRXx5QflHLDC8ohmrgIiOX5FSR3Gc=; b=RSHNaWvWmwB/wWEUxoFIJhEzGWFgqU/tU/AKWnDhUFS69tCdyHxGs8TRzPfz4B/1qhG0CwI/QaGJNSUXtaljrC1pWZ8fO5BTTheqqT5ziPlbOEKNDSecSsHiI6ilYDhzFnJle46eMQRyzemGx/aYhbsoOFqQ56oatW5Zgb7Un6E= Received: from DB3PR0402MB3916.eurprd04.prod.outlook.com (2603:10a6:8:10::18) by DB3PR0402MB3772.eurprd04.prod.outlook.com (2603:10a6:8:e::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2937.13; Fri, 24 Apr 2020 02:32:56 +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.2921.035; Fri, 24 Apr 2020 02:32:56 +0000 From: Anson Huang To: Aisheng Dong , "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: Add context save/restore for suspend/resume Thread-Topic: [PATCH] mailbox: imx: Add context save/restore for suspend/resume Thread-Index: AQHWGcRI3NaCUTtP70667RBGRFojq6iHjCeAgAAAeYA= Date: Fri, 24 Apr 2020 02:32:55 +0000 Message-ID: References: <1587682871-528-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: 59294648-2179-4e3f-7984-08d7e7f7cc10 x-ms-traffictypediagnostic: DB3PR0402MB3772:|DB3PR0402MB3772: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:4502; x-forefront-prvs: 03838E948C 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:(4636009)(136003)(39860400002)(366004)(346002)(396003)(376002)(76116006)(33656002)(26005)(8936002)(186003)(71200400001)(66946007)(81156014)(4326008)(5660300002)(44832011)(6506007)(7696005)(86362001)(478600001)(316002)(52536014)(15650500001)(110136005)(64756008)(2906002)(66446008)(66476007)(9686003)(66556008)(8676002)(55016002);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: W7uszPL5FqpSA6b4fTe22ArQeXSTjUVSQ/if4CErZR6bf0WXjxhARJ9OJOFgunFcibl51I0HG7ZP3jfIYjGoleNZGJ3/TldlGF2n+y5+gIj4UTtHSkCOyZ/RZqN+qeEfOjfZUz0ISywegr3vJK1sF3vNruFWvEW4qCOE90qU/XC7iS3AVXtv5gd4ikkOf8jjQZS2b7OjRjK4Zgj0LExHBD5/fC6ODLGc3ViSru5Z7VAs51UsaBJ6oGMiQEYpcm6ObebB1H3Rd4Pe8+z4G9BG1R+oCFAwKsjISHglwfS/7NwxSFDoeYhz56Q2snL7ki9tnIAag8t6l+HJqHFCxiOgPT9gkaY0dMmq+uEKVnwkyxTnn6Hu43tRPLQFtsQGp0N3ik5lnkmuIC0SWeuaYTspTkftmzhZwKgRqUmdQcvK/g9MAtwscej65x0/IJpWs7Rc x-ms-exchange-antispam-messagedata: Khs9XcfaBcl9BAiewo5WJKiISHf8gT4JXJLmZDbm70Lz+sYUXQUxUL9skdvvrcv7RVc5AIaDFo4duvg5RbJOfch4XtP0WEDUkjgAtaXZ+cWKLKrxkqjOAuRVPhPM2po8g0mBsRPdViKJfuDqG5CsjCKVNbtvWitVbRZ/LK9OShwCeKFvamk7tIkDV6DM2V7cOJcOiQSjOSFnh1tV9l8quTtBZHsyVrICjhpPZha8bXWMwxLPY4fs2rM7ovhAWDKAvdF9RW8J+5HI76Rqg9UU0R8UwCkETWOmr7EmRV8oRGJptZJ/HaaBgCTqC4o5zWvhhVzxip6HoLL9X6v0UNmdu/jIWu73H7ps3/PU503R4sjzvLkpKlYTlwURyrDS4tEGbnvCj7NEj7NPs9v0oNXGtqU1kBM71z7rikuhGAJpY1cOSzsondDCQCc/SjKg7pmnKgkzIfXCSMxTUYM2jqskSJoC+xPHInd6zq0gEEZrD1Ytc5vBu+5lHDm5n3wYT1S9VHxbMMcZcM1HKKDYNJxEhGmvVT606Y+xxyEcBYM6BOVJj07KoS2W1gAnUUUvjmWdWxRLnmt03nLwd5r5yhf8Bq8I4AfbgYcfADRSLrv8rhj/Ju4K1SCYRhq3uossYWCAwyAM2gNdyY0DUUT3ZWCg+ojQKE7v9DO6as7WnBEMVcEV3+q3+N2YWsGTTlhJhIrOQ/3EnhtzDDPuePb46cfz2DiSSpebhAxjybA4/HI1ysIffFNDDETwL44lIcFg07bmC3RsuxWmefDTbAs9PyupZGfw42N+wvdqEfd8ytNzXKc= 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: 59294648-2179-4e3f-7984-08d7e7f7cc10 X-MS-Exchange-CrossTenant-originalarrivaltime: 24 Apr 2020 02:32:56.1825 (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: tsDz7YyS3nC2uUoU45iNcvU6O1Wf1ngSwEXiKl6Dv2o+EdT4mTWl98uQmPz5NB1AhI9P3lgNjCz0DW6iw9r5fg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB3PR0402MB3772 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org DQoNCj4gU3ViamVjdDogUkU6IFtQQVRDSF0gbWFpbGJveDogaW14OiBBZGQgY29udGV4dCBzYXZl L3Jlc3RvcmUgZm9yDQo+IHN1c3BlbmQvcmVzdW1lDQo+IA0KPiA+IEZyb206IEFuc29uIEh1YW5n IDxBbnNvbi5IdWFuZ0BueHAuY29tPg0KPiA+IFNlbnQ6IEZyaWRheSwgQXByaWwgMjQsIDIwMjAg NzowMSBBTQ0KPiA+DQo+ID4gRm9yICJtZW0iIG1vZGUgc3VzcGVuZCBvbiBpLk1YOCBTb0NzLCBN VSBzZXR0aW5ncyBjb3VsZCBiZSBsb3N0DQo+ID4gYmVjYXVzZSBpdHMgcG93ZXIgaXMgb2ZmLCBz byBzYXZlL3Jlc3RvcmUgaXMgbmVlZGVkIGZvciBNVSBzZXR0aW5ncyBkdXJpbmcNCj4gc3VzcGVu ZC9yZXN1bWUuDQo+ID4gSG93ZXZlciwgdGhlIHJlc3RvcmUgY2FuIE9OTFkgYmUgZG9uZSB3aGVu IE1VIHNldHRpbmdzIGFyZSBhY3R1YWxseQ0KPiA+IGxvc3QsIGZvciB0aGUgc2NlbmFyaW8gb2Yg c2V0dGluZ3MgTk9UIGxvc3QgaW4gImZyZWV6ZSIgbW9kZSBzdXNwZW5kLA0KPiA+IHNpbmNlIHRo ZXJlIGNvdWxkIGJlIHN0aWxsIElQQyBnb2luZyBvbiBtdWx0aXBsZSBDUFVzLCByZXN0b3Jpbmcg dGhlDQo+ID4gTVUgc2V0dGluZ3MgY291bGQgb3ZlcndyaXRlIHRoZSBUSUUgYnkgbWlzdGFrZSBh bmQgY2F1c2Ugc3lzdGVtDQo+ID4gZnJlZXplLCBzbyBuZWVkIHRvIG1ha2Ugc3VyZSBPTkxZIHJ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