[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20211115085403.360194-1-arnd@kernel.org>
Date: Mon, 15 Nov 2021 09:53:52 +0100
From: Arnd Bergmann <arnd@...nel.org>
To: Vinod Koul <vkoul@...nel.org>
Cc: Arnd Bergmann <arnd@...db.de>, Andy Gross <agross@...nel.org>,
Andy Shevchenko <andriy.shevchenko@...ux.intel.com>,
Baolin Wang <baolin.wang7@...il.com>,
Bjorn Andersson <bjorn.andersson@...aro.org>,
Chunyan Zhang <zhang.lyra@...il.com>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Hyun Kwon <hyun.kwon@...inx.com>,
Jaroslav Kysela <perex@...ex.cz>,
Jon Hunter <jonathanh@...dia.com>,
Lars-Peter Clausen <lars@...afoo.de>,
Laurent Pinchart <laurent.pinchart@...asonboard.com>,
Laxman Dewangan <ldewangan@...dia.com>,
Manivannan Sadhasivam <mani@...nel.org>,
Mark Brown <broonie@...nel.org>,
Michal Simek <michal.simek@...inx.com>,
Nicolas Saenz Julienne <nsaenz@...nel.org>,
Orson Zhai <orsonzhai@...il.com>,
Robert Jarzmik <robert.jarzmik@...e.fr>,
Scott Branden <sbranden@...adcom.com>,
Takashi Iwai <tiwai@...e.com>,
Thierry Reding <thierry.reding@...il.com>,
alsa-devel@...a-project.org, bcm-kernel-feedback-list@...adcom.com,
dmaengine@...r.kernel.org, dri-devel@...ts.freedesktop.org,
linux-arm-kernel@...ts.infradead.org,
linux-arm-msm@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-mmc@...r.kernel.org, linux-mtd@...ts.infradead.org,
linux-rpi-kernel@...ts.infradead.org, linux-serial@...r.kernel.org,
linux-spi@...r.kernel.org, linux-staging@...ts.linux.dev,
linux-tegra@...r.kernel.org
Subject: [PATCH 00/11] dmaengine: kill off dma_slave_config->slave_id
From: Arnd Bergmann <arnd@...db.de>
I recently came across some new uses of the 'slave_id' field that
I had (almost) removed a few years ago. There are no legitimate
uses of this field in the kernel, only a few stale references and
two drivers that abuse the field as a side-channel between the
dmaengine driver and its client.
Let's change the xilinx and qualcomm drivers to use the documented
side-channel (peripheral_data) instead, and remove the remnants of
it to prevent new users from coming in.
As the last patch in the series depends on all the others, it would
be nice have everything merged into the dmaengine tree for v5.17.
Arnd
Arnd Bergmann (11):
ASoC: dai_dma: remove slave_id field
spi: pic32: stop setting dma_config->slave_id
mmc: bcm2835: stop setting chan_config->slave_id
dmaengine: shdma: remove legacy slave_id parsing
dmaengine: pxa/mmp: stop referencing config->slave_id
dmaengine: sprd: stop referencing config->slave_id
dmaengine: qcom-adm: stop abusing slave_id config
dmaengine: xilinx_dpdma: stop using slave_id field
dmaengine: tegra20-apb: stop checking config->slave_id
staging: ralink-gdma: stop using slave_id config
dmaengine: remove slave_id config field
drivers/dma/mmp_pdma.c | 6 ---
drivers/dma/pxa_dma.c | 7 ---
drivers/dma/qcom/qcom_adm.c | 56 ++++++++++++++++++++---
drivers/dma/sh/shdma-base.c | 8 ----
drivers/dma/sprd-dma.c | 3 --
drivers/dma/tegra20-apb-dma.c | 6 ---
drivers/dma/xilinx/xilinx_dpdma.c | 12 +++--
drivers/gpu/drm/xlnx/zynqmp_disp.c | 9 +++-
drivers/mmc/host/bcm2835.c | 2 -
drivers/mtd/nand/raw/qcom_nandc.c | 14 +++++-
drivers/spi/spi-pic32.c | 2 -
drivers/staging/ralink-gdma/ralink-gdma.c | 12 ++---
drivers/tty/serial/msm_serial.c | 15 +++++-
include/linux/dma/qcom_adm.h | 12 +++++
include/linux/dma/xilinx_dpdma.h | 11 +++++
include/linux/dmaengine.h | 4 --
include/sound/dmaengine_pcm.h | 2 -
sound/core/pcm_dmaengine.c | 5 +-
sound/soc/tegra/tegra20_spdif.c | 1 -
19 files changed, 119 insertions(+), 68 deletions(-)
create mode 100644 include/linux/dma/qcom_adm.h
create mode 100644 include/linux/dma/xilinx_dpdma.h
--
2.30.2
Cc: Andy Gross <agross@...nel.org>
Cc: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
Cc: Arnd Bergmann <arnd@...db.de>
Cc: Baolin Wang <baolin.wang7@...il.com>
Cc: Bjorn Andersson <bjorn.andersson@...aro.org>
Cc: Chunyan Zhang <zhang.lyra@...il.com>
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Cc: Hyun Kwon <hyun.kwon@...inx.com>
Cc: Jaroslav Kysela <perex@...ex.cz>
Cc: Jon Hunter <jonathanh@...dia.com>
Cc: Lars-Peter Clausen <lars@...afoo.de>
Cc: Laurent Pinchart <laurent.pinchart@...asonboard.com>
Cc: Laxman Dewangan <ldewangan@...dia.com>
Cc: Manivannan Sadhasivam <mani@...nel.org>
Cc: Mark Brown <broonie@...nel.org>
Cc: Michal Simek <michal.simek@...inx.com>
Cc: Nicolas Saenz Julienne <nsaenz@...nel.org>
Cc: Orson Zhai <orsonzhai@...il.com>
Cc: Robert Jarzmik <robert.jarzmik@...e.fr>
Cc: Scott Branden <sbranden@...adcom.com>
Cc: Takashi Iwai <tiwai@...e.com>
Cc: Thierry Reding <thierry.reding@...il.com>
Cc: Vinod Koul <vkoul@...nel.org>
Cc: alsa-devel@...a-project.org
Cc: bcm-kernel-feedback-list@...adcom.com
Cc: dmaengine@...r.kernel.org
Cc: dri-devel@...ts.freedesktop.org
Cc: linux-arm-kernel@...ts.infradead.org
Cc: linux-arm-msm@...r.kernel.org
Cc: linux-kernel@...r.kernel.org
Cc: linux-mmc@...r.kernel.org
Cc: linux-mtd@...ts.infradead.org
Cc: linux-rpi-kernel@...ts.infradead.org
Cc: linux-serial@...r.kernel.org
Cc: linux-spi@...r.kernel.org
Cc: linux-staging@...ts.linux.dev
Cc: linux-tegra@...r.kernel.org
Powered by blists - more mailing lists