Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp2254584yba; Sat, 27 Apr 2019 19:01:45 -0700 (PDT) X-Google-Smtp-Source: APXvYqxoiIQcDt2j1CVcmzH+f5EJXVBU48pR1CW4iUGc3ubxjH6GZcBYAzXW28a+ZGhblr/3jNMK X-Received: by 2002:a17:902:9a48:: with SMTP id x8mr7348630plv.133.1556416905083; Sat, 27 Apr 2019 19:01:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556416905; cv=none; d=google.com; s=arc-20160816; b=mmnqRyGr79cG1n8/xVclBUdIQ0qx7YSk3chANPgdXt6hD47b4Iw5HYwV7IfFHk+W80 sbF7pUFuQQyTj1Cv/CmUwH8s3ttkYrU2EiXt/s4dNLV3Nh0+MNfFsD0N4DJ74dQRRr2+ mGT37xqrfFPObYBHnZbsfYA2QkIfxW3ytOWAy7B6+PXGWlfxMT21oymy9V6a2VKmIUY6 bVeKQpeTwzxal+BqCnElwn5bU8KFZV2BqoTl/oZuWJQNRZpRfPO7zZM7F4l4R11qmrpY UZuu26MwK+GHrQtg+7qrNEbbNpfnAS1nDbNvLyJk3P5+MkpphEn6mHfTzOWWHJaUbssl q5EA== 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=kcYqRVh4PJZfhWCaow0smn/6ML2kk+mf9kg1Q+s3bwc=; b=cs1rfOvuJ4BbC1802gbgvmF9B2dvx5omF4Cuw5UXoT9xmofU7rzHSESceipMOuRimQ 3etr8sTxoqXf3wyIJFXBu1PdL5mYXLe0PyT4sSULWNaZ0Aa0uX1iIXd9VNqEijMHt63N CzEUP316XqzVVU+qRbRZXlz8PBQAsXvu8GlezG8hiC8ysNvRG58NDQ/XM3HcDS3tJdOM 4iq1uaMRR5IUUDULyp9uT+RG+s37/+ykplrRPLuZ3SA3FQ2GXSdrd4AezBjnG1FrlWqd GKREhN/kDGOziMtPz37eT0q0FqNA9aX5yUzgMKFqx/GyJBhRqLi/UNw+vOhQCQqsTNLi wl6Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector1 header.b=DHlbPnnb; 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 z2si30627201pfz.143.2019.04.27.19.01.28; Sat, 27 Apr 2019 19:01:45 -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=DHlbPnnb; 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 S1726401AbfD1CAY (ORCPT + 99 others); Sat, 27 Apr 2019 22:00:24 -0400 Received: from mail-eopbgr20069.outbound.protection.outlook.com ([40.107.2.69]:29390 "EHLO EUR02-VE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726079AbfD1CAX (ORCPT ); Sat, 27 Apr 2019 22:00:23 -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=kcYqRVh4PJZfhWCaow0smn/6ML2kk+mf9kg1Q+s3bwc=; b=DHlbPnnb9nXvOSbpc+btqW9xjpDutVbvTjgVlDUKjFmzpWc4ks4zipgPrafQlXztP/SsWkRh6bW6rKqTLzzAqRS+D3PiTfJnE8AuH/rKDg1ddH7xzEttquA8MMtceSTF0UuzBQA7KnV12u9TJ04c4RpPmciRwxr9nDP4d2JAVpY= Received: from VI1PR04MB4431.eurprd04.prod.outlook.com (20.177.55.159) by VI1PR04MB5934.eurprd04.prod.outlook.com (20.178.205.84) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1835.15; Sun, 28 Apr 2019 02:00:13 +0000 Received: from VI1PR04MB4431.eurprd04.prod.outlook.com ([fe80::940a:dc67:926:e5df]) by VI1PR04MB4431.eurprd04.prod.outlook.com ([fe80::940a:dc67:926:e5df%6]) with mapi id 15.20.1835.016; Sun, 28 Apr 2019 02:00:13 +0000 From: Peng Ma To: Vinod Koul CC: "dan.j.williams@intel.com" , Leo Li , "dmaengine@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: RE: [EXT] Re: [PATCH] dmaengine: fsl-qdma: fixed the source/destination descriptior format Thread-Topic: [EXT] Re: [PATCH] dmaengine: fsl-qdma: fixed the source/destination descriptior format Thread-Index: AQHU9o1fbPmX+1SRm0awFND3hnhkWKZOX3eAgAJ8d8A= Date: Sun, 28 Apr 2019 02:00:13 +0000 Message-ID: References: <20190419084629.41742-1-peng.ma@nxp.com> <20190426115047.GW28103@vkoul-mobl> In-Reply-To: <20190426115047.GW28103@vkoul-mobl> 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=peng.ma@nxp.com; x-originating-ip: [92.121.36.197] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: a104ad2b-cbab-4de5-a151-08d6cb7d40d1 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600141)(711020)(4605104)(4618075)(2017052603328)(7193020);SRVR:VI1PR04MB5934; x-ms-traffictypediagnostic: VI1PR04MB5934: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8882; x-forefront-prvs: 0021920B5A x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(366004)(136003)(346002)(396003)(39860400002)(376002)(199004)(189003)(13464003)(256004)(186003)(26005)(486006)(476003)(11346002)(6506007)(7736002)(305945005)(446003)(74316002)(76176011)(3846002)(6116002)(102836004)(2906002)(229853002)(6916009)(6436002)(44832011)(8676002)(8936002)(478600001)(81156014)(33656002)(81166006)(14454004)(68736007)(25786009)(66066001)(97736004)(76116006)(4326008)(54906003)(64756008)(53936002)(6246003)(9686003)(7696005)(55016002)(99286004)(316002)(52536014)(66476007)(66556008)(71190400001)(66446008)(71200400001)(73956011)(66946007)(5660300002)(86362001);DIR:OUT;SFP:1101;SCL:1;SRVR:VI1PR04MB5934;H:VI1PR04MB4431.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: vTHRItC38S9Gq3Ytinjju98uv0+BAYhGqlYlMcE/XTdwkCSQb3rfY8B1QxiRl3thXGYk/xmoJXkQP3D9Y4E/6BTVJ25IACsHj2bAWnVpoxLWrksVCrJ6m3rLon+5Cn+PwkW3QyY6srMDSOKB/Y9Tp5l6toeGaEzMiVi6wnfkYpqSV20p/sgF+CJqcyFsVHNuAZwWsnboxCKjKaRTAhv7sl19f+hPFbBb0x77owrhehg71nIGkB7m2eUWwZ8UhvRhBgd9gEvQOKF0pi0wrNp9Vek4re735NlF4AOB11aQIyFp4uxUx/gS7m1GbguOsGtWisbwW2HhkUVVFMibubY5W07nnOjY5v/18PQ5EJ8faJfEcZB3fUVApCXsb+jqCWgsRse/2ujFyDVq06IbG99b2TFzI3SR4qpOwKMsxLjUetY= Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: a104ad2b-cbab-4de5-a151-08d6cb7d40d1 X-MS-Exchange-CrossTenant-originalarrivaltime: 28 Apr 2019 02:00:13.6643 (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: VI1PR04MB5934 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGkgVmlub2QsDQoNClRoYW5rcyB5b3VyIGNvbW1lbnRzLg0KUGxlYXNlIHNlZSBteSBjb21tZW50 cyBpbmxpbmUuDQoNCkJlc3QgUmVnYXJkcywNClBlbmcNCg0KPi0tLS0tT3JpZ2luYWwgTWVzc2Fn ZS0tLS0tDQo+RnJvbTogVmlub2QgS291bCA8dmtvdWxAa2VybmVsLm9yZz4NCj5TZW50OiAyMDE5 xOo01MIyNsjVIDE5OjUxDQo+VG86IFBlbmcgTWEgPHBlbmcubWFAbnhwLmNvbT4NCj5DYzogZGFu Lmoud2lsbGlhbXNAaW50ZWwuY29tOyBMZW8gTGkgPGxlb3lhbmcubGlAbnhwLmNvbT47DQo+ZG1h ZW5naW5lQHZnZXIua2VybmVsLm9yZzsgbGludXgta2VybmVsQHZnZXIua2VybmVsLm9yZw0KPlN1 YmplY3Q6IFtFWFRdIFJlOiBbUEFUQ0hdIGRtYWVuZ2luZTogZnNsLXFkbWE6IGZpeGVkIHRoZSBz b3VyY2UvZGVzdGluYXRpb24NCj5kZXNjcmlwdGlvciBmb3JtYXQNCj4NCj5DYXV0aW9uOiBFWFQg RW1haWwNCj4NCj5PbiAxOS0wNC0xOSwgMDg6NDYsIFB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