Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp2848061yba; Mon, 8 Apr 2019 06:08:21 -0700 (PDT) X-Google-Smtp-Source: APXvYqwZ1tUfvyDFHjRY/knTgNy0Z58sIF+jdd22fv5iQPJoeHYg7i8z6gAW06c4A7J6D11zMPMW X-Received: by 2002:a17:902:2e01:: with SMTP id q1mr29938034plb.253.1554728901274; Mon, 08 Apr 2019 06:08:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554728901; cv=none; d=google.com; s=arc-20160816; b=SnNXf6amzMdPR5gT4gOTXi4OL5aTiF0BXi+CbRS2WsotSHHdct7KHttVUip78aBSF1 I0eJCKLVmUXhFLQemwAa3LaRqSuDKdUw89g5oaa39r/WQ6ednuXjjJHdreLG0eDyPK6S M0YJEyfiZgHZAE7yLALRG1qLCgrIdjr+rXKG50zzDD89emc9oNxaST7O37tCmduu5DeA vkmHIrOuTSuhI6I+5eK9tpiijaJqb06LiTjrrNjiC+6sCzwqdhwRmRXTH0JfXz3fvs/T 6sdqVnDoNAGt1ylJn9jya2CU/lR6e8FM6TKZYUmV1HbNYicbIWs7oNiKClm1fI0dI6Kj YlVw== 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=KMkTah9Y89L5ud2J09rdUp7r32Dn5pyOkW86PFBtELU=; b=GHIV98NfavILUZxc8Zji4LzdcNAKdCzl9R79lxadZFhwf0NNjTkwBjBBgwl0yeBFqV +LFsbFHFh+hOXFSiA+OIcLR1LthbdU5z6ucjGCb8JLc7iRsAlg958KZrQ/Jq8p/Nl0SX z9lLXBT2jkFZZx0S99Y+pGkadGyADue4izp/hFyBJ/fnVS8ImfMCsR4NW0Qd0bkGg9Ji N9mExgfp6dMWAy0RFgs/qLdEos/oAZlAVz+dydvMNAYF74ksQSeMMrpvw7eZ7/V33s9O eJRS4xw7tnxdeMjm6pH1uzcQ/JDmB3g4W818T8DZ0591Eu/XaivBogivTa6Bpz6GD7jA okww== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector1 header.b=NqLAmWYY; 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 q13si25917886pls.284.2019.04.08.06.08.04; Mon, 08 Apr 2019 06:08:21 -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=NqLAmWYY; 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 S1726690AbfDHNFs (ORCPT + 99 others); Mon, 8 Apr 2019 09:05:48 -0400 Received: from mail-eopbgr60068.outbound.protection.outlook.com ([40.107.6.68]:41186 "EHLO EUR04-DB3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726349AbfDHNFr (ORCPT ); Mon, 8 Apr 2019 09:05:47 -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=KMkTah9Y89L5ud2J09rdUp7r32Dn5pyOkW86PFBtELU=; b=NqLAmWYYCsRWcqYMVr9OH2m4tpWU+kd/YgLIFCdOgwd/cvwUkBoTwEwsO9b5c+S1ImPGWfXkMQaxSDPI6+I7CoRT1r/rYl827EL4M9jDX4szMXrUGtPwXyKDCWRDFqPbCRVrRLjeZrIkVf8XbmlLjPnGgJ6jr9u4aFNfgkzdNv4= Received: from DB3PR0402MB3916.eurprd04.prod.outlook.com (52.134.72.18) by DB3PR0402MB3897.eurprd04.prod.outlook.com (52.134.73.11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1771.19; Mon, 8 Apr 2019 13:05:41 +0000 Received: from DB3PR0402MB3916.eurprd04.prod.outlook.com ([fe80::e8ca:4f6b:e43:c170]) by DB3PR0402MB3916.eurprd04.prod.outlook.com ([fe80::e8ca:4f6b:e43:c170%3]) with mapi id 15.20.1771.016; Mon, 8 Apr 2019 13:05:41 +0000 From: Anson Huang To: Aisheng Dong , "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" , 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 V5 2/4] firmware: imx: enable imx scu general irq function Thread-Topic: [PATCH V5 2/4] firmware: imx: enable imx scu general irq function Thread-Index: AQHU3TgP/onlTWH0OEWf1xUmhiNMM6YyMx4AgAAiNcA= Date: Mon, 8 Apr 2019 13:05:41 +0000 Message-ID: References: <1552878291-22866-1-git-send-email-Anson.Huang@nxp.com> <1552878291-22866-2-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: [119.31.174.69] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: d4f06b77-926c-4654-bc9d-08d6bc22e753 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(5600139)(711020)(4605104)(4618075)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7193020);SRVR:DB3PR0402MB3897; x-ms-traffictypediagnostic: DB3PR0402MB3897: x-microsoft-antispam-prvs: x-forefront-prvs: 0001227049 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(136003)(396003)(346002)(376002)(39860400002)(366004)(199004)(189003)(13464003)(76176011)(8676002)(52536014)(33656002)(53546011)(6436002)(110136005)(7696005)(478600001)(256004)(2501003)(14444005)(316002)(6506007)(9686003)(25786009)(55016002)(71190400001)(71200400001)(99286004)(229853002)(44832011)(305945005)(7736002)(106356001)(97736004)(2201001)(66066001)(53936002)(68736007)(105586002)(11346002)(4326008)(86362001)(5660300002)(74316002)(26005)(6116002)(8936002)(7416002)(14454004)(446003)(3846002)(6246003)(2906002)(81156014)(186003)(486006)(476003)(102836004)(81166006)(921003)(1121003);DIR:OUT;SFP:1101;SCL:1;SRVR:DB3PR0402MB3897;H:DB3PR0402MB3916.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: UD0RgFHx7ugiXhVomMJaS1ej3BPBSYq8pvVoXr8eomB0TAUGW884fWdJZelli+H9LVaSJW+gWJwMKL6dADGAsFT2ZzpyEbLwYkWjE4Poi6OKOmMKB9WMfBKUE35EiYnyp7AwCj2O37nNvjEF32zFyrBK94eLLv5N+BQtwWCPxYwGfvJXglHBhqQ/O678HeHgadBQSTjBQjYoTiEKzLS3nVgNVOY7qNv2k/qbFwqXyXqr4Rc69eMnyQwCPdGwObzxYjWqWCq5phN3smYymFMMtnIOTFrx8OaVRz6FUlF+bfjjnCjm/xE5P4PqyXHU7mm9gvNiS8CSDpChFGI0MjwSakFgHaz0cnlKqoHZUixpdw/pGNw3W3YR1cF1evezX/lN9JaMOm8fQy/iS6EvtpSvUCXJXhtbj+tOm9PMY/mhgWI= Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: d4f06b77-926c-4654-bc9d-08d6bc22e753 X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Apr 2019 13:05:41.4097 (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: DB3PR0402MB3897 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGksIEFpc2hlbmcNCg0KQmVzdCBSZWdhcmRzIQ0KQW5zb24gSHVhbmcNCg0KPiAtLS0tLU9yaWdp bmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBBaXNoZW5nIERvbmcNCj4gU2VudDogMjAxOcTqNNTC OMjVIDE4OjM1DQo+IFRvOiBBbnNvbiBIdWFuZyA8YW5zb24uaHVhbmdAbnhwLmNvbT47IHJvYmgr ZHRAa2VybmVsLm9yZzsNCj4gbWFyay5ydXRsYW5kQGFybS5jb207IHNoYXduZ3VvQGtlcm5lbC5v cmc7IHMuaGF1ZXJAcGVuZ3V0cm9uaXguZGU7DQo+IGtlcm5lbEBwZW5ndXRyb25peC5kZTsgZmVz dGV2YW1AZ21haWwuY29tOyBhLnp1bW1vQHRvd2VydGVjaC5pdDsNCj4gYWxleGFuZHJlLmJlbGxv bmlAYm9vdGxpbi5jb207IHVsZi5oYW5zc29uQGxpbmFyby5vcmc7IERhbmllbCBCYWx1dGENCj4g PGR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