Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp592435ybp; Wed, 9 Oct 2019 00:46:05 -0700 (PDT) X-Google-Smtp-Source: APXvYqx3+sN0ZmPThlzzIw9KRJU/XoZOUNTXu89y6dXDqkvLtxIbKuXBa7yDzw6NRHeLR9qS6Y93 X-Received: by 2002:a05:6402:1612:: with SMTP id f18mr1752355edv.66.1570607165402; Wed, 09 Oct 2019 00:46:05 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1570607165; cv=pass; d=google.com; s=arc-20160816; b=zV+Akaj57t6lo3PAqx2chaGqWAHp+wqkMciGRDfiXVxHTBEIYlmYZ826+zwV0t1CrJ zZ6qQnnyeSvHW6SX/UbtvD29Pg1om8OKekdQhxKvN0s+pKF9MZTpnHge7+fi2ektXo4u 2mKdS56DuUxNQfxo206xY2jbfGhTAxmFbqIGGuLCjkuL0ohdQsPUHH4wfdlG62D+WAmQ 8xOKL3PB4SpJswBxF9KX+6fSPxhzmh8l3biZVTD7vsFksuzGk3SkDnwzLkxqx1a+wBdA 7g3+OGWd8xeE4sBq2QEGcjZ0l3FtVfxNV2sXFQzahpe/hcAEKFbcbh0DlLnF7dN3BpIR fNuw== ARC-Message-Signature: i=2; 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=JezFGT7SYnw9AouOO/SQOroJZ5TZ0/9VIIVeY8a11O0=; b=Ih2GDTt1VKnbr3yUulSS4idNsMoCqLfdYhUwdG5ullalTGu4uKSYfI/WcZhQY8YZND v9RNJotAdY1F+LPVB1yamycWWKm4MeRmHmF9asDzs90ZE2p1hWoDf4p60Qyr8Q9vFNKs FBT1S2HBCRYCWpR6anSF5FCNxWfXpJc8mDchVUX4R/fD7SsYTxezWknS2bo++Oakghoq 0oWaUQz6sHM74A098hqy9d+V/tTltFuW/rEgSleK8zs2qAfa051BCFG63nGTxA/o2TXZ LmyUx/3cbIL507P+g6u6dVm3H++DDie2Emxs6cGJnJAdtT5padiXNjz1T58FmkLiNQl6 owOw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=AEIA7XYO; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); 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 n6si695357eju.100.2019.10.09.00.45.42; Wed, 09 Oct 2019 00:46:05 -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=AEIA7XYO; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); 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 S1727766AbfJIHn2 (ORCPT + 99 others); Wed, 9 Oct 2019 03:43:28 -0400 Received: from mail-eopbgr150050.outbound.protection.outlook.com ([40.107.15.50]:49991 "EHLO EUR01-DB5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725879AbfJIHn2 (ORCPT ); Wed, 9 Oct 2019 03:43:28 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=aBITk9laVtxC1yKnZGd7p9nJCBFWX8i2CARu4Cj03s/MPrGzJyccMpr59XmP8B9fj7b4gVWLDjYvRSVBG8EaIKxSyt6bVxtPE03PmmtIVpyodOu1PeTGPe972YADfkns1qMMN14LTik+uWWWFIMrMX42U84MmV8vfJ+mYIzsSU7gyKW1Xerzd4oQQFvcrZppxfrLZ3gE/pgYAXXyhPaENS+21vd1xwmEI0GImf8l2Lzu5kDvtgn2+TIZbe5xKT0xQ5k+OTMUvrGA9ia7e+RV4MxDkizdbseyvlLDGnVcl7dXW90OMDdJZXgtp2YMjGKyEQd2eiWtZ7jCJHFJg+Qfeg== 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=JezFGT7SYnw9AouOO/SQOroJZ5TZ0/9VIIVeY8a11O0=; b=gKsIk9vxxftpOTZVSRe84sOxEOR9qjBEyRphciq4h9DnrqHiDM/Nsuz+udWHS7b1uTmTap0FoqtSI+BhduPv9vxdPHm8z/JQhYKwJAOOgIa+OEnnRQW59iPxO11QO8oFhTGM1PbnOKmfkP5dRWFCCyY+HDcTcSxQU69nTx6sBeSqxnx+6l5zNRM0jBoKRXf76pU2hEYJ+RviePQ3mpfVfkOr3HtChGLNvBjMxA9iM9yjG1T8q3oN7JS353Pjc2uz9Pt9xxPYbOx68mZw6Zx/DGLa9ZvAZlOSiC8N2Gpq9Yvj/dAuyvhCDbI10FQBrNo6mzhVRwGi5UAZ8fKrTCbBMg== 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=JezFGT7SYnw9AouOO/SQOroJZ5TZ0/9VIIVeY8a11O0=; b=AEIA7XYOLT/hKBKBd39zumDhdZEIXVDgIJ+ZjChYAgqgPwj3nzPKzi+yL+2g4CW8MPdvE26FgOi9i8KkN5ON/9KxmR7QRI9AD3g/cLBl1UGclFUFejTL6sIGDBtepMhQ0xmOnTEW5nw2NYnnmE6s5hpSmiz5Hm3IOX6aDoybBy8= Received: from DB3PR0402MB3916.eurprd04.prod.outlook.com (52.134.72.18) by DB3PR0402MB3836.eurprd04.prod.outlook.com (52.134.71.139) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2347.16; Wed, 9 Oct 2019 07:43:24 +0000 Received: from DB3PR0402MB3916.eurprd04.prod.outlook.com ([fe80::d469:ad51:2bec:19f0]) by DB3PR0402MB3916.eurprd04.prod.outlook.com ([fe80::d469:ad51:2bec:19f0%6]) with mapi id 15.20.2347.016; Wed, 9 Oct 2019 07:43:24 +0000 From: Anson Huang To: =?utf-8?B?VXdlIEtsZWluZS1Lw7ZuaWc=?= CC: Stephen Boyd , Greg Kroah-Hartman , "jslaby@suse.com" , "shawnguo@kernel.org" , "s.hauer@pengutronix.de" , "kernel@pengutronix.de" , "festevam@gmail.com" , "linux-serial@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" , dl-linux-imx , "Rafael J. Wysocki" , Andy Shevchenko Subject: RE: [PATCH] tty: serial: imx: Only get second/third IRQ when there is more than one IRQ Thread-Topic: [PATCH] tty: serial: imx: Only get second/third IRQ when there is more than one IRQ Thread-Index: AQHVfmm1cibywjMA5UifVvn4HL9DWadR35+AgAAA6hCAAATlgIAAAf4ggAAEgICAAADzQA== Date: Wed, 9 Oct 2019 07:43:24 +0000 Message-ID: References: <1570601911-9162-1-git-send-email-Anson.Huang@nxp.com> <20191009065315.wgdvmkv6skteyul4@pengutronix.de> <20191009071403.ugd2wuac6ue5zsd6@pengutronix.de> <20191009073717.qlr2svma5fiaf4ad@pengutronix.de> In-Reply-To: <20191009073717.qlr2svma5fiaf4ad@pengutronix.de> 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.66] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 8a99a174-9d4f-43f3-5116-08d74c8c5d6a x-ms-office365-filtering-ht: Tenant x-ms-traffictypediagnostic: DB3PR0402MB3836:|DB3PR0402MB3836: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:7219; x-forefront-prvs: 018577E36E x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(4636009)(346002)(396003)(136003)(366004)(39860400002)(376002)(189003)(54094003)(199004)(55016002)(6246003)(305945005)(52536014)(6436002)(66066001)(7736002)(8936002)(74316002)(25786009)(8676002)(76116006)(66946007)(81156014)(4326008)(66446008)(64756008)(81166006)(66556008)(66476007)(6916009)(229853002)(86362001)(14454004)(3846002)(6116002)(256004)(7696005)(76176011)(26005)(2906002)(6506007)(102836004)(7416002)(11346002)(99286004)(446003)(9686003)(478600001)(33656002)(54906003)(486006)(44832011)(316002)(476003)(186003)(71190400001)(71200400001)(5660300002);DIR:OUT;SFP:1101;SCL:1;SRVR:DB3PR0402MB3836;H:DB3PR0402MB3916.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: BCL:0; x-microsoft-antispam-message-info: akzimXs4Lk2OKyGVcCP4Yssd4yMA6Iv5ZYqWAT5aghZI7pEqpx9tJskPEWgQTeRXjWtp5eP4ZlYIxwJLqYJ9Jy1zNjFufIA6YTD9PHjYTJP3x0UokF2RajqwEPcaQfPWs2yAi3tbP7golf1VROstTqSFl0wwKqyFSdJfzRZHN4SCxnugHU3Ce3ZzrWH3srlQ5Q12eehwIBNVbZHCP8hCeDm6vv94V5c7zsjDkRuiyggvvMVeaLz/p74INcAtDmpq1DauE40auwNSme2llpWpMl9tfV6WMaPpZsyRRwJaGZbMGkWYRYlsjiczGG9UuU78ZMpnWplSsN8A0BROV01wBeYL2IM1ypi2Ess5HgIFaZBdFmzINJubFY98MzPQvaqwJ4mV9ZOZn58sOox+E9LOzJlOonSst4JusxhBy+raiFo= 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: 8a99a174-9d4f-43f3-5116-08d74c8c5d6a X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Oct 2019 07:43:24.1826 (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: HnHE5edpr8D21Ycgeqh0eCPcrqjV58CtaGDS+lC/zsN/Bcm2oruKeU6vvHEhVAdMr2A4rlTJn7VcfZSlxdfwRQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB3PR0402MB3836 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGksIFV3ZQ0KDQo+IE9uIFdlZCwgT2N0IDA5LCAyMDE5IGF0IDA3OjI0OjU3QU0gKzAwMDAsIEFu c29uIEh1YW5nIHdyb3RlOg0KPiA+ID4gT24gV2VkLCBPY3QgMDksIDIwMTkgYXQgMDY6NTg6MjRB TSArMDAwMCwgQW5zb24gSHVhbmcgd3JvdGU6DQo+ID4gPiA+ID4gVGhlIHBhdGNoIGlzIGZpbmUg Z2l2ZW4gdGhlIGNoYW5nZWQgYmVoYXZpb3VyIG9mDQo+ID4gPiA+ID4gcGxhdGZvcm1fZ2V0X2ly cS4gSSB3b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