Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp702442pxj; Fri, 11 Jun 2021 09:19:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzGwUgcoTxqUu7dFHLBxl/uxCMHev1GYaBhvUnk9A65z/H6F82kQfCxQAnQP+4J7+3rqXG9 X-Received: by 2002:a17:907:948f:: with SMTP id dm15mr4352946ejc.476.1623428373938; Fri, 11 Jun 2021 09:19:33 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1623428373; cv=pass; d=google.com; s=arc-20160816; b=Nd7wm9gstz5qn4Oys50xn1dBgaepWsofKwr+AP8/yc/c2B156XGO7kXe36CBijJIV4 bMTCpLI9Y5JYXcS4f2MToV35HEJkwmK/sqd6KvNnfuSqDMTrP85PIzVbg5SbZg667wcP taPbTLykTyxDFJxBEMPD1ieIzTQ7WkVkXilQokV4bTsqqfuUk4VMOQePlUDoL85IK7Zi N0/qLLpaHgTKanoiaLJL0SMtgEd7O1jbze3Vy0Tw7bWxEmY2ojWLvbMltGspHfgc9bdG l7Z2eOXIF+98OKKxUtIT1Ulh3Ff5hCXVnL5J98JI2DD9VcN6Q9EjD9yjtRpE+0fW+bRN gK6Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence: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=1xEywpTe2Algadqxh4gTsN0jkw8FF1o94yaxSP/iEJk=; b=0ZNNoos9F5ShP8yoV6yztFJEumCkiYVkkGcO4wg89z7cASbXSAQFJGUFpHAApXEBIj 0TiSa2H6OKaeQue33A30vrjTM4m5jSmoB64jG+GIvFD9MmqR3xMI+sdLs7Mj0KYZCqoS B5NJXIeHwDwz8DhxCN3lIoH+G+SsUbbLbDXH1nqiv/5HWBvIs93+GIaA6TeXrDlXn9qr 3kQyTTDr3Ljd3eiqNoSV63DlConhBYdvtfiKFO5SNUvyMpwwW7YOs5JHR7cZ6QS4xgtq ExWRdjrSj0VOIGZ5QGJ+UT6LEPcNSJE3AovPt4e3Z9CM+hxAw0blgKUzQI03wppQD5XK hfog== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@xilinx.onmicrosoft.com header.s=selector2-xilinx-onmicrosoft-com header.b=deVKXIA6; arc=pass (i=1 spf=pass spfdomain=xilinx.com dkim=pass dkdomain=xilinx.com dmarc=pass fromdomain=xilinx.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=xilinx.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m12si5651618ejl.211.2021.06.11.09.19.09; Fri, 11 Jun 2021 09:19:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@xilinx.onmicrosoft.com header.s=selector2-xilinx-onmicrosoft-com header.b=deVKXIA6; arc=pass (i=1 spf=pass spfdomain=xilinx.com dkim=pass dkdomain=xilinx.com dmarc=pass fromdomain=xilinx.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=xilinx.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230488AbhFKQSy (ORCPT + 99 others); Fri, 11 Jun 2021 12:18:54 -0400 Received: from mail-dm6nam10on2062.outbound.protection.outlook.com ([40.107.93.62]:6848 "EHLO NAM10-DM6-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S230470AbhFKQSw (ORCPT ); Fri, 11 Jun 2021 12:18:52 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=HxKxKsUVVfnXIy+XL3zePPbGgRURw/LJSv3BdyMEFwyGIYCnjp2/dpXqLpYRlskmizclZ5xiYmEFaGsZ/47r7hHG4MJ149iv/XoO6YW5S7Yg3CNvp1lxRN8pXqddUk24dFyDPJF8VCxhlEZRD2Q2I5zDPCLRHj/vRCEwh3oPJ0qvR1Fel+NOogX/HPdWGHc4DgxJUTh/6fd5lzaSKq9f4b38p4m3ZughLtaYJm4qgp+cpsoTZKTlu6G3dVrceyyyqBHVsO7Akz1+bF1TeCxRokLEeNRDCa/6pRcrE8A6+v4Bcp5iCpm/7j5B8Tj9LOKOEp7T6QCEgXBaT33HqpHo6A== 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=1xEywpTe2Algadqxh4gTsN0jkw8FF1o94yaxSP/iEJk=; b=NxeIaOesmpgonkN1+Ys2sK1oC2rm2ieKDosF8UNLHQKha1Vg0UZIDGoUJ+L7MlbnT2AenLZVwpSuvpzQjJP13H6s0ByVS8hQbrnPnMsGu0t9u7ZjDWYPzC0HDPO1D+GtG0WAgQhPQ41io5FxXZuj9NZ6qpfT20G+s6GKqrKni4qbzQbwqmKAKs4U7wRXkpR6TQLZXiUB9Jok6jmnekHZFD07gO7Gh6GDszmbD9B5e23Nl1E8mEUMhwUnx9KPZAwrJ5X9bCyK7PfdctR91TbS1OB8e478cgyzLxmbYBuFENjKlYUJKbeOecZTHsqQ1UThN4NrqyUC/oE6p0gmf3/kfg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=xilinx.com; dmarc=pass action=none header.from=xilinx.com; dkim=pass header.d=xilinx.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=xilinx.onmicrosoft.com; s=selector2-xilinx-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=1xEywpTe2Algadqxh4gTsN0jkw8FF1o94yaxSP/iEJk=; b=deVKXIA6FQWawIULEuk9XdSPOYkiyKOwVgFXv9A70APII1KSNDyIrDyslrTytQ+wb0KF4FsDK04OieJvCBNE917iYGck5zm/L5uZXXzj59nnVOMdwL7mt950PlYfVtk5q5i1cRhmX74Oiqj1iuQvDRsF5cKmG7nJu88YNbT1N38= Received: from BY5PR02MB6520.namprd02.prod.outlook.com (2603:10b6:a03:1d3::8) by BYAPR02MB4167.namprd02.prod.outlook.com (2603:10b6:a02:fb::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4219.22; Fri, 11 Jun 2021 16:16:51 +0000 Received: from BY5PR02MB6520.namprd02.prod.outlook.com ([fe80::d880:7694:92d6:7798]) by BY5PR02MB6520.namprd02.prod.outlook.com ([fe80::d880:7694:92d6:7798%5]) with mapi id 15.20.4219.024; Fri, 11 Jun 2021 16:16:51 +0000 From: Radhey Shyam Pandey To: Lars-Peter Clausen , "vkoul@kernel.org" , "robh+dt@kernel.org" , Michal Simek CC: "dmaengine@vger.kernel.org" , "devicetree@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" , git Subject: RE: [RFC v2 PATCH 5/7] dmaengine: xilinx_dma: Freeup active list based on descriptor completion bit Thread-Topic: [RFC v2 PATCH 5/7] dmaengine: xilinx_dma: Freeup active list based on descriptor completion bit Thread-Index: AQHXLWnQwGXrB49GLkeWOkZPWQaKgqq1MZWAgFotG8A= Date: Fri, 11 Jun 2021 16:16:51 +0000 Message-ID: References: <1617990965-35337-1-git-send-email-radhey.shyam.pandey@xilinx.com> <1617990965-35337-6-git-send-email-radhey.shyam.pandey@xilinx.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-MS-TNEF-Correlator: authentication-results: metafoo.de; dkim=none (message not signed) header.d=none;metafoo.de; dmarc=none action=none header.from=xilinx.com; x-originating-ip: [149.199.50.130] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: b3c14e05-6525-4629-d01a-08d92cf45237 x-ms-traffictypediagnostic: BYAPR02MB4167: x-ld-processed: 657af505-d5df-48d0-8300-c31994686c5c,ExtAddr x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:9508; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: AJkWHicv67MfqkS6BQIneNj86CReXeNi+h6Gzkoax4SQHmlLhLt1cELSvFaq7a1jV4LrBffsNolojwBbvyNlr78dwBo8GQoMwT06zDC1kpIBBquKdJVI1dSTfzEueG5DORHxjwYOgp5VS/m6vkC7JOLU/dHhjVojzMT6bnVlTclk6kp038AVxV0p483+XWprkk99i66bLZnfQ1HugsHxpCl6QHnEBc7xiroh1QklEGJiKIRw0/3ikdYyN/BOFXvZ5CTe46SOTziEeCXBsP9USbOxOszu6NCvSxQLEeS/PnncKDSCzMuUiNl5fhqreB2dIFok3l5hYUctuCTAGugDxIMW0q62Ww4+ZPjWXdili2TpLUr429G7p0RF4g3tzVnMzmwUbnK8UrZEGUnHt7gSEp1mWSZphTBVxUQv9AVsIiQxMxJq1BFOfCUaDU4LaGYXih5z2PUJ7jrOEVwoonX33GhE4mY0PGfS5LBlIw3R1+ELLq16/hMYa1ltfVAF4YsK5Ez8LbSCBDPzZ8Zj429+q9X27xvNTsMRVRpGHPxoRYN0m9t0k8lSdx1t8ELq6siBQF5kVO0Z/oQNzLd54qamy2DGLKSXn+0Qal8zrhgh5XQ= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BY5PR02MB6520.namprd02.prod.outlook.com;PTR:;CAT:NONE;SFS:(4636009)(39860400002)(136003)(346002)(396003)(366004)(376002)(38100700002)(55016002)(83380400001)(33656002)(52536014)(26005)(71200400001)(122000001)(2906002)(107886003)(110136005)(4326008)(8936002)(86362001)(54906003)(478600001)(8676002)(53546011)(6636002)(66446008)(316002)(66946007)(76116006)(66556008)(186003)(64756008)(66476007)(6506007)(5660300002)(7696005)(9686003);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?Nm84bVBnTWtWcVliNjRQSmF4TGd0YzliNjR6eng2MG5oR2MwNlU0QkJjdjEv?= =?utf-8?B?MC9OYVorWVBZK3JKZ3lqOC9OWGJ3MkY5OFpGTkoyeWtiaFpVaEdDajRYR25C?= =?utf-8?B?dURUNE1UcjJiVi9sOHU3aEVtSGxHVmR4TGhJWm9qeVBPRm9PL1lIUDNnL3M5?= =?utf-8?B?dEZDd2dvZTNTN29QUlk4d1JEZ21DaC9LbHA0NXBOY1BtQWFqWmt4WEpJSGwx?= =?utf-8?B?ZnhjVDNOd0tJM0hvOUh5bjdMeU9XZDZLR043UWU4R3dHSWdTTmNkM0M0Vnov?= =?utf-8?B?V3Vudm5DcndnOXkvZ0RnK3FwMHpoK1pRQVAzZitBNHRVR3BONzkwNmJobmp0?= =?utf-8?B?WmZDNHBsMkVra21sdms0Q2tMd0dmdXFNd2V5YmFOUmlSTWNCRGE1Mk85Yzd5?= =?utf-8?B?cEZteXcwM093a3FnK0JhclpGRW9zV0RIR0t5dzdXOVcyWnFmbjBRTWJNNHlU?= =?utf-8?B?U0JtQXVvd2V6NDF1V3RQUGtOTWJXMU16dGIxbWFjck80RkJGanFndjlFTUxQ?= =?utf-8?B?VXNXMER5ckEwRDFmVE1YOC94SWc4U3k0ZG8zWmF5S3RVK0YzK0VlRmx6ZFdx?= =?utf-8?B?Qm1ZaWtWRmljUjJTaWdEdDlHVHFPalRydjltNC9NYnRINVZFZFNjc2RpWEh4?= =?utf-8?B?Y3Mrb2xWajRNMTJOSV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=?utf-8?B?bk53ckd4NEJrNy9tR1dzSVN0VlVkTExvWjB2dGdtT21yNnl4TGl0eFkzWFNy?= =?utf-8?B?dlVFSlBvVXdqQ2FjdDBDc2RjbzlaT1pOb2srVW4yRDVhaE5OWG5pRmlUSUlh?= =?utf-8?B?UGJpQU5uUFh2V0lMeXFlZnhLQ0xkQVRYZkc1TmRsU09ra090M1J0S0V6KzRM?= =?utf-8?Q?m5faOG0t4ZidAovjigs/SCctbTNmloAVEhD2JHm?= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: xilinx.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BY5PR02MB6520.namprd02.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: b3c14e05-6525-4629-d01a-08d92cf45237 X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Jun 2021 16:16:51.1313 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 657af505-d5df-48d0-8300-c31994686c5c X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: n4lefJfLCIaKOQbpxlJT65wLazWDNhEwmsojhJDJ9naEL4GDZUhh8Q5M5Tvwkrflz8t/w57ztQmHZqUwS2grNQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR02MB4167 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org PiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBMYXJzLVBldGVyIENsYXVzZW4g PGxhcnNAbWV0YWZvby5kZT4NCj4gU2VudDogVGh1cnNkYXksIEFwcmlsIDE1LCAyMDIxIDEyOjM5 IFBNDQo+IFRvOiBSYWRoZXkgU2h5YW0gUGFuZGV5IDxyYWRoZXlzQHhpbGlueC5jb20+OyB2a291 bEBrZXJuZWwub3JnOw0KPiByb2JoK2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