mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-02-06 12:05:24 +07:00
fdb28589b1
Firmware crashes while starting Soft AP in 32 bit x86 platform.
The reason is that the single dma buffer (ar_sdio->dma_buffer)
is used in ath6kl_sdio_read_write_sync() for unaligned buffer
handling and this function is called in the multiple context
at the same time. So, finally hits dma buffer corruption and
firmware crash.
Mutex is used to protect dma buffer to avoid data corruption.
Spin lock can not used to fix this issue since mmc stack
read/write calls may for sleep.
Observed this issue with recently commited patch
"ath6kl: Claim sdio function only at appropriate places"
|
||
---|---|---|
.. | ||
bmi.c | ||
bmi.h | ||
cfg80211.c | ||
cfg80211.h | ||
common.h | ||
core.h | ||
debug.c | ||
debug.h | ||
hif-ops.h | ||
hif.c | ||
hif.h | ||
htc.c | ||
htc.h | ||
init.c | ||
Kconfig | ||
main.c | ||
Makefile | ||
sdio.c | ||
target.h | ||
testmode.c | ||
testmode.h | ||
txrx.c | ||
usb.c | ||
wmi.c | ||
wmi.h |