Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp2393581pxu; Sun, 18 Oct 2020 00:29:30 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzBDvehI0qjUDPQWX28Fcn4sgTjXhMSi1qMRxL1izR+T4IFEnsM0eDU0f3NxkSLsPPBHYhL X-Received: by 2002:a05:6402:2214:: with SMTP id cq20mr12152473edb.311.1603006170511; Sun, 18 Oct 2020 00:29:30 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1603006170; cv=pass; d=google.com; s=arc-20160816; b=bo9L2osRK/nSOSS6af58NLLqNnvD1m9wZ55PvQYTSqSZRd6NE3LqqTFtpe3N6AT34C GzD56jSHD7tRwI6G3Lk2+bt3S3IGoMQawRXqwPJcN/dujt8pVYVOXN0f3Nr4XDRPUI6A MKCH+FrobnxZ9iktnfGCoyNp0RQgYbbncDP9JmjRsMpSC97K88pvQlhCgZfWOAYywq4I H9b5SNlGAu6+tGKcruQAqFDMMlfCQpSKsO7X1PLuIAECB3oZQoFkCFmLZGqnsMBVe+1T xQAqkJUHL1g7mMkVKPuirytVPvsDDrDL1Wn66TUkKP3VFLoKymhEegYoIfgMs5+VU8xp 4+CQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence: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=tTk4PusRGNTeJSJIFdZdMFTJxsNJqn+4hf6bhWNWQ5Q=; b=VXCJEb5kdM0i378lY0O9hnRHJD6YZP0IAgRuaIL8FCitudp8xQZBlPRQ93EJOhTirM PgO2vHH1w+cPpEFwrkx4mybDGMd8hqEDQDQldP5nP4wunjjeWE6AghFl86uo/OaScjvF QP+mJjK4wkyUzBHJit7Xdkc2szNHsDBXhFfrAlvVpgrzKdpCqAlEGi/bMPY2I/NqUls4 qctInIlVFT7BlPdwI6SGw3MLAyIYseq8RQKjFC4bSPNGKqQfuD/4XkfWoY/inQoxmjPl p8szqtVm5J9+/bFG1Vnhic2SrVEDYQEbY8oU3CXtsPtNXQWYGgHqMvwDjCfAZOz+qAmZ 2ieA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=I0EVZkuq; 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 i13si5148954ejk.72.2020.10.18.00.28.44; Sun, 18 Oct 2020 00:29:30 -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=I0EVZkuq; 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 S1726164AbgJREsu (ORCPT + 99 others); Sun, 18 Oct 2020 00:48:50 -0400 Received: from mail-eopbgr80052.outbound.protection.outlook.com ([40.107.8.52]:61374 "EHLO EUR04-VI1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725306AbgJREsu (ORCPT ); Sun, 18 Oct 2020 00:48:50 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=M60N0mE7mN9kp+Ox1Z1xBpx999bwBHaBSWifRp/oJbH3UVIX0FDSzb8mg1WoMnfnzDVN3383lDaE5pCaYUouxzwg1Z+Gu4dO7+6DFzeJr7Viosqkum2gt9OnSZNkNW1X501K6OD3jNbFosl2qDTnLjFumGfbEks1ZFmqNtSaZ2b+EWJfX0wkYvTLCpyD4VYs7ywvtj77UTF+DGGvXY/yUj0QQFxsPBtL1XN1/wPcqcRl5JkLL18AGsJUMKCAMKHJ/X4VuTqLUpn7ypua4YLV2fj10+iiCwf35n0KSf0MpTjVoFevOeE9oU1Qn2UkMtQ3oZF2Vchv3lEbPViGTzPT5Q== 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=tTk4PusRGNTeJSJIFdZdMFTJxsNJqn+4hf6bhWNWQ5Q=; b=WbBeij0Yo0kPiSbhXdDbcm/emQGJG3LhaHnkK5b//kdzet8attNSVRySeAsxFTrDVGWXMp5cttJI2glagX7/vfrxvicYMG0GsoMi70KFMJOA/dtd2DrxEUpxO2mmOPr28kpQCzo6gkbK031aK0CLHXaPrgvlB0RXkVjikeu/bc3rOq5/Tuy21XufhhHz507BVH9f/eUXxijqXMTn56y/IaWXKdMID7Frk/tqq81xBhDyLxwyOILYI9NNakEJevkxgetYZsrGP5emCK2hDWwJi9+/mtdZNzuhHq+8AOz31IKXWGfs6cdwtPY+j/MdZdvpcB6xd7eFuQNP+DXKKXFufg== 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=tTk4PusRGNTeJSJIFdZdMFTJxsNJqn+4hf6bhWNWQ5Q=; b=I0EVZkuqWCwUn2idq85BaWbu36aiLvjvSHpGbxKU1H2sd2S04tr/bKNl+0hzIh8Q+fn49mctdonidU6ljP6C5VAy3tt5YIbE9gTHRtVLX3V0OAUs3XTi1P6oNoJYD46bxRZNe6HIVV5bBu/+Q3StgALzrQuJk7tOfz66wSqj/cA= Received: from AM6PR04MB4966.eurprd04.prod.outlook.com (2603:10a6:20b:2::14) by AM6PR04MB4743.eurprd04.prod.outlook.com (2603:10a6:20b:2::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3455.28; Sun, 18 Oct 2020 04:48:44 +0000 Received: from AM6PR04MB4966.eurprd04.prod.outlook.com ([fe80::546f:92f0:f3c5:a148]) by AM6PR04MB4966.eurprd04.prod.outlook.com ([fe80::546f:92f0:f3c5:a148%7]) with mapi id 15.20.3477.028; Sun, 18 Oct 2020 04:48:44 +0000 From: Aisheng Dong To: "Franck Lenormand (OSS)" , "shawnguo@kernel.org" , "s.hauer@pengutronix.de" , "festevam@gmail.com" CC: "kernel@pengutronix.de" , "linux-kernel@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , dl-linux-imx , Abel Vesa , Anson Huang , "linux@rempel-privat.de" , Leonard Crestez , Daniel Baluta , Joakim Zhang , Peng Fan Subject: RE: [PATCH v2 2/5] firmware: imx: scu-irq: Add API to retrieve status of IRQ Thread-Topic: [PATCH v2 2/5] firmware: imx: scu-irq: Add API to retrieve status of IRQ Thread-Index: AQHWX3J+c65JmmpOO0GL4uPYN5ipXKmdVC0w Date: Sun, 18 Oct 2020 04:48:44 +0000 Message-ID: References: <1595344835-67746-1-git-send-email-franck.lenormand@oss.nxp.com> <1595344835-67746-3-git-send-email-franck.lenormand@oss.nxp.com> In-Reply-To: <1595344835-67746-3-git-send-email-franck.lenormand@oss.nxp.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: oss.nxp.com; dkim=none (message not signed) header.d=none;oss.nxp.com; dmarc=none action=none header.from=nxp.com; x-originating-ip: [92.121.68.129] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: d6d17bc8-1946-4ed3-5f74-08d8732117c6 x-ms-traffictypediagnostic: AM6PR04MB4743: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:499; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: MRR1BXDJTPKCfRFa5EOeEqSGsmLS6Z6AstTN7OIjmFCAjd8kqpVdfIVCcyp9yUuCaCtH4/LCtMkYpXGovd73kuZSPHLH5i0w30z7m500Ey/V23wPRaf5L1I3bGMOTpeREVa8NMMbGnNKpFgfDqdhPZeDbY+fDRQrtNNFbRARvmoGgzaFh2erof7usL+EWovYdOgNmPkDTJZXFzgKM4FSrGxleq1oXXCSvg3/+b2xxlQWDslyA/wt1C0WgnwgCNvBAHiPf2IMBqF0fe4H1pw/b8cwFG72OIgWIAHJF9puwaCefJHqhmikSz43BjXxrywWRhgIVRFFjdbtkOXjSPYt5Q== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AM6PR04MB4966.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(4636009)(136003)(39850400004)(346002)(376002)(366004)(396003)(26005)(9686003)(186003)(4326008)(6506007)(66476007)(33656002)(2906002)(83380400001)(55016002)(52536014)(66556008)(8936002)(66946007)(66446008)(7696005)(86362001)(64756008)(44832011)(54906003)(110136005)(71200400001)(76116006)(316002)(8676002)(478600001)(5660300002);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata: 6vJBDlmikL0axUMD6JVPuZdZSjvJTu5mGPGwWTQQdXtLLVytQguKm78GJQXV1jGoxhnoSGRYEF7yY8TYyU1DcvolDA/HaA/yh6ekolWWTKDfHqijpuWGdGY9Ls2HBSJ9EkcASggVCHG8DjUyy+dVI+1Hn8uawGmpv/+0UbEBZVQAxgL9a5r5OfS1fonFzNMv63iRCXDF/muxrLggVy5HND/RfIDkhM1dLKD3LWYnt3AglauSsV+qRxy7CutW9m4Z5M3zzOGJ9OEBDSJFYbpVsgYaPVuNGsFMYze0T9sFIk52G4VRoeP+OhQabypCWfCBXkjM8jlPXTA6mLYwsflFALmCG7sKa19eBTmWj7YY6C2iY7g/hj/Gle0QcFX3HCLQWS90j2Nq2wVpnposLzlGRL5Q1bYOZgQoIUtEe5uFyOvd1x2qzOBeiT5S7OUeCVy5utNHee0qgJmgQ1UVIPZB4vlxCMGQ996bjUZOx8P7FQuJiISvwCZ/AVLo4h1HFHgMCYTnTQN7dEOa5JCSwRJattoDKz1Q9WXJ10jp+q5r/zbAuX4FMu2HaGOogd196lINudAqLqvwI5ihlnKgGuLudQt6d+cKbvY/Cwr5zqAOPsUSu/02iDc/fOQ11pk7HEpCMmOCfqWbGwSmDcZ3eIdiuA== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: AM6PR04MB4966.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: d6d17bc8-1946-4ed3-5f74-08d8732117c6 X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Oct 2020 04:48:44.0997 (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: KXS1vXgkEd+wd15hCqArCd3IEFmyM1HDzzmX8ukA1rLKSTth9Dq6t+IMSl5MvpDtQ0oiXxvgFMf3NSHavxXPPw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR04MB4743 Precedence: bulk List-ID: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