[PATCH v6] bus: mhi: host: don't free bhie tables during suspend/hibernation

Manivannan Sadhasivam mani at kernel.org
Tue Jun 17 00:28:51 PDT 2025


On Fri, 16 May 2025 23:49:31 +0500, Muhammad Usama Anjum wrote:
> Fix dma_direct_alloc() failure at resume time during bhie_table
> allocation because of memory pressure. There is a report where at
> resume time, the memory from the dma doesn't get allocated and MHI
> fails to re-initialize.
> 
> To fix it, don't free the memory at power down during suspend /
> hibernation. Instead, use the same allocated memory again after every
> resume / hibernation. This patch has been tested with resume and
> hibernation both.
> 
> [...]

Applied, thanks!

[1/1] bus: mhi: host: don't free bhie tables during suspend/hibernation
      commit: df75d6d7ce922645e674f5d591c7333f11027cdc

Note: I've modified the patch little bit to rename __mhi_unprepare_keep_dev to
mhi_deinit_dev_ctxt() and also reworded the description.

Best regards,
-- 
Manivannan Sadhasivam <mani at kernel.org>



More information about the ath12k mailing list