Commit c7d0b2db authored by Mani Sadhasivam's avatar Mani Sadhasivam
Browse files

bus: mhi: ep: Do not allocate memory for MHI objects from DMA zone



MHI endpoint stack accidentally started allocating memory for objects from
DMA zone since commit 62210a26 ("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: 62210a26 ("bus: mhi: ep: Use slab allocator where applicable")
Reviewed-by: default avatarMayank Rana <quic_mrana@quicinc.com>
Link: https://lore.kernel.org/r/20240603164354.79035-1-manivannan.sadhasivam@linaro.org


Signed-off-by: default avatarManivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
parent 1613e604
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment