Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp3460968yba; Mon, 8 Apr 2019 20:21:43 -0700 (PDT) X-Google-Smtp-Source: APXvYqx9b/sfIuNltF2VGfVutLX1DAT6t/vYVNHlL1vB09TU8CgJlWUC4bmZlc00fMH0pA107AxL X-Received: by 2002:a17:902:70c8:: with SMTP id l8mr34665544plt.177.1554780103552; Mon, 08 Apr 2019 20:21:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554780103; cv=none; d=google.com; s=arc-20160816; b=Q8poe3lK3+hpzVcVNe/uHQO/VpcH/2PJO5BzExWDlr9LHzHW24JkxjE41D/6TTnStL zFby6/sKqmR47UDs/qh4VVDqHwsiaLhfFbpBu2LLsw/U/JkrAmrSAgH5Lcd9zh4zbrcw o7atqfe7fDuTPnCgMLHd3Dgh2uLShqlg9iLBugsi7CRBz62KdsgM9ZIrgwruyqLnb+HE g9zvh7hA07TBeDG2wljQGnx2qvMU/59LPhp1aHQZqiMC8V8uqbckLxV13yfnvsHfJ9TB 7+heRD7IZ0Nz51+vpP4zAOSUlGIKdSQ1mihPSVmgM5tQJSvpFTPYJQb1y209vHRG97d7 +S0w== 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:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=OgoT961eSfoKAZFXyT6E/IEX8pAjhl/iDNc/NsWeH74=; b=RKRAtNTLSaJlRFfIJjCrBBk86NVUnNssXFYBj/XIupKKMT7lXzRbj3tV1J15P1yeza x5wySbQaFVJPNGxXqt7FUt5PDHdB0yba7QW9gt0I1x0yXgglghvtKtpH9bABubdF5imk nG3HYNwARNqjx91Jt5wcenpKZrvRpno/W8BxqUz6UlB12W+D7heo7pcRCejAb5Abg2an 8UN3/LlreagB7E6VDYZDspeLJ4aFGzVGl/sRsQvdD5cv0TP1PBWuxFYqCePvZtutVTWw 2pifw9+qYSLX+6tz2drIP3haGgQ5lwP0N9MYp11z/89mjpx6HoFigH3tgzmbOOWVJv81 iUpQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector1 header.b="FjWpwg/j"; 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 j65si27981803pge.48.2019.04.08.20.21.27; Mon, 08 Apr 2019 20:21:43 -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=selector1 header.b="FjWpwg/j"; 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 S1726539AbfDIDUw (ORCPT + 99 others); Mon, 8 Apr 2019 23:20:52 -0400 Received: from mail-eopbgr00064.outbound.protection.outlook.com ([40.107.0.64]:23458 "EHLO EUR02-AM5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726133AbfDIDUv (ORCPT ); Mon, 8 Apr 2019 23:20:51 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=OgoT961eSfoKAZFXyT6E/IEX8pAjhl/iDNc/NsWeH74=; b=FjWpwg/j42S7Zs4itXTI5jJEwaU8nNK8lF1bfWwLgFNmvACS1/7qBvL3eW2ylrg0WrXsbQzWKf8bAXL6H1urm7d2ETupko5Zfs7bbAM29uMHwJ53omFx6Da3tcdDR1eKmW0hSo9qBOWXpauRk++xDUw+rY9wIuYJvFBSodnIilM= Received: from AM0PR04MB4211.eurprd04.prod.outlook.com (52.134.92.158) by AM0PR04MB5089.eurprd04.prod.outlook.com (52.134.89.85) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1771.19; Tue, 9 Apr 2019 03:20:44 +0000 Received: from AM0PR04MB4211.eurprd04.prod.outlook.com ([fe80::8cda:4e52:8e87:8f0e]) by AM0PR04MB4211.eurprd04.prod.outlook.com ([fe80::8cda:4e52:8e87:8f0e%2]) with mapi id 15.20.1771.016; Tue, 9 Apr 2019 03:20:44 +0000 From: Aisheng Dong To: Anson Huang , "robh+dt@kernel.org" , "mark.rutland@arm.com" , "shawnguo@kernel.org" , "s.hauer@pengutronix.de" , "kernel@pengutronix.de" , "festevam@gmail.com" , "a.zummo@towertech.it" , "alexandre.belloni@bootlin.com" , "ulf.hansson@linaro.org" , "sboyd@kernel.org" , Peng Fan , Daniel Baluta , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "linux-rtc@vger.kernel.org" CC: dl-linux-imx Subject: RE: [PATCH V6 2/4] firmware: imx: enable imx scu general irq function Thread-Topic: [PATCH V6 2/4] firmware: imx: enable imx scu general irq function Thread-Index: AQHU7n39syRzBf82x0e6tgPamJtCSKYzKDXg Date: Tue, 9 Apr 2019 03:20:44 +0000 Message-ID: References: <1554777487-31075-1-git-send-email-Anson.Huang@nxp.com> <1554777487-31075-2-git-send-email-Anson.Huang@nxp.com> In-Reply-To: <1554777487-31075-2-git-send-email-Anson.Huang@nxp.com> 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: [119.31.174.66] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: c55afa36-9d74-47e1-4615-08d6bc9a5a3a x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600139)(711020)(4605104)(4618075)(2017052603328)(7193020);SRVR:AM0PR04MB5089; x-ms-traffictypediagnostic: AM0PR04MB5089: x-microsoft-antispam-prvs: x-forefront-prvs: 000227DA0C x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(136003)(376002)(39860400002)(346002)(366004)(396003)(199004)(189003)(3846002)(6116002)(486006)(7416002)(25786009)(110136005)(316002)(105586002)(99286004)(106356001)(256004)(5660300002)(14444005)(68736007)(2906002)(52536014)(74316002)(305945005)(7736002)(8936002)(8676002)(81156014)(81166006)(55016002)(7696005)(6436002)(9686003)(229853002)(476003)(102836004)(53546011)(186003)(33656002)(76176011)(71190400001)(2501003)(26005)(4326008)(6506007)(14454004)(97736004)(446003)(44832011)(2201001)(53936002)(6246003)(478600001)(86362001)(66066001)(71200400001)(11346002)(921003)(1121003);DIR:OUT;SFP:1101;SCL:1;SRVR:AM0PR04MB5089;H:AM0PR04MB4211.eurprd04.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX: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: n54FtrIScFER5Bs6PP9T7SyOHaIgj78WwSUtmzocHBmiUJvclcA7F3ofgXjndJnghdZLOvevg/Fq7kp/br5cjbxRAv77qYPSilP0W/D9s319HWEm7y42UOkYPcllHjldVUR0OF6FwI+FhCdq2FdJO0QOymuQvXmyq4YJ11KTrkIDNPnItVE7WF+90LTOSSDLPwRed/G+4qN786AT47s/jVE69Y27/LuD19py1NvHgmt4H5EERecF1KeG69lq3v481AQTD3w0pg1PfCryMLqE0l2pdvUvi27AKBvJQ5qmqhF4hw4JIRd2Gl/zI7lRqvqBuN924WuCozc7s8t7NvksNGSl1BIWI2XFVibUbNtQg9HMbGYkrp3CVAWUof9+hltYgn/DJEySVOpqpI2oLt74zpjcs7c7oMIVTlZtgo/IYW8= 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: c55afa36-9d74-47e1-4615-08d6bc9a5a3a X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Apr 2019 03:20:44.2356 (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: AM0PR04MB5089 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org PiBGcm9tOiBBbnNvbiBIdWFuZw0KPiBTZW50OiBUdWVzZGF5LCBBcHJpbCA5LCAyMDE5IDEwOjQz IEFNDQo+IFN1YmplY3Q6IFtQQVRDSCBWNiAyLzRdIGZpcm13YXJlOiBpbXg6IGVuYWJsZSBpbXgg c2N1IGdlbmVyYWwgaXJxIGZ1bmN0aW9uDQo+IA0KPiBUaGUgU3lzdGVtIENvbnRyb2xsZXIgRmly bXdhcmUgKFNDRlcpIGNvbnRyb2xzIFJUQywgdGhlcm1hbCBhbmQgV0RPRyBldGMuLA0KPiB0aGVz ZSByZXNvdXJjZXMnIGludGVycnVwdCBmdW5jdGlvbiBhcmUgbWFuYWdlZCBieSBTQ1UuIFdoZW4g YW55IElSUQ0KPiBwZW5kaW5nLCBTQ1Ugd2lsbCBub3RpZnkgTGludXggdmlhIE1VIGdlbmVyYWwg aW50ZXJydXB0IGNoYW5uZWwgIzMsIGFuZCBMaW51eA0KPiBrZXJuZWwgbmVlZ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