Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751715AbdL0CeI (ORCPT ); Tue, 26 Dec 2017 21:34:08 -0500 Received: from mail-eopbgr30068.outbound.protection.outlook.com ([40.107.3.68]:40960 "EHLO EUR03-AM5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751163AbdL0CeG (ORCPT ); Tue, 26 Dec 2017 21:34:06 -0500 From: "A.s. Dong" To: Shawn Guo , Peng Fan CC: "linux-kernel@vger.kernel.org" , "Russell King" , Fabio Estevam , "Sascha Hauer" , "van.freenix@gmail.com" , "linux-arm-kernel@lists.infradead.org" Subject: RE: [PATCH V2] ARM: imx: suspend/resume: use outer_disable/resume Thread-Topic: [PATCH V2] ARM: imx: suspend/resume: use outer_disable/resume Thread-Index: AQHTfrh9mU3N8MnUL02TDPwEOeHjL6NWeFaAgAAAThA= Date: Wed, 27 Dec 2017 02:33:57 +0000 Message-ID: References: <1514339867-28946-1-git-send-email-peng.fan@nxp.com> <20171227023207.GX23070@X250> In-Reply-To: <20171227023207.GX23070@X250> 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=aisheng.dong@nxp.com; x-originating-ip: [192.158.241.86] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;DB6PR0401MB2630;6:gc5LoUuU/NOP1DPj471uXNi5/v5tHqg6cQiO4V37RykYGiye20x/ri/z7AP1lqnzma0qmN6Q5AFZGuhk6dLGDfgh4jr/elyWE2cimSoWq/mvObS/cCGMPRAHsihcJ6aIg2o1ymplsEd529NpHd0z+3bQnNFhmTNpVRlnY9CYy5gJeJbHIDO6XNTuUHY1DFEf+cP0VlckmIsLDX+84unjRkbcLFdbYd0S3jBfV04P1ucgC53793nlku4K+w3CnYGSCOgKZL9mdZWsLv3Vqb1B1rT7fCWAEkFlh5elWlivh6rPqiPqcoZnzyGZ8P7L+aJkHQ0y1m92FEBIdsUegYNbRIxLV0VeDaK+PZ4CdZZ9kAr7iXv315+1huLMCNqRq4/9;5:+m81F0O/TJFlhJcbun/BmoAIxGbvCHsrruxSTZO3STyvDMOvbqlpuAfuQNgcLHi5zigTkgZ6vmciSAVgUZ0+hqzXu6CI9eEgr0AEUTI+Xz26wkKv7w7JigS1m5KANmuUOHQWw1EBZB/sYxbS1dm+gcqYsKANzvxnTBZ3axqQoHI=;24:FzOSe7z5/zs9hwOjgmrE9F4uRcXTSmOJECrWFtSYvi0LZOyJOgw42rysBC/CGut4M9271vWvVNeL3BusCwyWYRDKLAyjIuQMULSxWDPuQjM=;7:R6GMZhp3Go9vJZLmUDnYZHTJVNThnyDj/oYXFFFZKScDM9vCtRqseDSNZqsgI0Mh6MtPynt8YrBEdBuEM4B3yecLhYLd/aS7yvLA1oTXYqn7AxQFxjtBEhoKOnkXVHE0/Dx8IoMxqgVgxqCi6RbNUVLmv9TFRb+4yHL8t950qzaBW4rQnqBzSlrSzr6EWtx8Gkm4WdQn66/BicpMU9e/kvqL9kd6Xp89+UpYrB0TrmUnR6heT6PLDWrWHcteQjM+ x-ms-exchange-antispam-srfa-diagnostics: SSOS;SSOR; x-forefront-antispam-report: SFV:SKI;SCL:-1;SFV:NSPM;SFS:(10009020)(366004)(39380400002)(346002)(376002)(39860400002)(396003)(199004)(189003)(24454002)(13464003)(33656002)(3280700002)(2950100002)(6636002)(59450400001)(6506007)(53546011)(97736004)(66066001)(9686003)(53936002)(99286004)(55016002)(76176011)(110136005)(25786009)(54906003)(5250100002)(3660700001)(105586002)(106356001)(2900100001)(229853002)(316002)(7696005)(7736002)(305945005)(5660300001)(4326008)(6436002)(74316002)(68736007)(8676002)(86362001)(39060400002)(8936002)(3846002)(6116002)(478600001)(6246003)(2906002)(15650500001)(81156014)(81166006)(14454004)(102836004);DIR:OUT;SFP:1101;SCL:1;SRVR:DB6PR0401MB2630;H:AM3PR04MB306.eurprd04.prod.outlook.com;FPR:;SPF:None;PTR:InfoNoRecords;A:1;MX:1;LANG:en; x-ms-office365-filtering-correlation-id: 49a6e57b-5098-4106-8eb5-08d54cd247ae x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(4534020)(4602075)(4627115)(201703031133081)(201702281549075)(5600026)(4604075)(3008032)(48565401081)(2017052603307)(7153060);SRVR:DB6PR0401MB2630; x-ms-traffictypediagnostic: DB6PR0401MB2630: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(9452136761055)(185117386973197)(258649278758335); x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(6040470)(2401047)(8121501046)(5005006)(3231023)(944501075)(93006095)(93001095)(10201501046)(3002001)(6055026)(6041268)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(20161123558120)(20161123560045)(6072148)(201708071742011);SRVR:DB6PR0401MB2630;BCL:0;PCL:0;RULEID:(100000803101)(100110400095);SRVR:DB6PR0401MB2630; x-forefront-prvs: 0534947130 x-microsoft-antispam-message-info: uw+Z5DAUX2DQoLZKAX84S3Wkj/Ycm8z7GIUY5d8BBknBzRf30xHq/gsHgzpAsf24z/Spsrt9NzQBlJlx1nYkWw== spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 49a6e57b-5098-4106-8eb5-08d54cd247ae X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Dec 2017 02:33:57.1164 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB6PR0401MB2630 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by mail.home.local id vBR2YDgm030268 Content-Length: 1144 Lines: 33 > -----Original Message----- > From: Shawn Guo [mailto:shawnguo@kernel.org] > Sent: Wednesday, December 27, 2017 10:32 AM > To: Peng Fan > Cc: A.s. Dong ; linux-kernel@vger.kernel.org; Russell > King ; Fabio Estevam ; > Sascha Hauer ; van.freenix@gmail.com; linux-arm- > kernel@lists.infradead.org > Subject: Re: [PATCH V2] ARM: imx: suspend/resume: use > outer_disable/resume > > On Wed, Dec 27, 2017 at 09:57:47AM +0800, Peng Fan wrote: > > Use outer_disable/resume for suspend/resume. > > With the two APIs used, code could be simplified and easy to extend to > > introduce l2c_write_sec for i.MX platforms when moving Linux Kernel > > runs in non-secure world. > > > > Signed-off-by: Peng Fan > > Cc: Shawn Guo > > Cc: Sascha Hauer > > Cc: Fabio Estevam > > Cc: Russell King > > Cc: Dong Aisheng > > @Aisheng, can you please give it a test? > Yes, of course. Regards Dong Aisheng > Shawn