Re: [PATCH v3 3/3] soc: qcom: rtmfs: Handle reserved-memory allocation issues

From: Konrad Dybcio
Date: Thu Sep 21 2023 - 14:53:49 EST




On 9/21/23 04:37, Bjorn Andersson wrote:
In the even that Linux failed to allocate the reserved memory range
specified in the DeviceTree, the size of the reserved_mem will be 0,
which results in a oops when memory remapping is attempted.

Detect this and report that the memory region was not found instead.

Signed-off-by: Bjorn Andersson <quic_bjorande@xxxxxxxxxxx>
---
typo in subject: rtmfs

Acked-by: Konrad Dybcio <konrad.dybcio@xxxxxxxxxx>

Konrad