Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp227889yba; Wed, 8 May 2019 19:31:47 -0700 (PDT) X-Google-Smtp-Source: APXvYqxJ519qwI5N4iWSXXq24iE14ml6/Usup3kAr7kCcYwCu1g1hNy9p38jweZ2vpOh7G9TtQmf X-Received: by 2002:aa7:8683:: with SMTP id d3mr1509237pfo.145.1557369107514; Wed, 08 May 2019 19:31:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557369107; cv=none; d=google.com; s=arc-20160816; b=nc5jjETWFJW05HJJULyBddWGG9m3in4wQyJ0vvlEgmY5fkzUihiUtYQwKqjKhQJBKw 9nYPtrwN/xyO8RfFicY4Z1wy+WdngIFITCU2aHICZsPiD5N6oVXWhGCFEBG0nMVq3/8K G1TL7cfYzMGj6ho3M4UnHz7+XOyn2DHfTJHMChzp9A2DWYza+GrbyEUA9OKbA/Bm2jI2 InEBmAs8UuzMcYeXYgVotyt7MxpEGJNj7SjldDWBz8HTBpeHFLG8RH447/XvPhDxDq5V go5SwhEqZz0vuKRXe0w81Zi6X3h4+GcetQmkD9rcMPBgHo+Uv6BkLB4to0VDBLw2WFoB wacw== ARC-Message-Signature: i=1; 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:message-id:date:thread-index :thread-topic:subject:cc:to:from:dkim-signature; bh=pW5BzZjQLlxkVc1eetGVZECsUOclUujYSIIs/G1EL3U=; b=u7NYzvh4TdvqNfN6qF3ig0h5vEtEzFtccChJ2qb1HVyKxmmUM9IlUKz7QpM/3RbujI nCv+6XEXto52G3frtJwn2+X/IqtABNDbakpS8pf0WFHb79ManY0dZYeh5VyYBCs0zWvS 98JAgiD90hrlYKC1m9kgfEP98nVoLLTdegi9t3rKTxk6zepWWqG8qT2NDpqKTjsdSgQu 0Qd1xIbipadPl3KAZ8CezNMTM8uhqkK/g3/tISfit6QHRFge3TpXAo8R+RC27ivDH1to iqAd35fD4qV/9v5EWd8ZDr2a+ESvWv7X6ZxDOUK0A1jES7AEGyOcFdby4+A/lyrESSCf P3rw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=EeWeZL2P; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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. [209.132.180.67]) by mx.google.com with ESMTP id ce12si1073540plb.46.2019.05.08.19.31.30; Wed, 08 May 2019 19:31:47 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=EeWeZL2P; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1726568AbfEICaa (ORCPT + 99 others); Wed, 8 May 2019 22:30:30 -0400 Received: from mail-eopbgr150081.outbound.protection.outlook.com ([40.107.15.81]:48475 "EHLO EUR01-DB5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726082AbfEICaa (ORCPT ); Wed, 8 May 2019 22:30:30 -0400 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=pW5BzZjQLlxkVc1eetGVZECsUOclUujYSIIs/G1EL3U=; b=EeWeZL2Pg0ActY23Yv1FemExZCWElBgObxxd4gGUFgxFktgwYbmOt1/nVSzn+z8hd5YI+mzHkvdE41UU2ZhKzuty0dR1Me1HGmkiJx/0lAq8oMg2TcZOJNRyPKRGQCgbokzSNZWEvw6sPZtRaIoPO98MHeHZHSIx3lBQhIk+7xA= Received: from VI1PR04MB3247.eurprd04.prod.outlook.com (10.170.232.160) by VI1PR04MB5933.eurprd04.prod.outlook.com (20.178.205.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1878.21; Thu, 9 May 2019 02:30:24 +0000 Received: from VI1PR04MB3247.eurprd04.prod.outlook.com ([fe80::cd99:d9b2:d90a:6c2]) by VI1PR04MB3247.eurprd04.prod.outlook.com ([fe80::cd99:d9b2:d90a:6c2%2]) with mapi id 15.20.1856.012; Thu, 9 May 2019 02:30:24 +0000 From: Qiang Zhao To: Rasmus Villemoes , "devicetree@vger.kernel.org" , Leo Li CC: "linuxppc-dev@lists.ozlabs.org" , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" , Rob Herring , Scott Wood , Christophe Leroy , Mark Rutland , Rasmus Villemoes Subject: RE: PATCH v2 2/6] soc/fsl/qe: qe.c: reduce static memory footprint by 1.7K Thread-Topic: PATCH v2 2/6] soc/fsl/qe: qe.c: reduce static memory footprint by 1.7K Thread-Index: AdUGDvJsxH/GwTlzQJOYnr/7RIp6Ag== Date: Thu, 9 May 2019 02:30:24 +0000 Message-ID: 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=qiang.zhao@nxp.com; x-originating-ip: [119.31.174.73] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: d65fbfa6-0835-4fe0-e329-08d6d4264a64 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600141)(711020)(4605104)(4618075)(2017052603328)(7193020);SRVR:VI1PR04MB5933; x-ms-traffictypediagnostic: VI1PR04MB5933: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:4941; x-forefront-prvs: 003245E729 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(136003)(366004)(396003)(39860400002)(346002)(376002)(13464003)(189003)(199004)(66446008)(64756008)(8676002)(81166006)(81156014)(6636002)(478600001)(66556008)(229853002)(68736007)(26005)(66476007)(2906002)(7736002)(71190400001)(71200400001)(8936002)(14454004)(25786009)(4326008)(486006)(33656002)(186003)(7416002)(76116006)(305945005)(53936002)(54906003)(110136005)(99286004)(74316002)(476003)(9686003)(66066001)(44832011)(6246003)(2501003)(66946007)(316002)(55016002)(73956011)(7696005)(86362001)(14444005)(256004)(6436002)(5660300002)(52536014)(6116002)(53546011)(6506007)(3846002)(102836004)(2004002);DIR:OUT;SFP:1101;SCL:1;SRVR:VI1PR04MB5933;H:VI1PR04MB3247.eurprd04.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: 81TPDspRqKaoPh4tUeMmp2D5Yqwk9fFSvJ2UyJljL5PntqaRM8dOLqdQbcJ96318Wv8e8r0GX16RuBuef3VdFVLTyDmu2xvYxrjMEDYl6ts7xV5uMQIuJNcG/Vhy7vtvlXXyygMjhVAfIG1LxHWyZ5tTaVImrgo1jKeK8lK05lLGsO9B4GTm8KNQ/MLD2kZ8DcVb2Nix6+K+35opvzUJVBSwnRRL68q50XJpDsSnA6LOxcDHUwm1IwGW4wLFAx2wIv2atSbdn9OyM/9DJ+O1uotGbEDIrYoSdxmC7Bx8OiRO1jJXWlOIFcfTwLa28haXWQvhlM/eZBXp32YbMtZxBbkokXfuUmelOd6LFL+jj0LHZwUHa/zMUEKabppd/8hYw/EEMd2ZjYe/Ie2ZvaxWfgGHGKUQpIW/eHdbFJtn1lc= 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: d65fbfa6-0835-4fe0-e329-08d6d4264a64 X-MS-Exchange-CrossTenant-originalarrivaltime: 09 May 2019 02:30:24.0674 (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-Transport-CrossTenantHeadersStamped: VI1PR04MB5933 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gMjAxOS81LzEgMTc6MjksIFJhc211cyBWaWxsZW1vZXMgPHJhc211cy52aWxsZW1vZXNAcHJl dmFzLmRrPiB3cm90ZToNCg0KPiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBS YXNtdXMgVmlsbGVtb2VzIDxyYXNtdXMudmlsbGVtb2VzQHByZXZhcy5kaz4NCj4gU2VudDogMjAx OeW5tDXmnIgx5pelIDE3OjI5DQo+IFRvOiBkZXZpY2V0cmVlQHZnZXIua2VybmVsLm9yZzsgUWlh bmcgWmhhbyA8cWlhbmcuemhhb0BueHAuY29tPjsgTGVvIExpDQo+IDxsZW95YW5nLmxpQG54cC5j b20+DQo+IENjOiBsaW51eHBwYy1kZXZAbGlzdHMub3psYWJzLm9yZzsgbGludXgtYXJtLWtlcm5l bEBsaXN0cy5pbmZyYWRlYWQub3JnOw0KPiBsaW51eC1rZXJuZWxAdmdlci5rZXJuZWwub3JnOyBS b2IgSGVycmluZyA8cm9iaCtkdEBrZXJuZWwub3JnPjsgU2NvdHQgV29vZA0KPiA8b3NzQGJ1c2Vy cm9yLm5ldD47IENocmlzdG9waGUgTGVyb3kgPGNocmlzdG9waGUubGVyb3lAYy1zLmZyPjsgTWFy aw0KPiBSdXRsYW5kIDxtY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nVtc1tpXS5udW0gPSBzbnVtX2luaXRbaV07DQo+IC0gICAgICAgICAgICAgICBz bnVtc1tpXS5zdGF0ZSA9IFFFX1NOVU1fU1RBVEVfRlJFRTsNCj4gLSAgICAgICB9DQo+ICsgICAg ICAgYml0bWFwX3plcm8oc251bV9zdGF0ZSwgUUVfTlVNX09GX1NOVU0pOw0KPiArICAgICAgIG1l bWNweShzbnVtcywgc251bV9pbml0LCBxZV9udW1fb2Zfc251bSk7DQo+ICB9DQo+IA0KPiAgaW50 IHFlX2dldF9zbnVtKHZvaWQpDQo+IEBAIC0zMjgsMTIgKzMxNiwxMCBAQCBpbnQgcWVfZ2V0X3Nu dW0odm9pZCkNCj4gICAgICAgICBpbnQgaTsNCj4gDQo+ICAgICAgICAgc3Bpbl9sb2NrX2lycXNh dmUoJnFlX2xvY2ssIGZsYWdzKTsNCj4gLSAgICAgICBmb3IgKGkgPSAwOyBpIDwgcWVfbnVtX29m X3NudW07IGkrKykgew0KPiAtICAgICAgICAgICAgICAgaWYgKHNudW1zW2ldLnN0YXRlID09IFFF X1NOVU1fU1RBVEVfRlJFRSkgew0KPiAtICAgICAgICAgICAgICAgICAgICAgICBzbnVtc1tpXS5z dGF0ZSA9IFFFX1NOVU1fU1RBVEVfVVNFRDsNCj4gLSAgICAgICAgICAgICAgICAgICAgICAgc251 bSA9IHNudW1zW2ldLm51bTsNCj4gLSAgICAgICAgICAgICAgICAgICAgICAgYnJlYWs7DQo+IC0g ICAgICAgICAgICAgICB9DQo+ICsgICAgICAgaSA9IGZpbmRfZmlyc3RfemVyb19iaXQoc251bV9z dGF0ZSwgcWVfbnVtX29mX3NudW0pOw0KPiArICAgICAgIGlmIChpIDwgcWVfbnVtX29mX3NudW0p IHsNCj4gKyAgICAgICAgICAgICAgIHNldF9iaXQoaSwgc251bV9zdGF0ZSk7DQo+ICsgICAgICAg ICAgICAgICBzbnVtID0gc251bXNbaV07DQo+ICAgICAgICAgfQ0KPiAgICAgICAgIHNwaW5fdW5s b2NrX2lycXJlc3RvcmUoJnFlX2xvY2ssIGZsYWdzKTsNCj4gDQo+IEBAIC0zNDMsMTQgKzMyOSw5 IEBAIEVYUE9SVF9TWU1CT0wocWVfZ2V0X3NudW0pOw0KPiANCj4gIHZvaWQgcWVfcHV0X3NudW0o dTggc251bSkNCj4gIHsNCj4gLSAgICAgICBpbnQgaTsNCj4gLQ0KPiAtICAgICAgIGZvciAoaSA9 IDA7IGkgPCBxZV9udW1fb2Zfc251bTsgaSsrKSB7DQo+IC0gICAgICAgICAgICAgICBpZiAoc251 bXNbaV0ubnVtID09IHNudW0pIHsNCj4gLSAgICAgICAgICAgICAgICAgICAgICAgc251bXNbaV0u c3RhdGUgPSBRRV9TTlVNX1NUQVRFX0ZSRUU7DQo+IC0gICAgICAgICAgICAgICAgICAgICAgIGJy ZWFrOw0KPiAtICAgICAgICAgICAgICAgfQ0KPiAtICAgICAgIH0NCj4gKyAgICAgICBjb25zdCB1 OCAqcCA9IG1lbWNocihzbnVtcywgc251bSwgcWVfbnVtX29mX3NudW0pOw0KPiArICAgICAgIGlm IChwKQ0KPiArICAgICAgICAgICAgICAgY2xlYXJfYml0KHAgLSBzbnVtcywgc251bV9zdGF0ZSk7 DQo+ICB9DQo+ICBFWFBPUlRfU1lNQk9MKHFlX3B1dF9zbnVtKTsNCj4gDQo+IC0tDQo+IDIuMjAu MQ0KQmVzdCBSZWdhcmRzDQpRaWFuZyBaaGFvDQo=