linux-stable/drivers/net/wireless/ti/wl1251
H. Nikolaus Schaller 454744754c wl1251: dynamically allocate memory used for DMA
With introduction of vmap'ed stacks, stack parameters can no
longer be used for DMA and now leads to kernel panic.

It happens at several places for the wl1251 (e.g. when
accessed through SDIO) making it unuseable on e.g. the
OpenPandora.

We solve this by allocating temporary buffers or use wl1251_read32().

Tested on v5.18-rc5 with OpenPandora.

Fixes: a1c510d0ad ("ARM: implement support for vmap'ed stacks")
Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/1676021ae8b6d7aada0b1806fed99b1b8359bdc4.1651495112.git.hns@goldelico.com
2022-05-06 09:11:33 +03:00
..
acx.c
acx.h
boot.c
boot.h
cmd.c wl1251: Fix missing function name in comments 2021-06-15 16:38:58 +03:00
cmd.h
debugfs.c
debugfs.h
event.c wl1251: dynamically allocate memory used for DMA 2022-05-06 09:11:33 +03:00
event.h
init.c
init.h
io.c wl1251: dynamically allocate memory used for DMA 2022-05-06 09:11:33 +03:00
io.h
Kconfig
main.c wl1251: specify max. IE length 2021-12-16 10:28:38 +02:00
Makefile
ps.c
ps.h
reg.h
rx.c
rx.h
sdio.c
spi.c spi: make remove callback a void function 2022-02-09 13:00:45 +00:00
spi.h
tx.c wl1251: dynamically allocate memory used for DMA 2022-05-06 09:11:33 +03:00
tx.h
wl12xx_80211.h
wl1251.h