[PATCH 0/2] firmware: qcom: scm: fix SMC calls on ARM32

Bartosz Golaszewski posted 2 patches 2 months, 3 weeks ago
There is a newer version of this series
drivers/firmware/qcom/qcom_scm-smc.c | 28 ++++++++++++++++++++++++----
drivers/firmware/qcom/qcom_scm.c     |  2 +-
2 files changed, 25 insertions(+), 5 deletions(-)
[PATCH 0/2] firmware: qcom: scm: fix SMC calls on ARM32
Posted by Bartosz Golaszewski 2 months, 3 weeks ago
The new TZ Mem allocator assumes the SCM driver is always probed which
apparently isn't the case on older platforms. Add a proper workaround.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
---
Bartosz Golaszewski (2):
      firmware: qcom: scm: fix a NULL-pointer dereference
      firmware: qcom: scm: fall back to kcalloc() for no SCM device bound

 drivers/firmware/qcom/qcom_scm-smc.c | 28 ++++++++++++++++++++++++----
 drivers/firmware/qcom/qcom_scm.c     |  2 +-
 2 files changed, 25 insertions(+), 5 deletions(-)
---
base-commit: 9aaeb87ce1e966169a57f53a02ba05b30880ffb8
change-id: 20240909-tzmem-null-ptr-2a9ddd9889aa

Best regards,
-- 
Bartosz Golaszewski <bartosz.golaszewski@linaro.org>