Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp336568img; Thu, 28 Mar 2019 00:22:48 -0700 (PDT) X-Google-Smtp-Source: APXvYqyZuEm7S4aU2TEpotCJDgXWhci8jYHOh1iyQBDvz7SzluiFJQCCdUyZz3tI/miHSL60WG49 X-Received: by 2002:a63:2208:: with SMTP id i8mr22877937pgi.223.1553757767967; Thu, 28 Mar 2019 00:22:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553757767; cv=none; d=google.com; s=arc-20160816; b=TsQ/nJA5j5hhRV8hDnspYEJ5/xp01wtNNLBZErzY01gLWJe4ofKoo/4gtXzmES7n0e BFJHHDXFkIqM39lIaHMrMVikz7HQguFU0l5j3dEuno2DhvIXeXXQrqDy55IQJGZu2PmQ EMok8pU66aqWCtucjiht3Ub85CALxRfl0RhiUzkyRR0N5lKE452wk16eBePAyTg6Aou7 95PNMBpTk7IXHIrcPst86A6o+u4iwdwTCYO9Yq7Jnq39vBOr+ABUTkrsdiLI3fy1h9fh aboCp0Hvo7Rb+kuodW7ZyC1fAXlKoCNE8nzITh+26F5dcewrIgCublmZSmLW3Ts2rvEf L94A== 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=l0MlZX3xDqyDbUYm4ylLpVHVh+0ZhHQpkQh1xCqju+c=; b=a02OadHU+JjypNMzCqatteTEnCQsNpjGM/vslhjZqbGfiFWp6yAGbkYQFTGGnmH8Kc DH2V8VcDXwp75XDm7IM09hY5keIwUKQ2vN0cwVq/haSM9JLne/Xz3KKBe9x+Jq2aQCtN 6xKs9LZaNCW5fX59xMg9qUXkr8sx+EkAotYA7xvf1NWeyjUbRaodAjdeNmuC+Dy9MrWD ALjBIbY8xCKaTCH0IzxiY3lBdZDBdQtagWKXqbt5VS4TBue7YDrnmCNxEZK12yxS0y6I bKyIZjCulwJJvV4UsiXbWcqq4qNhsElOZdXlKHe4XoGwegVTJzapFgQGJTjBj1kj9DHa 3LbQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector1 header.b=BMGgQjQj; 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 q17si19899454pgv.39.2019.03.28.00.22.32; Thu, 28 Mar 2019 00:22:47 -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=BMGgQjQj; 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 S1726334AbfC1HVe (ORCPT + 99 others); Thu, 28 Mar 2019 03:21:34 -0400 Received: from mail-eopbgr70057.outbound.protection.outlook.com ([40.107.7.57]:33867 "EHLO EUR04-HE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725779AbfC1HVd (ORCPT ); Thu, 28 Mar 2019 03:21:33 -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=l0MlZX3xDqyDbUYm4ylLpVHVh+0ZhHQpkQh1xCqju+c=; b=BMGgQjQjf3TmKPZmbPlG+Augehwdaga9fdH5jk7mb4IhAeVDFNWOQmY9QxMenWaFHhiJDFV6bVwnD4d70LohBDi27sOJy0Eva0pLw0dQEcKK9m1r+OTfiO1R0AIpcFxhGuO7oSEQRkwPjnY71FWeau1z3LfwcqpUeSBwP6bnlCI= Received: from VI1PR04MB4543.eurprd04.prod.outlook.com (20.177.55.90) by VI1PR04MB4911.eurprd04.prod.outlook.com (20.177.49.160) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1750.15; Thu, 28 Mar 2019 07:21:28 +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; Thu, 28 Mar 2019 07:21:28 +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/Gs0UKoyWKgyiIok6YgnCuAgAADPICAAAKMcA== Date: Thu, 28 Mar 2019 07:21:27 +0000 Message-ID: References: <08fcbd65-510f-84f8-d6d6-ff56aa9ca9ad@gmail.com> <20190328065247.uz73lap7ljf5q3tb@pengutronix.de> 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=yibin.gong@nxp.com; x-originating-ip: [119.31.174.66] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: b94eec70-fb35-4889-c120-08d6b34dfe66 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(5600127)(711020)(4605104)(4618075)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7153060)(7193020);SRVR:VI1PR04MB4911; x-ms-traffictypediagnostic: VI1PR04MB4911: x-microsoft-antispam-prvs: x-forefront-prvs: 0990C54589 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(346002)(376002)(366004)(136003)(396003)(39860400002)(189003)(199004)(31014005)(13464003)(7416002)(102836004)(53936002)(55016002)(7696005)(26005)(2906002)(97736004)(6436002)(186003)(68736007)(305945005)(33656002)(486006)(14454004)(105586002)(81156014)(3846002)(7736002)(8676002)(6116002)(81166006)(74316002)(53546011)(256004)(229853002)(99286004)(446003)(25786009)(4326008)(11346002)(66066001)(9686003)(478600001)(316002)(476003)(110136005)(54906003)(76176011)(52536014)(106356001)(8936002)(71190400001)(71200400001)(6506007)(66574012)(86362001)(5660300002)(6246003);DIR:OUT;SFP:1101;SCL:1;SRVR:VI1PR04MB4911;H:VI1PR04MB4543.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-message-info: apDXOqd/es56MwqkvQ2cDNYPw11n9CPOL3CzA1gSNdkMxRBdaUkE0b2LkxB1f2mz8NsTUWpGCvIA+6Qgo32ar6sVCaNHvhIscvD93xcPbWyMoCfXkRORs5HPQrDGjcZtJj8Drwd32ZvibmP0iQtyCUoEU7ru49BCLa0DABTqswx1mTrMwtuuFn1U+qhqbpmHGClhvWQKcflNYL1FrNMo1Bjt16aYYPFQM9vQ9bKXuNOVY8GXaWo2AH5iN+F4MwSVN7FfE24o+dBxvU9pzUSpWWqalKWM4iXTOPf13/unvGl+6+VvTA4VkbdUSFuXYy9OEJt54o8OCPn11rv3StQHC7GIwtb+FYi5US2rUwF32A25UcdEFTMew6P2YZdN8JizhWLFDWe9Ppst4++2MG2qXY8bYxigg+PYypQS5yGtkm8= 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: b94eec70-fb35-4889-c120-08d6b34dfe66 X-MS-Exchange-CrossTenant-originalarrivaltime: 28 Mar 2019 07:21:28.0904 (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: VI1PR04MB4911 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogSWdvciBQbHlhdG92IDxw bHlhdG92QGdtYWlsLmNvbT4NCj4gU2VudDogMjAxOeW5tDPmnIgyOOaXpSAxNTowNA0KPiBUbzog VXdlIEtsZWluZS1Lw7ZuaWcgPHUua2xlaW5lLWtvZW5pZ0BwZW5ndXRyb25peC5kZT4NCj4gQ2M6 IGxpbnV4LWtlcm5lbEB2Z2VyLmtlcm5lbC5vcmc7IGxpbnV4LWFybS1rZXJuZWxAbGlzdHMuaW5m cmFkZWFkLm9yZzsNCj4gbGludXgtc3BpQHZnZXIua2VybmVsLm9yZzsgZGwtbGludXgtaW14IDxs aW51eC1pbXhAbnhwLmNvbT47IEZhYmlvIEVzdGV2YW0NCj4gPGZlc3RldmFtQGdtYWlsLmNvbT47 IFBlbmd1dHJvbml4IEtlcm5lbCBUZWFtIDxrZXJuZWxAcGVuZ3V0cm9uaXguZGU+Ow0KPiBTYXNj aGEgSGF1ZXIgPHMuaGF1ZXJAcGVuZ3V0cm9uaXguZGU+OyBTaGF3biBHdW8N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