Re: [PATCH 0/2] qcom_tzmem: Enhance Error Handling for shmbridge
From: Bartosz Golaszewski
Date: Mon Oct 07 2024 - 10:26:18 EST
On Sat, 5 Oct 2024 at 16:02, Kuldeep Singh <quic_kuldsing@xxxxxxxxxxx> wrote:
>
> This patchset addresses the tzmem driver probe failure caused by
> incorrect error handling. The qcom_scm_shm_bridge_enable() SCM call
> captures SCM success/failure in a0 and E_NOT_SUPPORTED in a1.
>
> Previously, qcom_scm returned values based solely on a0, without
> capturing not_supported scenario. This patchset corrects that behavior.
>
Ah, I guess this may be the reason for the SHM bridge enablement to
seemingly work on certain platforms and then lead to crashes when we
actually try to use it?
Bart