WSL2-Linux-Kernel/drivers/dma/bestcomm
Anatolij Gustschin 6a85f01a89 dmaengine: bestcomm: fix system boot lockups
commit adec566b05 upstream.

memset() and memcpy() on an MMIO region like here results in a
lockup at startup on mpc5200 platform (since this first happens
during probing of the ATA and Ethernet drivers). Use memset_io()
and memcpy_toio() instead.

Fixes: 2f9ea1bde0 ("bestcomm: core bestcomm support for Freescale MPC5200")
Cc: stable@vger.kernel.org # v5.14+
Signed-off-by: Anatolij Gustschin <agust@denx.de>
Link: https://lore.kernel.org/r/20211014094012.21286-1-agust@denx.de
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-11-18 19:17:16 +01:00
..
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
ata.c dmaengine: bestcomm: fix system boot lockups 2021-11-18 19:17:16 +01:00
bcom_ata_task.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
bcom_fec_rx_task.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
bcom_fec_tx_task.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
bcom_gen_bd_rx_task.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
bcom_gen_bd_tx_task.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
bestcomm.c dmaengine: bestcomm: fix system boot lockups 2021-11-18 19:17:16 +01:00
fec.c dmaengine: bestcomm: fix system boot lockups 2021-11-18 19:17:16 +01:00
gen_bd.c dmaengine: bestcomm: fix system boot lockups 2021-11-18 19:17:16 +01:00
sram.c