Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp1823767imm; Thu, 20 Sep 2018 03:34:23 -0700 (PDT) X-Google-Smtp-Source: ANB0Vda2U1LfJD2e4WrAkhHxk/12zB+XomTzDOHatvcLL+CdthH4gx2Kqd65z/1ZY6UclbnqWjM1 X-Received: by 2002:a65:56c2:: with SMTP id w2-v6mr4653555pgs.205.1537439663183; Thu, 20 Sep 2018 03:34:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537439663; cv=none; d=google.com; s=arc-20160816; b=om7GBqS1sRIHNNefZkZaxkqUAK1GsRJniinVQYCwVj0uCmi/76S06bxZqoMoIHPvxm rlUuZHMNTAhEA5cWG1Jt9K/ikv7qSfrGBhF6dK1rAyUlhlMZBpPhrrUMzWuaceJzOB8w 43wx2b9YPaUoExCij/jVzUzd0sMktwKbROADN+F2fBWsjVR/CZPvps1Nwrd6G3QVJPWj gBcSuLfOoBzsDSFobdTqMXR955Lq1ynVIyiQqnRKZprqie/RBP5EGkcrNifLJwkH3pNw jJqka5MugUQkBuonTqNtbQwr2llmEG34EsQK25ezMboH9bNm8S+AkTBbT0m+RejRWJ8z TNGg== 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 :spamdiagnosticmetadata:spamdiagnosticoutput:content-language :accept-language:in-reply-to:references:message-id:date:thread-index :thread-topic:subject:cc:to:from:dkim-signature; bh=XZrfwDFSAngM+I/DTLWz1wAbD25ZQ82m0mHH5+g8ZI0=; b=bT7cyDx/DLNh5WOfAKSSZmrE1w77LifiOIwG6g6BInYMoHcCxrtm0wv02DMrxr28Pp 0uyZVnwckUz7gvq3IRbIdLH1R1aTQe0nqcEPaiKrAzrehgeneOPzBCct2QizuXGugw9U Z5EoK/4Us0XGRo9ccYdsl9azYCMrPz/Y3pozqcG/spoC4L8+qLES6vrQIdGBLRiYRWMe gxH+XZiWy/yqWJN/dVTeypTyYApto3kmOrTb06siBT0weCNAKzr67bez0U5s6Pq4BHUu IQKwECwMLUQyF0IHQK/y5qUFJUvL7ZD7XhPZbcg5D4oucOkZiibgmtEXAyHkN3zlDSsA lndg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector1 header.b=ZDa90Cy5; 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 l59-v6si23085645plb.519.2018.09.20.03.34.07; Thu, 20 Sep 2018 03:34:23 -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=ZDa90Cy5; 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 S1731526AbeITQQZ (ORCPT + 99 others); Thu, 20 Sep 2018 12:16:25 -0400 Received: from mail-eopbgr50085.outbound.protection.outlook.com ([40.107.5.85]:44480 "EHLO EUR03-VE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726788AbeITQQZ (ORCPT ); Thu, 20 Sep 2018 12:16:25 -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=XZrfwDFSAngM+I/DTLWz1wAbD25ZQ82m0mHH5+g8ZI0=; b=ZDa90Cy5SzXFcMvCbr4yWY+P9M0UG3FhTWouFmePcWKRhZINUXdzNbp0+GDfLxTzj396pWwd1ITyMEoTIf53zjYlBLfq/t5V8xxn0GTYeQePyZvDGN0m9v/D32f/WYf07nrZ1cZw55zQP145qmuULEYBgNRog3hMXfsSF25GAyM= Received: from VI1PR0402MB3600.eurprd04.prod.outlook.com (52.134.5.23) by VI1PR0402MB3952.eurprd04.prod.outlook.com (52.134.17.152) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1143.18; Thu, 20 Sep 2018 10:33:31 +0000 Received: from VI1PR0402MB3600.eurprd04.prod.outlook.com ([fe80::2d86:d831:13dd:3849]) by VI1PR0402MB3600.eurprd04.prod.outlook.com ([fe80::2d86:d831:13dd:3849%6]) with mapi id 15.20.1143.017; Thu, 20 Sep 2018 10:33:30 +0000 From: Andy Duan To: Lucas Stach , Robin Gong , =?utf-8?B?VXdlIEtsZWluZS1Lw7ZuaWc=?= CC: "linux-serial@vger.kernel.org" , "linux-kernel@vger.kernel.org" , dl-linux-imx , "kernel@pengutronix.de" , "jslaby@suse.com" Subject: RE: [PATCH v1] tty: serial: imx: enable IDDMAEN for the last tail data Thread-Topic: [PATCH v1] tty: serial: imx: enable IDDMAEN for the last tail data Thread-Index: AQHUULMF78kWbcOONUStgPVYZUwGR6T4zR+AgAAMbgCAABC8AIAAC4SQ Date: Thu, 20 Sep 2018 10:33:30 +0000 Message-ID: References: <1537457160-10792-1-git-send-email-yibin.gong@nxp.com> <20180920075513.6jqfbrrjax3sp4cn@pengutronix.de> <1537436376.3362.159.camel@pengutronix.de> In-Reply-To: <1537436376.3362.159.camel@pengutronix.de> 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=fugang.duan@nxp.com; x-originating-ip: [119.31.174.66] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;VI1PR0402MB3952;6:OpS1YetlrP+RGzgdlqnxu610HyqTp+noHGC1nL+ow/QVQQ5ypKoFrwT0gj2zOXEwiqaBJfR/vINuU99B9f154L6Mw0DD6Am+kx8dBKNkcHeZVzRGCQSpsG8hnmqeD+a0GBbhtDCSPoZOBdEw5j/0UnIgGYOFpcHh5ILQzh7vnlFCwUiMN/CJMyNi02wFNcXYJdPqiB0Bnx6zPQKnwZsWG6JO3zVfEx+tqAI1uhlnkUTYOEI6jR7VL5khskLoV9fWnkjTreBko1PBi3QNBBIyUMqSnmtfVu7Golf2TLckg+tUDFBWoIVochgsIzbKfKNaGmznu0/wlNnw7lmYAwF/nEij0X8CFoE0/7Ajw4jNONXkQjdL9HYyOv76Zau58Pk0boUzNnSpRN2UVoPPYt0UNeHX+hJYEDXc15TzaVCQncxU5KQVCtyMMTVaAMA5ZdFtkEgS8NEwBPsjVx1KNSiMwQ==;5:NJnG0jDZ/W0bc1SDNMZyFFn2bRQXBR0axoWZ3se2JgpxhwVcSz7KuitHZI5aqYPUAJn1KywlHRtRj/Xr2FCJfkRCdo3dJXMbmFdYYrP1ArBnnzV5UJjeYlpMkajVayo4JD2NjAR6yC9T1LFtOhH2ESUiz9p1EhBOINWaraP318E=;7:pmhesOnkgaQ6ZMeWdnPF+ttLv9Ce8do9nxpZxAhrFHNR/OP7H3wreWgVq497ULWlTP8m6relKl9WfkImnfs16sPol/qbi243Dp+dd7fwlBd4u8bexnmzViYxKdUsOCWkDn0SXS7IUn0CMd0hTid0dy+JSo8ug0NxRhvluffoLO651mx/CtweN+sfm6La6qPTNIK77VibLoC/avgoVwtGVgbMbunKTfM+1zhIbUQ+DO1Cgs5tkeC1KttAF3UxdJg3 x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-correlation-id: 63e16b80-d615-4cca-cbd9-08d61ee48274 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(7020095)(4652040)(8989299)(4534165)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020);SRVR:VI1PR0402MB3952; x-ms-traffictypediagnostic: VI1PR0402MB3952: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(9452136761055)(189930954265078)(185117386973197)(45079756050767); x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(10201501046)(93006095)(93001095)(3002001)(3231355)(944501410)(52105095)(6055026)(149027)(150027)(6041310)(20161123564045)(20161123562045)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(201708071742011)(7699051);SRVR:VI1PR0402MB3952;BCL:0;PCL:0;RULEID:;SRVR:VI1PR0402MB3952; x-forefront-prvs: 0801F2E62B x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(376002)(136003)(346002)(396003)(366004)(39860400002)(199004)(189003)(13464003)(3846002)(81166006)(2906002)(9686003)(575784001)(2900100001)(86362001)(26005)(7696005)(186003)(74316002)(6306002)(5660300001)(6246003)(966005)(478600001)(8936002)(7736002)(45080400002)(55016002)(5024004)(14454004)(102836004)(53936002)(99286004)(14444005)(305945005)(53546011)(76176011)(256004)(8676002)(25786009)(229853002)(446003)(316002)(106356001)(110136005)(5250100002)(486006)(11346002)(4326008)(66066001)(6506007)(33656002)(6116002)(105586002)(97736004)(93886005)(81156014)(54906003)(6436002)(476003)(68736007)(71190400001)(71200400001);DIR:OUT;SFP:1101;SCL:1;SRVR:VI1PR0402MB3952;H:VI1PR0402MB3600.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-microsoft-antispam-message-info: hLohH2845UqdA1YXEbqHwd1gzWf1iFZKW8lECbiNJfuNCUAZF7IJpSCG8tEUdyCMT8uS7fCV2DojXtKWrKlzaEcc8bSJyRW1/7GwrdzHSWL96uHhXs03WHU0V6eMV10/Sgsv9f59CoGjRf+NnqJFMDLVZuFmsbWXo5uJg8f8SevotcG+ICCc42n8bV+PFavAwmamK5hgXTulm7qhvoT0BzHUwZx3nVmkWusyGWWAa92N3wdKg5DGrZ9eaUSO0bxGo95Mv3UkVxT5ojc7fISHzz8OXY+6Sv/BEKtzq7SF8PiRHOix9Kx9NY7DJ7OzxddvFnym9wOaJe4HgAHVBLlLsl7ag/SFKCAOVIp71LaHaZE= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM 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: 63e16b80-d615-4cca-cbd9-08d61ee48274 X-MS-Exchange-CrossTenant-originalarrivaltime: 20 Sep 2018 10:33:30.8432 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0402MB3952 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org RnJvbTogTHVjYXMgU3RhY2ggPGwuc3RhY2hAcGVuZ3V0cm9uaXguZGU+IFNlbnQ6IDIwMTjlubQ5 5pyIMjDml6UgMTc6NDANCj4gQW0gRG9ubmVyc3RhZywgZGVuIDIwLjA5LjIwMTgsIDA4OjM5ICsw MDAwIHNjaHJpZWIgUm9iaW4gR29uZzoNCj4gPiA+IC0tLS0tT3JpZ2luYWwgTWVzc2FnZS0tLS0t DQo+ID4gPiBGcm9tOiBVd2UgS2xlaW5lLUvDtm5pZyA8dS5rbGVpbmUta29lbmlnQHBlbmd1dHJv bml4LmRlPg0KPiA+ID4gU2VudDogMjAxOOW5tDnmnIgyMOaXpSAxNTo1NQ0KPiA+ID4gVG86IFJv YmluIEdvbmcgPHlpYmluLmdv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