From patchwork Fri Oct 13 13:46:58 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 152583 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:2908:b0:403:3b70:6f57 with SMTP id ib8csp1903884vqb; Fri, 13 Oct 2023 06:47:25 -0700 (PDT) X-Google-Smtp-Source: AGHT+IF+1niUcyonwPRx7n4Nov50gDiunfNWzP4GE3S1PxnH6qSabGrw6u1wFbPgtP46PcFjbdE/ X-Received: by 2002:a05:6a20:7d85:b0:163:57ba:2ad4 with SMTP id v5-20020a056a207d8500b0016357ba2ad4mr31864220pzj.2.1697204844654; Fri, 13 Oct 2023 06:47:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697204844; cv=none; d=google.com; s=arc-20160816; b=bJgd+GfMVvsQ9aOGXBUUiDIpYHISZmhY/jibEEhs5UoI/XftISqQj7R0enqhhoU6SU xNJ8jbF0gai/qU5eN6FCqgNBXbCaWq/V9DlkaWdS/Ssrc/n2Ne5USrjUskNViDcisFf3 cYwXTyJRU5a1ulMw36nUHAkG3+nrPCE81mgOhYJLAmstU8FHDPQcyfuWeFi02TiRd5Uv DxD2ys7KDQiFwuDQjrGAaBYMuUoOR2VECa8wQlFKjTA2qoLwxJKwJDKT+lCATjj4Dn1d noMQYaUA2VirFXHrCLDgtcBbHsALF9dexTs+6rrJ9qcOM99ZpZAh2KZQP+QNEsmA52TB 2/mQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-disposition:mime-version:message-id :subject:cc:to:from:date:dkim-signature; bh=jkhfUgWsOUpy6D43kR/oywJEpS5ohbjBJ/mytRLUMF8=; fh=adaMKi1fQT8R7CiUc1tvfEVPRl2AoVvM543xoSePOvI=; b=X1bJaIGNDdX+Z3GJNGno5XcQI4mDXUxXm88llElylhs5QWnc8pqQ1yGc/RGPuvI9Sq Lsf8u1AHxyqJh6weXaKvOE0h22AgxvLNNF22J55uJYzrtTHNvEDfNwQSMQkJhnT8FSZn KQtM0cJ7F5V6HrP3E1Jm55onCRUqpGc9tDeDpDMUIvLMKhcXJKwkfdVQnLQ5/CQT60uh QdUXSDy2evuJoKMQiQMxYLnW1Ji0QQJmBU1JrvYF+I2pzaNZeNhuBDXeDwMIvoTFdQ+r 1kEQ3Ew4t4T9l+kId2nhpJ9xWczx/Do4ihmEjBV1H3fAv1clunJ/ZV5joyTnQhb0UP17 lMzQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=hEuGVH8V; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id v20-20020a17090abb9400b002745c4e215fsi107310pjr.175.2023.10.13.06.47.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Oct 2023 06:47:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=hEuGVH8V; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id DB99E82BB548; Fri, 13 Oct 2023 06:47:14 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231950AbjJMNrH (ORCPT + 19 others); Fri, 13 Oct 2023 09:47:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47900 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230160AbjJMNrG (ORCPT ); Fri, 13 Oct 2023 09:47:06 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1D05ABE for ; Fri, 13 Oct 2023 06:47:03 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 191A9C433C7; Fri, 13 Oct 2023 13:47:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1697204822; bh=0xsvLhSzmvkXcQf4Skvj20u3rh9QFtaOZ8Aum8HbA3c=; h=Date:From:To:Cc:Subject:From; b=hEuGVH8VRlWO7PVwk5rk1V8xYjzOIDArrOk6PIX6ld8Dv2TiZawPy5vq9H+B1MeeM hiYQjryk2azFn7Owj4sdoMn5a4COwNRsyJDvZBidlB5O6XjYmPzCEp+Kc+6YZQycbU UT7YO1YgiP4IOT9jyJKbZhbjr8lU9DOsOmlMAhWGGTPyAwuvIIAn068V97QrC2hWY8 nC9PkJCHcOuLe5Ql7U/bBNXXbHP0v3Yc/A1OzBJJLyrtqXM/JeI7I0chuuG3t3zRjw wEzYxU14k6jvfWBCTgqBfCWYh2NvJrSo+bZ40jBKY7hWoTnD8ED9nWf9r5TEeDk6m2 Xl3Sd/miZjVPQ== Date: Fri, 13 Oct 2023 19:16:58 +0530 From: Vinod Koul To: Linus Torvalds Cc: LKML Subject: [GIT PULL]: dmaengine fixes for v6.6 Message-ID: MIME-Version: 1.0 Content-Disposition: inline X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Fri, 13 Oct 2023 06:47:14 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1779648267392226387 X-GMAIL-MSGID: 1779648267392226387 Hello Linus, Please pull to receive dmaengine subsystem fixes for v6.6. All of them are driver odd fixes The following changes since commit 0bb80ecc33a8fb5a682236443c1e740d5c917d1d: Linux 6.6-rc1 (2023-09-10 16:28:41 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/vkoul/dmaengine.git tags/dmaengine-fix-6.6 for you to fetch changes up to 3fa53518ad419bfacceae046a9d8027e4c4c5290: dmaengine: fsl-edma: fix all channels requested when call fsl_edma3_xlate() (2023-10-09 11:12:19 +0530) ---------------------------------------------------------------- dmaengine fixes for v6.6 Driver fixes for: - stm32 dma residue calculation and chaining - stm32 mdma for setting inflight bytes, residue calculation and resume abort - channel request, channel enable and dma error in fsl_edma - runtime pm imbalance in ste_dma40 driver - deadlock fix in mediatek driver ---------------------------------------------------------------- Amelie Delaunay (5): dmaengine: stm32-mdma: abort resume if no ongoing transfer dmaengine: stm32-mdma: use Link Address Register to compute residue dmaengine: stm32-mdma: set in_flight_bytes in case CRQA flag is set dmaengine: stm32-dma: fix stm32_dma_prep_slave_sg in case of MDMA chaining dmaengine: stm32-dma: fix residue in case of MDMA chaining Duoming Zhou (1): dmaengine: mediatek: Fix deadlock caused by synchronize_irq() Frank Li (3): dmaengine: fsl-dma: fix DMA error when enabling sg if 'DONE' bit is set dmaengine: fsl-edma: fix edma4 channel enable failure on second attempt dmaengine: fsl-edma: fix all channels requested when call fsl_edma3_xlate() Radhey Shyam Pandey (1): dt-bindings: dmaengine: zynqmp_dma: add xlnx,bus-width required property Rex Zhang (1): dmaengine: idxd: use spin_lock_irqsave before wait_event_lock_irq Zhang Shurong (1): dmaengine: ste_dma40: Fix PM disable depth imbalance in d40_probe .../bindings/dma/xilinx/xlnx,zynqmp-dma-1.0.yaml | 3 ++ drivers/dma/fsl-edma-common.c | 25 ++++++++++++++-- drivers/dma/fsl-edma-common.h | 14 ++++++++- drivers/dma/fsl-edma-main.c | 8 ++++-- drivers/dma/idxd/device.c | 5 ++-- drivers/dma/mediatek/mtk-uart-apdma.c | 3 +- drivers/dma/ste_dma40.c | 1 + drivers/dma/stm32-dma.c | 11 +++++--- drivers/dma/stm32-mdma.c | 33 ++++++++++++++++------ 9 files changed, 79 insertions(+), 24 deletions(-)