linux-stable/drivers/dma
Frank Li 2031845713 dmaengine: dw-edma: Detach the private data and chip info structures
"struct dw_edma_chip" contains an internal structure "struct dw_edma" that
is used by the eDMA core internally and should not be touched by the eDMA
controller drivers themselves. But currently, the eDMA controller drivers
like "dw-edma-pci" allocate and populate this internal structure before
passing it on to the eDMA core. The eDMA core further populates the
structure and uses it. This is wrong!

Hence, move all the "struct dw_edma" specifics from controller drivers to
the eDMA core.

Link: https://lore.kernel.org/r/20220524152159.2370739-3-Frank.Li@nxp.com
Tested-by: Serge Semin <fancer.lancer@gmail.com>
Tested-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Signed-off-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Serge Semin <fancer.lancer@gmail.com>
Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Acked-By: Vinod Koul <vkoul@kernel.org>
2022-06-23 14:49:30 -05:00
..
bestcomm dmaengine: bestcomm: Prepare cleanup of powerpc's asm/prom.h 2022-04-11 17:43:19 +05:30
dw dmaengine: dw: Add RZN1 compatible 2022-05-19 22:34:51 +05:30
dw-axi-dmac dmaengine: dw-axi-dmac: cleanup comments 2022-03-11 16:05:01 +05:30
dw-edma dmaengine: dw-edma: Detach the private data and chip info structures 2022-06-23 14:49:30 -05:00
fsl-dpaa2-qdma dmaengine: fsl-dpaa2-qdma: Drop comma after SoC match table sentinel 2022-03-11 15:47:39 +05:30
hsu dmaengine: hsu: switch from 'pci_' to 'dma_' API 2021-10-26 10:54:47 +05:30
idxd dmaengine updates for v5.19-rc1 2022-05-29 11:38:27 -07:00
ioat dmaengine: iot: Remove useless DMA-32 fallback configuration 2022-02-15 11:04:06 +05:30
ipu dmaengine: ipu: Fix fall-through warning for Clang 2021-07-13 14:38:47 -05:00
lgm
mediatek dmaengine updates for v5.19-rc1 2022-05-29 11:38:27 -07:00
ppc4xx dmaengine: ppc4xx: Make use of the helper macro LIST_HEAD() 2022-03-11 15:39:09 +05:30
ptdma dmaengine: ptdma: statify pt_tx_status 2022-04-22 11:29:13 +05:30
qcom dmaengine: qcom: gpi: Add support for sc7280 2022-05-19 23:43:40 +05:30
sf-pdma dmaengine: sf-pdma: Get number of channel by device tree 2022-04-08 18:43:29 +05:30
sh dmaengine: sh: Kconfig: Make RZ_DMAC depend on ARCH_RZG2L 2022-04-08 23:22:00 +05:30
ti dmaengine updates for v5.19-rc1 2022-05-29 11:38:27 -07:00
xilinx dmaengine: zynqmp_dma: use pm_runtime_resume_and_get() instead of pm_runtime_get_sync() 2022-05-16 18:21:47 +05:30
acpi-dma.c dmaengine: acpi: Check for errors from acpi_register_gsi() separately 2021-08-06 21:48:11 +05:30
altera-msgdma.c dmaengine: altera-msgdma: Remove useless DMA-32 fallback configuration 2022-02-15 16:53:11 +05:30
amba-pl08x.c dmaengine: pl08x: drop the useless function 2022-04-20 17:19:09 +05:30
at_hdmac.c dmaengine: at_hdmac: In atc_prep_dma_memset, treat value as a single byte 2022-04-20 17:28:12 +05:30
at_hdmac_regs.h
at_xdmac.c dmaengine updates for v5.19-rc1 2022-05-29 11:38:27 -07:00
bcm-sba-raid.c
bcm2835-dma.c
dma-axi-dmac.c
dma-jz4780.c dmaengine: jz4780: set DMA maximum segment size 2022-04-20 17:13:22 +05:30
dmaengine.c dmaengine: Remove a useless mutex 2022-04-11 19:52:40 +05:30
dmaengine.h dmaengine: dmaengine_desc_callback_valid(): Check for callback_result 2021-10-25 09:42:56 +05:30
dmatest.c dmaengine: add verification of DMA_INTERRUPT capability for dmatest 2022-04-20 17:21:15 +05:30
ep93xx_dma.c dmaengine: ep93xx: Remove redundant word in comment 2022-04-11 17:31:48 +05:30
fsl-edma-common.c dmaengine: fsl-edma: support edma memcpy 2021-10-28 22:56:24 +05:30
fsl-edma-common.h dmaengine: fsl-edma: support edma memcpy 2021-10-28 22:56:24 +05:30
fsl-edma.c dmaengine: fsl-edma: support edma memcpy 2021-10-28 22:56:24 +05:30
fsl-qdma.c
fsl_raid.c
fsl_raid.h
fsldma.c
fsldma.h
hisi_dma.c dmaengine: hisi_dma: fix MSI allocate fail when reload hisi_dma 2022-03-11 16:05:39 +05:30
idma64.c
idma64.h
img-mdc-dma.c
imx-dma.c dmaengine: imx: Move header to include/dma/ 2022-04-19 12:06:18 +01:00
imx-sdma.c sound updates for 5.19-rc1 2022-05-25 16:55:16 -07:00
iop-adma.c
iop-adma.h
k3dma.c
Kconfig dmaengine: sun6i: Add support for the D1 variant 2022-05-19 23:43:41 +05:30
lpc18xx-dmamux.c
Makefile dmaengine: tegra: Add tegra gpcdma driver 2022-04-11 19:32:24 +05:30
mcf-edma.c
milbeaut-hdmac.c dmaengine: milbeaut-hdmac: Prefer kcalloc over open coded arithmetic 2021-10-25 12:12:13 +05:30
milbeaut-xdmac.c
mmp_pdma.c dmaengine: mmp: deprecate '#dma-channels' 2022-05-19 22:53:46 +05:30
mmp_tdma.c
moxart-dma.c
mpc512x_dma.c dmaengine: mpc512x: Fix fall-through warning for Clang 2021-07-14 11:05:55 -05:00
mv_xor.c
mv_xor.h
mv_xor_v2.c dmaengine: mv_xor_v2 : Move spin_lock_bh() to spin_lock() 2022-04-22 12:56:41 +05:30
mxs-dma.c
nbpfaxi.c dmaengine: nbpfaxi: Use platform_get_irq_optional() to get the interrupt 2022-04-11 16:26:53 +05:30
of-dma.c dmaengine: of-dma: router_xlate to return -EPROBE_DEFER if controller is not yet available 2021-07-28 12:54:50 +05:30
owl-dma.c
pch_dma.c dmaengine: pch_dma: Remove usage of the deprecated "pci-dma-compat.h" API 2022-01-08 22:16:44 +05:30
pl330.c ARM: 9172/1: amba: Cleanup amba pclk operation 2022-02-28 13:59:15 +00:00
plx_dma.c dmaengine: plx_dma: Move spin_lock_bh() to spin_lock() 2022-04-20 15:59:33 +05:30
pxa_dma.c dmaengine: pxa: deprecate '#dma-channels' and '#dma-requests' 2022-05-19 22:53:46 +05:30
s3c24xx-dma.c
sa11x0-dma.c dmaengine: sa11x0: Mark PM functions as __maybe_unused 2021-10-26 10:55:07 +05:30
sprd-dma.c dmaengine: sprd: deprecate '#dma-channels' 2022-05-16 18:34:35 +05:30
st_fdma.c dmaengine: st_fdma: fix MODULE_ALIAS 2021-12-13 13:18:48 +05:30
st_fdma.h
ste_dma40.c
ste_dma40_ll.c
ste_dma40_ll.h
stm32-dma.c dmaengine: stm32-dma: add device_pause/device_resume support 2022-05-19 23:43:41 +05:30
stm32-dmamux.c dmaengine: stm32-dmamux: avoid reset of dmamux if used by coprocessor 2022-05-19 23:43:40 +05:30
stm32-mdma.c dmaengine: stm32-mdma: use dev_dbg on non-busy channel spurious it 2022-05-19 23:21:28 +05:30
sun4i-dma.c dmaengine: sun4i: Use list_move_tail instead of list_del/list_add_tail 2021-06-07 17:06:38 +05:30
sun6i-dma.c dmaengine: sun6i: Add support for the D1 variant 2022-05-19 23:43:41 +05:30
tegra20-apb-dma.c dmaengine: tegra20-apb: stop checking config->slave_id 2021-12-17 11:23:38 +05:30
tegra186-gpc-dma.c dmaengine: tegra: Remove unused switch case 2022-05-19 23:43:41 +05:30
tegra210-adma.c dmaengine: tegra210-adma: fix pm runtime unbalance in tegra_adma_remove 2021-10-25 10:06:10 +05:30
timb_dma.c
TODO
txx9dmac.c
txx9dmac.h
uniphier-mdmac.c
uniphier-xdmac.c dmaengine: uniphier-xdmac: Fix type of address variables 2022-01-03 17:49:37 +05:30
virt-dma.c
virt-dma.h
xgene-dma.c