OpenCloudOS-Kernel/drivers/bus/mhi
Manivannan Sadhasivam 43987659fa bus: mhi: ep: Do not allocate memory for MHI objects from DMA zone
[ Upstream commit c7d0b2db5bc5e8c0fdc67b3c8f463c3dfec92f77 ]

MHI endpoint stack accidentally started allocating memory for objects from
DMA zone since commit 62210a26cd4f ("bus: mhi: ep: Use slab allocator
where applicable"). But there is no real need to allocate memory from this
naturally limited DMA zone. This also causes the MHI endpoint stack to run
out of memory while doing high bandwidth transfers.

So let's switch over to normal memory.

Cc: <stable@vger.kernel.org> # 6.8
Fixes: 62210a26cd4f ("bus: mhi: ep: Use slab allocator where applicable")
Reviewed-by: Mayank Rana <quic_mrana@quicinc.com>
Link: https://lore.kernel.org/r/20240603164354.79035-1-manivannan.sadhasivam@linaro.org
Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-10-17 15:24:10 +02:00
..
ep bus: mhi: ep: Do not allocate memory for MHI objects from DMA zone 2024-10-17 15:24:10 +02:00
host bus: mhi: host: pci_generic: Fix the name for the Telit FE990A 2024-10-04 16:29:51 +02:00
Kconfig bus: mhi: ep: Add support for registering MHI endpoint controllers 2022-04-26 13:17:40 +02:00
Makefile bus: mhi: Update Makefile to used Kconfig flags 2023-01-27 12:30:53 +05:30
common.h bus: mhi: ep: Add support for sending events to the host 2022-04-26 13:17:41 +02:00