From patchwork Fri Aug 6 14:04:52 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 12423527 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-21.7 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,INCLUDES_PATCH,INCLUDES_PULL_REQUEST, MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7EEF7C4338F for ; Fri, 6 Aug 2021 14:05:37 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 62C8A61176 for ; Fri, 6 Aug 2021 14:05:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235070AbhHFOFu (ORCPT ); Fri, 6 Aug 2021 10:05:50 -0400 Received: from mail.kernel.org ([198.145.29.99]:51690 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234249AbhHFOFM (ORCPT ); Fri, 6 Aug 2021 10:05:12 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id A650F61165; Fri, 6 Aug 2021 14:04:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1628258696; bh=nOeqoZn8UQ9BVEka9KU7+i9GJrN+dCRgqG5/Hc6H2ZQ=; h=Date:From:To:Cc:Subject:From; b=ni13E3ScKr7FFe64ipHP+3YYYtv/WIZRBAVN6TUVM2b6w/A2sKLvRuEU+7LLrAuqO Phiy7gq50V04fG2LzBKZCgYjKUlzWlX+gDy6xXOH5Tgp+2n+VbwOBQSUStbVYCISeE SEQjVei2VTXe/SUpxOVO1wCmvrpNTRJCjwOBbqEFAJ1OHPWxem60ZEo2/nGgMEBGu+ J4phQCVv0TTwWZbTDUy34sDyDQ5cNbpCNGf39VZbXH9E2dwFO90ep8TWZcgAIOPjOZ qveZe4xyyWVmsQfV1Fuz8g/h+GBNdPsPSZ/BCskg3vzp7jvtL4RIAFHsdtcb/4fPSk 2h1L3GO+amhAA== Date: Fri, 6 Aug 2021 19:34:52 +0530 From: Vinod Koul To: Linus Torvalds Cc: dma Subject: [GIT PULL]: dmaengine fixes for v5.14 Message-ID: MIME-Version: 1.0 Content-Disposition: inline Precedence: bulk List-ID: X-Mailing-List: dmaengine@vger.kernel.org Hello Linus, Some odd fixes for dmanegine which icludes couple fo driver fixes. The following changes since commit e73f0f0ee7541171d89f2e2491130c7771ba58d3: Linux 5.14-rc1 (2021-07-11 15:07:40 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/vkoul/dmaengine.git tags/dmaengine-fix-5.14 for you to fetch changes up to 7199ddede9f0f2f68d41e6928e1c6c4bca9c39c0: dmaengine: imx-dma: configure the generic DMA type to make it work (2021-08-02 12:31:19 +0530) ---------------------------------------------------------------- dmaengine fixes for v5.14 Bunch of driver fixes, notably: - idxd driver fixes for submission race, driver remove sequence, setup sequence for MSIXPERM, array index and updating descriptor vector - usb-dmac, pm reference leak fix - xilinx_dma, read-after-free fix - uniphier-xdmac fix for using atomic readl_poll_timeout_atomic() - of-dma, router_xlate to return - imx-dma, generic dma fix ---------------------------------------------------------------- Adrian Larumbe (1): dmaengine: xilinx_dma: Fix read-after-free bug when terminating transfers Dave Jiang (5): dmaengine: idxd: fix array index when int_handles are being used dmaengine: idxd: fix setup sequence for MSIXPERM table dmaengine: idxd: fix desc->vector that isn't being updated dmaengine: idxd: fix sequence for pci driver remove() and shutdown() dmaengine: idxd: fix submission race window Juergen Borleis (1): dmaengine: imx-dma: configure the generic DMA type to make it work Kunihiko Hayashi (1): dmaengine: uniphier-xdmac: Use readl_poll_timeout_atomic() in atomic state Peter Ujfalusi (1): dmaengine: of-dma: router_xlate to return -EPROBE_DEFER if controller is not yet available Yu Kuai (1): dmaengine: usb-dmac: Fix PM reference leak in usb_dmac_probe() Zhang Qilong (2): dmaengine: stm32-dma: Fix PM usage counter imbalance in stm32 dma ops dmaengine: stm32-dmamux: Fix PM usage counter unbalance in stm32 dmamux ops drivers/dma/idxd/idxd.h | 14 +++++++ drivers/dma/idxd/init.c | 30 +++++++++----- drivers/dma/idxd/irq.c | 27 ++++++++---- drivers/dma/idxd/submit.c | 92 +++++++++++++++++++++++++++++++---------- drivers/dma/idxd/sysfs.c | 2 - drivers/dma/imx-dma.c | 2 + drivers/dma/of-dma.c | 9 +++- drivers/dma/sh/usb-dmac.c | 2 +- drivers/dma/stm32-dma.c | 4 +- drivers/dma/stm32-dmamux.c | 6 +-- drivers/dma/uniphier-xdmac.c | 4 +- drivers/dma/xilinx/xilinx_dma.c | 12 ++++++ 12 files changed, 151 insertions(+), 53 deletions(-) Thanks