acrn-kernel/drivers/bus/mhi
Manivannan Sadhasivam ea3357c6cf bus: mhi: ep: Do not allocate event ring element on stack
[ Upstream commit 987fdb5a43a66764808371b54e6047834170d565 ]

It is possible that the host controller driver would use DMA framework to
write the event ring element. So avoid allocating event ring element on the
stack as DMA cannot work on vmalloc memory.

Cc: stable@vger.kernel.org
Fixes: 961aeb6892 ("bus: mhi: ep: Add support for sending events to the host")
Link: https://lore.kernel.org/r/20230901073502.69385-1-manivannan.sadhasivam@linaro.org
Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-01-31 16:17:09 -08:00
..
ep bus: mhi: ep: Do not allocate event ring element on stack 2024-01-31 16:17:09 -08:00
host bus: mhi: host: Add spinlock to protect WP access when queueing TREs 2024-01-31 16:16:59 -08:00
Kconfig
Makefile
common.h