From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 15EEFC4332F for ; Fri, 4 Nov 2022 15:19:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Content-ID:In-Reply-To: References:Message-ID:Date:Subject:To:From:Reply-To:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=8J0zAoGk4Iiabo95SUdIeHnl71ThButFTkv9YM68x8k=; b=NIU/Ov/UJGF//Q Dg8yS+HUFS6kwGy65X5qOavqsLnScnUXoGWSVwe24klmH/azXCurtZUlLVb5sCnwgQhE84ofV0qL8 iua6QhDAg6EeY1ZqXFbD5hYXn+xd83I6jgnxslWl7aBIsX46AUIuM+KuIg++YmAvaBNY30zd3exw8 5yunRy725jyRynXNgRyYdFY34/3CAUR2dpcTSzngWc5UA+QBVzgFZ98CVuCuHnTYH5VpuNLVJZ0ll N5ZYcmcgt3L1Faq/qBvAIVmai4wPZPR0Sj85avwUJBWlE+5hVkLVe6ckyXXIoTjxg3to0F4IHS8xV sE8wvdeKVqcZb6sg5MAQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oqyST-0049vq-2D; Fri, 04 Nov 2022 15:18:13 +0000 Received: from esa.microchip.iphmx.com ([68.232.154.123]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oqySM-0049uV-Ku for linux-arm-kernel@lists.infradead.org; Fri, 04 Nov 2022 15:18:11 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1667575087; x=1699111087; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-id:content-transfer-encoding: mime-version; bh=00f4yMMei7ae3CwYz860iBDxNcxzPbgwjPSB4gg2BAk=; b=GnS0rwAT3LXoaLI899UnqXehvX9Sla0Kf1v+vM22Cwy0q60+l4ELk29+ OjH2drQtolWX2tHotQTRfgINetjE7VLZ4ReGUdqzUUUdA/NzP5JbeAXFT uLj6A9XqdADl5pWm6nLWK1yDWE8ZHGuY4LEMlqj75+rv1q9HFTw3dyNLW uo8seKWwiPjQLM8NvMnKDTFsvXlzj4GjF3Td19HEMi0bOg33nTrFS1KPL Tzq7nwK2kWTKj0vbalAhmx/bvPXoOQa8aedOs6iJm+syq74034oP+VoU1 beZ7GX8Ys+/HTl2kbBOCq8QiSpB+ALqCUw6qbGLX1CpXN4kw+FJFq/WXf Q==; X-IronPort-AV: E=Sophos;i="5.96,137,1665471600"; d="scan'208";a="181990803" Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa4.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 04 Nov 2022 08:14:59 -0700 Received: from chn-vm-ex02.mchp-main.com (10.10.87.72) by chn-vm-ex02.mchp-main.com (10.10.87.72) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.12; Fri, 4 Nov 2022 08:14:58 -0700 Received: from NAM12-BN8-obe.outbound.protection.outlook.com (10.10.215.89) by email.microchip.com (10.10.87.72) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.12 via Frontend Transport; Fri, 4 Nov 2022 08:14:58 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=X9U5c4g+GP5OoQDzTAIEMRXHLFekHy5DZFd87MVAHWXMMbbW2u7U3GciBIYT2KGKupUrq9EIHNap1pFPkhfNvNpe5Wr/Zls/8R0yjbNrh5wbnw1Bv91JUATDz17gD8Odj0vVpugyvRxPIBnNlw99zmizG0JTJIneY0M4K+kKpqIuE+iCQT15qtRFg2NTrqUQm0DWHvI7OrGvnLpC51nEcnagAG4aVbKUEnGFtuITy8u3vf/xffbSV/lJckU9/rCPlCk+go7r/z3MErOvHBP7d8RnV0Uep/JJ9TlUjrxJLI3lYSnkeu0Hnt/LwHLrccwtULkJS6yZIeve5xVt9RZadA== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=00f4yMMei7ae3CwYz860iBDxNcxzPbgwjPSB4gg2BAk=; b=Q409+iNWhwsA1G4w2J87Jopi2faKJIr9v9GuGEltT/2rvcOyfddk/KurgjExksjBe1L28DrNklP7+6oASlbv2fbdIIbXTZcUaD53jkO6aGXhYEmMvuQXNIEOlJT6juIGhua91w+wda7Hct2WoKqXS21/JoVHNLOH4I1nLhFo2/LAQzMl4gKB64LP56K/hF6CXSEk8n0rgayT3k5Mg1lnyQQURca0Oy9/uXG6qeqCVGs/vHNbH3vFWvf2t56r7Y9J5xHoOxdmpQtuTb7dM+gVav/etVA6e4PF7Hp99S7BAcHuy++3ENEx2IeqO5OtwKHF0cLjp5AKf19QxjXuLdnWSw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=microchip.com; dmarc=pass action=none header.from=microchip.com; dkim=pass header.d=microchip.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microchiptechnology.onmicrosoft.com; s=selector2-microchiptechnology-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=00f4yMMei7ae3CwYz860iBDxNcxzPbgwjPSB4gg2BAk=; b=LWa8DA+8KVGGRGbGdBIFI6HABfjGl14rrx0w9W7uiD07RNnOELF2iYB7xjbH2v/9MQQjA9zlcsFPLXjVzMPqva1ocxOGw7BXgbvHuiiFNnoLUWvSWChB+qdiSkl187Sco7oT+y0K8oY45uaHP5vSXbgVoSC8GgSKkI1wEJGpO6w= Received: from DM4PR11MB6479.namprd11.prod.outlook.com (2603:10b6:8:8c::19) by BL3PR11MB6505.namprd11.prod.outlook.com (2603:10b6:208:38c::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5769.21; Fri, 4 Nov 2022 15:14:56 +0000 Received: from DM4PR11MB6479.namprd11.prod.outlook.com ([fe80::cf13:1785:f79d:9eb9]) by DM4PR11MB6479.namprd11.prod.outlook.com ([fe80::cf13:1785:f79d:9eb9%7]) with mapi id 15.20.5791.022; Fri, 4 Nov 2022 15:14:56 +0000 From: To: Subject: Re: [PATCH v2 00/32] dmaengine: at_hdmac: Fix concurrency bugs and then convert to virt-dma Thread-Topic: [PATCH v2 00/32] dmaengine: at_hdmac: Fix concurrency bugs and then convert to virt-dma Thread-Index: AQHY8GAxL57d78lf2Ea0R6kPIjrAlw== Date: Fri, 4 Nov 2022 15:14:56 +0000 Message-ID: References: <20221025090306.297886-1-tudor.ambarus@microchip.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.2.2 authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=microchip.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: DM4PR11MB6479:EE_|BL3PR11MB6505:EE_ x-ms-office365-filtering-correlation-id: c5a6eb6b-9c61-49f9-1dc6-08dabe7754e2 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: YPiX/wi/9mH1auu/Lwxpdtfk7vlucwzecX2CqtEzMIV9HmQp7MGYacoJe8D48DS1epR+RSIWAwsRxwp8Ac4urqmM3Nd99qq+U0XG4/5AxJlXovw05kCdzrbErARutIx9mVINJEe4JFkEiAK+p9oHq2EcyikCgwpvAoJDXvXlekOjsr5P+Fluv4DBstkq0GAUsHUb09Bltu3Dixu0LByDM704519cULyU79FbXDO5ODrcBHYuFczGL+XpbFPtL6S+yGxH+upaZFp4KUscPZcOk8fl99P0T1DLSP0UDTXGfhX7a1yOnPGRhVr+LSKuULFhjmJb6sgRxP34OIis3QESpOORoWv9sKPStPlqAZtOFvtQDKSLZmp1Yfyux4RJH2TAwGUKWfD+ad0KX0pV1jBdFlzufFeCdHJ4qwv7zn3Jk03mdplFp/FFM/6tTgN/XB/tEUqserZ92EfJ6wzRqq9yk233HMXnz86OLIqdFNFXvBa61z2x46qVTsr4NUNO9YGLjbFxLPAyO/Ob1SLjo1wr97i14/k8ZmX2seeqA9Y4PASa8V59JjCzznUTtpt0HqAcOrzw0Pe0z0frYXUFF4K/j4+d2w9YyU28T+F3Glu8/+rLLr4cY6GREBvZDu4GJM+pvaYiN+Ab+NNxBG+KPjiB2JCyXcLgyP61J3BZRVCmQ/rL/vqILSjvjoMSToqNAH5uMY3inQgr/xpFM1+duD9+2L1QUl3vbwxBF2/es+kbnK8R1jR36Wen24vY3buotB9Wf1C0hNTEglIeg+vxgnEsQ46MDK0fYIS/vLGVCb/+GIdb8JMhu7b5t+mvOdNeG2NQm/JnV+6k6IIMAAfG8Z9etoBmWQqTJbUR6isRNLSKzKEda4q5v++Zww9Z+k5yrImVDQNIVQINmbmesEhzJe3K5w== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DM4PR11MB6479.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230022)(39860400002)(366004)(396003)(136003)(376002)(346002)(451199015)(31686004)(2906002)(83380400001)(6916009)(5660300002)(6506007)(36756003)(6486002)(478600001)(41300700001)(6512007)(2616005)(186003)(54906003)(91956017)(4326008)(66476007)(966005)(71200400001)(8936002)(38070700005)(8676002)(86362001)(26005)(66556008)(38100700002)(76116006)(316002)(31696002)(66446008)(66946007)(122000001)(64756008)(53546011)(43740500002)(45980500001);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?MkZNLzNJUFZMTFFIbmJLWi9VU3dzbG1TeVN4bXFDT3RYNlZKcVc5V0RrZERR?= =?utf-8?B?YlZyaHdqMDd2ck1OdGNSKzlRcjR2VzZMbjI3dE1SM1pwZzd4ck9HN1gxdnd2?= =?utf-8?B?aWJjU0JiS2ZadGRXdlZlUkkwc2cvQ1lSbHBneTRKZGlhTlBkNVoyZi95UmRS?= =?utf-8?B?MTljcmF4czdCclg2UXh2d2phanpmRVFoSVZ4bGNhSUZWbUhyNVcyeXlFZjZO?= =?utf-8?B?YTQrSytXV3l6QlVxd045YTdKemc0bFFBa0MvVEV2K3JZMWQ4VEFJTUhTa2dz?= =?utf-8?B?emNheGpOWmhxT3JISU1mTzhXZWRKRWUyMmhFQVgvclN5Uk1JeFZHdzlBamYw?= =?utf-8?B?Tk5wZm9KKzRQLysxTDEraWVEdGdzaWNkUDVqRzdFK2hmTDhYcnJCa3dZSWNE?= =?utf-8?B?eTNyYUdZTWxnRUhaTUpzTHQxMHRYM2tBM0pMVTlsS0dTUXhWU2xWTWwxd0FW?= =?utf-8?B?enNnVVhVc2ttN2pUbk1pdTgvc1VSM1gyMVl2emNaVjFBVHZDMTRXZ29SQlcz?= =?utf-8?B?UG5pdFRCYUtvalRMeVpaV3liZ3pLR2hDSWs1ZHNRMFo4cnNtTllkZmQrS2VR?= =?utf-8?B?S21CelE1Y2M1eHg1dVJLMXRIQ0dNUzJ6NTN3L1kxcllGNTJQL3kvRWhXenps?= =?utf-8?B?SG5iUmZNRGVWZkxnNDcvSnB3N1pUUzB1RitGdmg5S2FBdEJLY29rdUFUZU9j?= =?utf-8?B?UXptMnBTTHJKaUJFc1BlTTBTVjhWQ3VjOGt4YzNjOFhVQnBha1lRY0lkMFBT?= =?utf-8?B?TWpCY2loMUJTWHQvNVFJc2VJMVpuNTUxRldUbmJLaFZwLy9GYWUxdzdGMVov?= =?utf-8?B?WldBckF1TWV5Q1JRL1VKVWlGVkpXekNYbW5sQlZyaVl2eHBqZjZKN0s5bDdV?= =?utf-8?B?S1VXSGVKeTQ5WWxZYkJvL3oxd3dTZDNSbWZiTnh0b0RTTVRRblZBcjdSK2hW?= =?utf-8?B?YmRwSVlBL2h6d2VpNGJqc2pIVVB2cmFTbkY1bjVuSVBObGRReWxyajZuS05y?= =?utf-8?B?ME85bkRUdmFLck9nSHpMQy80Yk85SzRkeHQxRVkyU2ZvM3ZZY2JLT0F6TExR?= =?utf-8?B?NHdiV3BjOEJhOXp5ZWpEUllBdGZwTDR6K1BSaENPaFBNZG84azNlYzBucnF5?= =?utf-8?B?T1dIbGpYN3lOWjdIVnJKOTFyT1Y4SlR1eXhRSlVHd0VEcjNVOG5ITkZ4d3FO?= =?utf-8?B?Ylk3V2dyeW5QYU1UYkcxT1loVGE0Z2R0WkFHSzB4YVdxbTl6bDM3Tk5aZWU5?= =?utf-8?B?Y2JDTDQ1eFRLUDliQUNacElkdElrTzZ0aDhjYWlZeHQvNFdtRWlVaG0zSEsx?= =?utf-8?B?eXBzUFdXcVVVYjR0Y0dBZkdRRmhOYUczT1ByOEVkdXZzK28zeG5GSmFGL3Fl?= =?utf-8?B?NnNuYStqUW1jcWdtRTJSZTd0emdzaGR4QWg5Y3ErSG1lQ1RjVmVBVlc5ZnlX?= =?utf-8?B?NCtWajQydmZXcmJpUXVwbUtXNHkzVmNWTTB2TnJrajFxSDg2MmFQSWVHNGJK?= =?utf-8?B?Ni9uWnFKQVVrd1dFUVVCRjMvYlVNeTgycnV1UmFoREliNEdiMjRqa2ZRTHZ6?= =?utf-8?B?VXZYaGxmRmI0Q3IwSWlyRGVkZGs4cWtXVnBPRllVYTVUbUdFR1cxWW43Z2Fz?= =?utf-8?B?RWgxaGVxb3A4b0ttMFlQUjJoZ1VUY0ZMUW1TN29mSy9FV1ljUExUanlyZ1Jm?= =?utf-8?B?R0tBOWFMVGVuN2RVK3k4aklhRTRjUEZsTDN6TXZEOVo1ZjFZenZENTYyNXpw?= =?utf-8?B?UTIwbkJCcUgrd01UeFhlK24vVWtnVWo3KzB3SWUrVG11ZmVwNmJoVjJ0cFFx?= =?utf-8?B?N1dPNmNqZEtDY0JLR2Q3SzRVU0k0UUIydGR3d21SY0hhQk9iM1lQVWw2ZHMy?= =?utf-8?B?VXhPSTRGbkpjRTlCOU5VSlAxNmc3amJFWE1veHU2OVBDc0RVaFJhbXdGNlZo?= =?utf-8?B?cDE2V29yWVdFaXZOcEZXYk53NE1iZzcyMDJyMVFmNlFxSW9yNk16NEJFelQ5?= =?utf-8?B?YTJGUDArN0N3Ujh5RjlsVGROemxxdWNxN1hBZ1NMRkhZYWxQV2xpSlE1Q2JO?= =?utf-8?B?SkovM2ZWajRMd3VPRDNabmR1UEpSbmVncVdWY2RLTWNrYm96TUtZakFrOVZi?= =?utf-8?Q?Ye62GTsUjGMVyov75636nIViA?= Content-ID: <20DBB5CDAB2E804F9DE2A2F928E3F67F@namprd11.prod.outlook.com> MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM4PR11MB6479.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: c5a6eb6b-9c61-49f9-1dc6-08dabe7754e2 X-MS-Exchange-CrossTenant-originalarrivaltime: 04 Nov 2022 15:14:56.0680 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 3f4057f3-b418-4d4e-ba84-d55b4e897d88 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: ZhqW5VZyRDFWldSE1xbiqIbOeVrzvkxQDGCougq7UapWeevzLmdwF8SC6rqB0lgoPm50y4IZj5d6yRjA0c0EhGOm3a8bGsZH4pS1EJuVx6E= X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL3PR11MB6505 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221104_081806_859719_C840E35B X-CRM114-Status: GOOD ( 19.94 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-kernel@vger.kernel.org, maciej.sosnowski@intel.com, torfl6749@gmail.com, mripard@kernel.org, du@axentia.se, dmaengine@vger.kernel.org, peda@axentia.se, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 11/4/22 15:22, Vinod Koul wrote: > EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe > > On 25-10-22, 12:02, Tudor Ambarus wrote: >> v2: >> - reorder patches so that fixes come first -> easier to backport to >> stable kernels. >> - drop the devm_request_irq() patch as we had to disable the irq anyway >> in remove() in order to avoid spurios IRQs. Using devm variant brings no >> palpable benefit. >> - reword pm_ptr commit message >> >> >> at_hdmac driver had poor list handling and concurrency bugs. >> We experienced calling of the completion call twice for the >> same descriptor. Peter Rosin encountered the same while >> reporting a different bug: >> https://lore.kernel.org/lkml/13c6c9a2-6db5-c3bf-349b-4c127ad3496a@axentia.se/ >> >> Two sets of tests were performed: >> 1/ tested just the fixes, to make sure everything is fine and the >> concurrency bugs are squashed even without the conversion to virt-dma. >> All went fine. >> 2/ tested the entire series including the conversion the virt-dma >> All went fine. >> >> I tested NAND (prep_dma_memcpy), MMC (prep_dma_slave_sg), >> usart (cyclic mode), dmatest (memcpy, memset). >> With the conversion to virt-dma I replaced the election of a new transfer >> in the tasklet with the election of the new transfer in the interrupt >> handler. We should have a shorter idle window as we remove the scheduling >> latency of the tasklet. Using mtd_speedtest showed similar performances >> when using NAND with DMA. That could be because of using a low timming >> mode on NAND. > > This does not apply on dmaengine-fixes, can you please rebase and resend > Sure, I can, but on my side it applies just fine, both on the fixes and next branches. I used git://git.kernel.org/pub/scm/linux/kernel/git/vkoul/dmaengine.git Shall I use other tree? Thanks, ta $ git am ./v2_20221025_tudor_ambarus_dmaengine_at_hdmac_fix_concurrency_bugs_and_then_convert_to_virt_dma.mbx Applying: dmaengine: at_hdmac: Fix at_lli struct definition Applying: dmaengine: at_hdmac: Don't start transactions at tx_submit level Applying: dmaengine: at_hdmac: Start transfer for cyclic channels in issue_pending Applying: dmaengine: at_hdmac: Fix premature completion of desc in issue_pending Applying: dmaengine: at_hdmac: Do not call the complete callback on device_terminate_all Applying: dmaengine: at_hdmac: Protect atchan->status with the channel lock Applying: dmaengine: at_hdmac: Fix concurrency problems by removing atc_complete_all() Applying: dmaengine: at_hdmac: Fix concurrency over descriptor Applying: dmaengine: at_hdmac: Free the memset buf without holding the chan lock Applying: dmaengine: at_hdmac: Fix concurrency over the active list Applying: dmaengine: at_hdmac: Fix descriptor handling when issuing it to hardware Applying: dmaengine: at_hdmac: Fix completion of unissued descriptor in case of errors Applying: dmaengine: at_hdmac: Don't allow CPU to reorder channel enable Applying: dmaengine: at_hdmac: Fix impossible condition Applying: dmaengine: at_hdmac: Check return code of dma_async_device_register Applying: dmaengine: at_hdmac: Do not print messages on console while holding the lock Applying: dmaengine: at_hdmac: Return dma_cookie_status()'s ret code when txstate is NULL Applying: dmaengine: at_hdmac: Remove superfluous cast Applying: dmaengine: at_hdmac: Pass residue by address to avoid unnecessary implicit casts Applying: dmaengine: at_hdmac: s/atc_get_bytes_left/atc_get_residue Applying: dmaengine: at_hdmac: Introduce atc_get_llis_residue() Applying: dmaengine: at_hdmac: Use devm_kzalloc() and struct_size() Applying: dmaengine: at_hdmac: Use devm_platform_ioremap_resource Applying: dmaengine: at_hdmac: Use devm_clk_get() Applying: dmaengine: at_hdmac: Use pm_ptr() Applying: dmaengine: at_hdmac: Set include entries in alphabetic order Applying: dmaengine: at_hdmac: Keep register definitions and structures private to at_hdmac.c Applying: dmaengine: at_hdmac: Use bitfield access macros Applying: dmaengine: at_hdmac: Rename "dma_common" to "dma_device" Applying: dmaengine: at_hdmac: Rename "chan_common" to "dma_chan" Applying: dmaengine: at_hdmac: Remove unused member of at_dma_chan Applying: dmaengine: at_hdmac: Convert driver to use virt-dma b4 am 20221025090306.297886-1-tudor.ambarus@microchip.com Looking up https://lore.kernel.org/r/20221025090306.297886-1-tudor.ambarus%40microchip.com Analyzing 37 messages in the thread Checking attestation on all messages, may take a moment... --- [PATCH v2 1/32] dmaengine: at_hdmac: Fix at_lli struct definition [PATCH v2 2/32] dmaengine: at_hdmac: Don't start transactions at tx_submit level [PATCH v2 3/32] dmaengine: at_hdmac: Start transfer for cyclic channels in issue_pending [PATCH v2 4/32] dmaengine: at_hdmac: Fix premature completion of desc in issue_pending [PATCH v2 5/32] dmaengine: at_hdmac: Do not call the complete callback on device_terminate_all [PATCH v2 6/32] dmaengine: at_hdmac: Protect atchan->status with the channel lock [PATCH v2 7/32] dmaengine: at_hdmac: Fix concurrency problems by removing atc_complete_all() [PATCH v2 8/32] dmaengine: at_hdmac: Fix concurrency over descriptor [PATCH v2 9/32] dmaengine: at_hdmac: Free the memset buf without holding the chan lock [PATCH v2 10/32] dmaengine: at_hdmac: Fix concurrency over the active list [PATCH v2 11/32] dmaengine: at_hdmac: Fix descriptor handling when issuing it to hardware [PATCH v2 12/32] dmaengine: at_hdmac: Fix completion of unissued descriptor in case of errors [PATCH v2 13/32] dmaengine: at_hdmac: Don't allow CPU to reorder channel enable [PATCH v2 14/32] dmaengine: at_hdmac: Fix impossible condition [PATCH v2 15/32] dmaengine: at_hdmac: Check return code of dma_async_device_register [PATCH v2 16/32] dmaengine: at_hdmac: Do not print messages on console while holding the lock [PATCH v2 17/32] dmaengine: at_hdmac: Return dma_cookie_status()'s ret code when txstate is NULL [PATCH v2 18/32] dmaengine: at_hdmac: Remove superfluous cast [PATCH v2 19/32] dmaengine: at_hdmac: Pass residue by address to avoid unnecessary implicit casts [PATCH v2 20/32] dmaengine: at_hdmac: s/atc_get_bytes_left/atc_get_residue [PATCH v2 21/32] dmaengine: at_hdmac: Introduce atc_get_llis_residue() [PATCH v2 22/32] dmaengine: at_hdmac: Use devm_kzalloc() and struct_size() [PATCH v2 23/32] dmaengine: at_hdmac: Use devm_platform_ioremap_resource [PATCH v2 24/32] dmaengine: at_hdmac: Use devm_clk_get() [PATCH v2 25/32] dmaengine: at_hdmac: Use pm_ptr() [PATCH v2 26/32] dmaengine: at_hdmac: Set include entries in alphabetic order [PATCH v2 27/32] dmaengine: at_hdmac: Keep register definitions and structures private to at_hdmac.c [PATCH v2 28/32] dmaengine: at_hdmac: Use bitfield access macros [PATCH v2 29/32] dmaengine: at_hdmac: Rename "dma_common" to "dma_device" [PATCH v2 30/32] dmaengine: at_hdmac: Rename "chan_common" to "dma_chan" [PATCH v2 31/32] dmaengine: at_hdmac: Remove unused member of at_dma_chan [PATCH v2 32/32] dmaengine: at_hdmac: Convert driver to use virt-dma + Acked-by: Nicolas Ferre --- Total patches: 32 --- NOTE: Some trailers were sent to the cover letter: Acked-by: Nicolas Ferre NOTE: Rerun with -t to apply them to all patches --- Cover: ./v2_20221025_tudor_ambarus_dmaengine_at_hdmac_fix_concurrency_bugs_and_then_convert_to_virt_dma.cover Link: https://lore.kernel.org/r/20221025090306.297886-1-tudor.ambarus@microchip.com Base: not specified git am ./v2_20221025_tudor_ambarus_dmaengine_at_hdmac_fix_concurrency_bugs_and_then_convert_to_virt_dma.mbx $ git log --oneline 79029dc341c7 (HEAD, vkoul-dma/fixes) dmaengine: stm32-dma: fix potential race between pause and resume _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel