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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2B73FC433F5 for ; Mon, 11 Oct 2021 09:43:19 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 164B860F5B for ; Mon, 11 Oct 2021 09:43:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235599AbhJKJpS (ORCPT ); Mon, 11 Oct 2021 05:45:18 -0400 Received: from mx07-00178001.pphosted.com ([185.132.182.106]:58378 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235609AbhJKJpR (ORCPT ); Mon, 11 Oct 2021 05:45:17 -0400 Received: from pps.filterd (m0241204.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 19B7G35v020092; Mon, 11 Oct 2021 11:43:06 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com; h=from : to : cc : subject : date : message-id : mime-version : content-transfer-encoding : content-type; s=selector1; bh=367os0WHYnfF0CXiyp3vc3QPyuTp0IJg33IruYBh7M0=; b=lLTvtFXL/pmi4Vkj4hvxkGOocS6DOFQfh/hDT3zZoRwPNSvcawqsteZx+4N4c125v1aI UvaAGX1HE3B3YtRHpKRnUlY+bhji7jaU0W0vG4LPurTZJsQY5qbmUD7rzzJ8a6T/61GI Tl8wxQ8cSkqeJHv/rXYQbMP9QOlg494LFi3ghp3wNp10FWNv/rCZLaEiCqxwS+OKyOQN RXX6wAMQFgKcJ2fpUcwJyj+kHWxEkAGowo6xvUwUeW6PNzXAnsv0rVWMJe+wnoB1aLsa 1YSdSczG4WIkz4ie3xuEmeKHpRysteZznkNR4ZxQyQpN0NSsjp6dV5EbUcR992LWHW9k Ow== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com with ESMTP id 3bmgqu8w58-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 11 Oct 2021 11:43:06 +0200 Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id AEE7210002A; Mon, 11 Oct 2021 11:43:05 +0200 (CEST) Received: from Webmail-eu.st.com (sfhdag2node2.st.com [10.75.127.5]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id A71F421B50C; Mon, 11 Oct 2021 11:43:05 +0200 (CEST) Received: from localhost (10.75.127.46) by SFHDAG2NODE2.st.com (10.75.127.5) with Microsoft SMTP Server (TLS) id 15.0.1497.18; Mon, 11 Oct 2021 11:43:04 +0200 From: Amelie Delaunay To: Vinod Koul , Maxime Coquelin , Alexandre Torgue CC: , , , , Amelie Delaunay , Pierre-Yves Mordret Subject: [PATCH 0/3] dmaengine: stm32-dma: some corner case fixes Date: Mon, 11 Oct 2021 11:42:56 +0200 Message-ID: <20211011094259.315023-1-amelie.delaunay@foss.st.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.75.127.46] X-ClientProxiedBy: SFHDAG1NODE3.st.com (10.75.127.3) To SFHDAG2NODE2.st.com (10.75.127.5) X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.182.1,Aquarius:18.0.790,Hydra:6.0.391,FMLib:17.0.607.475 definitions=2021-10-11_03,2021-10-07_02,2020-04-07_01 Precedence: bulk List-ID: X-Mailing-List: dmaengine@vger.kernel.org This patchset brings some fixes to STM32 DMA driver. It fixes undefined behaviour of STM32 DMA controller when an unaligned address is used. It also prevents accidental repeated completion using dma_cookie_complete() in terminate_all(). Amelie Delaunay (3): dmaengine: stm32-dma: mark pending descriptor complete in terminate_all dmaengine: stm32-dma: fix stm32_dma_get_max_width dmaengine: stm32-dma: fix burst in case of unaligned memory address drivers/dma/stm32-dma.c | 24 ++++++++++++++++++------ 1 file changed, 18 insertions(+), 6 deletions(-) -- 2.25.1 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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 11E3AC433F5 for ; Mon, 11 Oct 2021 09:45:55 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id D313161038 for ; Mon, 11 Oct 2021 09:45:54 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org D313161038 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=foss.st.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org 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:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:CC :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=+xTf20+3eLEulJR32Zit1zj4oeOhJmOGhJv4VZl8Yfk=; b=G2mhfI8uJOeAQA yrpOAsjl0IivomvA5CIZRJOYHJjJQUCXPz3pf3gkZzeLDNqUd5Jnb/NdOEyH+CVuDEQAcq2yBsaKV TCfqbfsBfkwasm11zX4C2yTmlPQHlSUvbfuoAPFv6Q4hUZaFzoAZphkbVbhTWDbJQFn6BLmNsZkUz 3s1Va2hg72i5lbbya3B4BK/hng2vdyMcrTEQo5+VyYolwamODh+A237fUMNZzuDbn9eI5FBk1hScd svaEIwUY+HNXsuUC4Ks7zxbpAaFkvu0bekXKJK73KVunMsHUB+VT2cKOuhiSEohAgbRr1kG/wcxhQ 5f8I7mOs4Jg7qWLJNLlg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mZrq3-008b1D-0L; Mon, 11 Oct 2021 09:43:19 +0000 Received: from mx07-00178001.pphosted.com ([185.132.182.106]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mZrpy-008ayP-LH for linux-arm-kernel@lists.infradead.org; Mon, 11 Oct 2021 09:43:16 +0000 Received: from pps.filterd (m0241204.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 19B7G35v020092; Mon, 11 Oct 2021 11:43:06 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com; h=from : to : cc : subject : date : message-id : mime-version : content-transfer-encoding : content-type; s=selector1; bh=367os0WHYnfF0CXiyp3vc3QPyuTp0IJg33IruYBh7M0=; b=lLTvtFXL/pmi4Vkj4hvxkGOocS6DOFQfh/hDT3zZoRwPNSvcawqsteZx+4N4c125v1aI UvaAGX1HE3B3YtRHpKRnUlY+bhji7jaU0W0vG4LPurTZJsQY5qbmUD7rzzJ8a6T/61GI Tl8wxQ8cSkqeJHv/rXYQbMP9QOlg494LFi3ghp3wNp10FWNv/rCZLaEiCqxwS+OKyOQN RXX6wAMQFgKcJ2fpUcwJyj+kHWxEkAGowo6xvUwUeW6PNzXAnsv0rVWMJe+wnoB1aLsa 1YSdSczG4WIkz4ie3xuEmeKHpRysteZznkNR4ZxQyQpN0NSsjp6dV5EbUcR992LWHW9k Ow== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com with ESMTP id 3bmgqu8w58-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 11 Oct 2021 11:43:06 +0200 Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id AEE7210002A; Mon, 11 Oct 2021 11:43:05 +0200 (CEST) Received: from Webmail-eu.st.com (sfhdag2node2.st.com [10.75.127.5]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id A71F421B50C; Mon, 11 Oct 2021 11:43:05 +0200 (CEST) Received: from localhost (10.75.127.46) by SFHDAG2NODE2.st.com (10.75.127.5) with Microsoft SMTP Server (TLS) id 15.0.1497.18; Mon, 11 Oct 2021 11:43:04 +0200 From: Amelie Delaunay To: Vinod Koul , Maxime Coquelin , Alexandre Torgue CC: , , , , Amelie Delaunay , Pierre-Yves Mordret Subject: [PATCH 0/3] dmaengine: stm32-dma: some corner case fixes Date: Mon, 11 Oct 2021 11:42:56 +0200 Message-ID: <20211011094259.315023-1-amelie.delaunay@foss.st.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-Originating-IP: [10.75.127.46] X-ClientProxiedBy: SFHDAG1NODE3.st.com (10.75.127.3) To SFHDAG2NODE2.st.com (10.75.127.5) X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.182.1,Aquarius:18.0.790,Hydra:6.0.391,FMLib:17.0.607.475 definitions=2021-10-11_03,2021-10-07_02,2020-04-07_01 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211011_024315_051685_304D8EFD X-CRM114-Status: GOOD ( 11.49 ) 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: , 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 This patchset brings some fixes to STM32 DMA driver. It fixes undefined behaviour of STM32 DMA controller when an unaligned address is used. It also prevents accidental repeated completion using dma_cookie_complete() in terminate_all(). Amelie Delaunay (3): dmaengine: stm32-dma: mark pending descriptor complete in terminate_all dmaengine: stm32-dma: fix stm32_dma_get_max_width dmaengine: stm32-dma: fix burst in case of unaligned memory address drivers/dma/stm32-dma.c | 24 ++++++++++++++++++------ 1 file changed, 18 insertions(+), 6 deletions(-) -- 2.25.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel