Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp1074851yba; Tue, 2 Apr 2019 01:34:32 -0700 (PDT) X-Google-Smtp-Source: APXvYqw05Ge49gmcU4PRll6Y4lAmaP9tYgCOWiuHPHMLJDdLmlM8+eIjXRnRlo/ausjjox1wfHDC X-Received: by 2002:a17:902:f094:: with SMTP id go20mr46239027plb.159.1554194072848; Tue, 02 Apr 2019 01:34:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554194072; cv=none; d=google.com; s=arc-20160816; b=CeRplZa394EJBPDWxqhnSTZSynBLmn6h2W29py4dDsSmxQm1OLFcu2OLncz4OVedqu wbR70lImcluxPT+2oGy3/Gsrap9wELwAVbWLprum3Y228kkvwDkJ+4bXCrv8fA3gDx2h thSwdVGljoHc4PxgPbZCMfDY5HO4xvrkgw9CQHv7LoRXTU4S/ZVkacXKu4uXHsEAcnZQ gQnbes9VC1oY6MevlMGTSKNz3lpURO1QWtcdDCr5VPBIggsnMnmUiQe8KU/OSlN+c4Gp /cCeONQjdAoylB0iGIhjQ+M2VW0qjwqNuRhoAYMtHUKxAftjazgEB439lwLxNPTvSVJH Rh9w== 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=gbB9r2hDpM58Ht2zDBjAuu5lNyHBzwCL1492q20n1Yg=; b=HfAycwhM+CklDqD2eC8lNzrejNXtc/PfCebQTl+PNoxsEHvqn6RUJrHZ4D5Zvei+Eo fSUBSTrC3Vn1oH3DJPUwhrVCMSMKkSfml9iN4h1q4QvLQCdhCSc1Y1SegSe4QExT7fLE sxExoesC+YVuz4MpyS7cmBv3jm9SZNuWEiuTdVaizf9sXMBpY4xr+Th8BYaKEcMICwDx G+oDv2nXYXZ/v2+fJRIFw7MTETQk/RPwqihLJGqLcUhgJqFTCMaAAoK36LMLLxBnO+d5 1a193+sVyv1OqbGOVXu9WK2ussgv0SBJ0aVEayUFiHxmBg7T9GHoD6NCgmj7/Uf/ffRE 2Wlw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector1 header.b=SKmgsPYm; 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 j35si11076789plb.61.2019.04.02.01.34.17; Tue, 02 Apr 2019 01:34:32 -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=SKmgsPYm; 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 S1729493AbfDBId2 (ORCPT + 99 others); Tue, 2 Apr 2019 04:33:28 -0400 Received: from mail-eopbgr20077.outbound.protection.outlook.com ([40.107.2.77]:27928 "EHLO EUR02-VE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725884AbfDBId2 (ORCPT ); Tue, 2 Apr 2019 04:33:28 -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=gbB9r2hDpM58Ht2zDBjAuu5lNyHBzwCL1492q20n1Yg=; b=SKmgsPYmh30ICKjClJZafIrMO64T6qIS4ZSLPtq1aAIejGf3n7rtNTltuSjO34l9cFJmpXVXRYeWU6ldrWyTl/bZjxJzlkpEie684xzFojrSTxQF0yODyaidEQZvtqpun49taSpd/ElTL/m8Ytn1nsBdba1X9M2oED95FD9yhAI= Received: from VI1PR04MB4543.eurprd04.prod.outlook.com (20.177.55.90) by VI1PR04MB4142.eurprd04.prod.outlook.com (52.133.14.159) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1750.17; Tue, 2 Apr 2019 08:32:44 +0000 Received: from VI1PR04MB4543.eurprd04.prod.outlook.com ([fe80::114f:6d7f:7a68:9b23]) by VI1PR04MB4543.eurprd04.prod.outlook.com ([fe80::114f:6d7f:7a68:9b23%2]) with mapi id 15.20.1750.014; Tue, 2 Apr 2019 08:32:44 +0000 From: Robin Gong To: Igor Plyatov , =?utf-8?B?VXdlIEtsZWluZS1Lw7ZuaWc=?= CC: "linux-kernel@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "linux-spi@vger.kernel.org" , dl-linux-imx , Fabio Estevam , Pengutronix Kernel Team , Sascha Hauer , Shawn Guo , Mark Brown , "dmaengine@vger.kernel.org" , Vinod Koul , Dan Williams , Andy Duan , Han Xu , Clark Wang Subject: RE: Issues with i.MX SPI DMA transfers Thread-Topic: Issues with i.MX SPI DMA transfers Thread-Index: AQHU5MQedyysM/Gs0UKoyWKgyiIok6YgnCuAgAADPICAACYCkIAAHYGAgAEpjtCABnMWgIAAEhKQ Date: Tue, 2 Apr 2019 08:32:44 +0000 Message-ID: References: <08fcbd65-510f-84f8-d6d6-ff56aa9ca9ad@gmail.com> <20190328065247.uz73lap7ljf5q3tb@pengutronix.de> <95df9334-3d0c-7d13-e431-5a4aa2b9907e@gmail.com> In-Reply-To: <95df9334-3d0c-7d13-e431-5a4aa2b9907e@gmail.com> 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=yibin.gong@nxp.com; x-originating-ip: [119.31.174.66] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: f13bd1a1-dfd9-4f35-be9d-08d6b745c764 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:VI1PR04MB4142; x-ms-traffictypediagnostic: VI1PR04MB4142: x-microsoft-antispam-prvs: x-forefront-prvs: 0995196AA2 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(376002)(396003)(366004)(346002)(136003)(39860400002)(13464003)(199004)(189003)(45904002)(446003)(54906003)(9686003)(52536014)(5660300002)(305945005)(11346002)(66066001)(68736007)(93886005)(110136005)(14454004)(86362001)(486006)(25786009)(476003)(26005)(106356001)(316002)(478600001)(6436002)(2906002)(105586002)(76176011)(7696005)(256004)(33656002)(3846002)(99286004)(53546011)(6506007)(229853002)(186003)(6116002)(81156014)(7416002)(102836004)(97736004)(74316002)(4326008)(55016002)(53936002)(7736002)(8676002)(6246003)(81166006)(71190400001)(71200400001)(8936002);DIR:OUT;SFP:1101;SCL:1;SRVR:VI1PR04MB4142;H:VI1PR04MB4543.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: 0e0vMrZkWfZSrjxphEX3ClVY530b5YViRRWS+6CY8kJgOYkcxdTuh1Uja2+IpqzMDlTDpncRdoH6GaTAcUKlQubf6I2SiczOrySdUtIq9bnoUTk3Zf0dur/n2DocHPdB/Z4g68a+GSwon7O9BvzPNySAYLTmDppg2Ij4UAc6LTMDqtq0DrrPLLUfdZnY82aPFZOVpBmqXowdTse2i+/FnQWd5RwY4nelMF35jI3ZbLhTZwXsz5GFI5xoxXfd6HAWmGBnpGbkTTB6rJaEm1PCTCVGRk1Ik1nr99oTWt2JwvaK7VilHqKpbryBGf1H2cIb4uL3vZKIW/SSJoB95gFPbk4Bu3h3hPe/HWa+mynC0bKe+oecXWeRs+uAQqk0JK3mSDrnkW4cgZFdFe0SNoJFqX1IS3GYr6imNuTjYg6ur/s= 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: f13bd1a1-dfd9-4f35-be9d-08d6b745c764 X-MS-Exchange-CrossTenant-originalarrivaltime: 02 Apr 2019 08:32:44.4267 (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: VI1PR04MB4142 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org PiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBJZ29yIFBseWF0b3YgPHBseWF0 b3ZAZ21haWwuY29tPg0KPiBTZW50OiAyMDE55bm0NOaciDLml6UgMTU6MjANCj4gVG86IFJvYmlu IEdvbmcgPHlpYmluLmdvbmdAbnhwLmNvbT47IFV3ZSBLbGVpbmUtS8O2bmlnDQo+IDx1LmtsZWlu ZS1rb2VuaWdAcGVuZ3V0cm9uaXguZGU+DQo+IENjOiBsaW51eC1rZXJuZWxAdmdlci5rZXJuZWwu b3JnOyBsaW51eC1hcm0ta2VybmVsQGxpc3RzLmluZnJhZGVhZC5vcmc7DQo+IGxpbnV4LXNwaUB2 Z2VyLmtlcm5lbC5vcmc7IGRsLWxpbnV4LWlteCA8bGludXgtaW14QG54cC5jb20+OyBGYWJpbyBF c3RldmFtDQo+IDxmZXN0ZXZhbUBnbWFpbC5jb20+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