public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] firmware: qcom: scm: fix SMC calls on ARM32
@ 2024-09-09 18:38 Bartosz Golaszewski
  2024-09-09 18:38 ` [PATCH 1/2] firmware: qcom: scm: fix a NULL-pointer dereference Bartosz Golaszewski
  2024-09-09 18:38 ` [PATCH 2/2] firmware: qcom: scm: fall back to kcalloc() for no SCM device bound Bartosz Golaszewski
  0 siblings, 2 replies; 14+ messages in thread
From: Bartosz Golaszewski @ 2024-09-09 18:38 UTC (permalink / raw)
  To: Bjorn Andersson, Konrad Dybcio, Andrew Halaney, Elliot Berman,
	Dmitry Baryshkov, Rudraksha Gupta,
	Linux regression tracking (Thorsten Leemhuis)
  Cc: linux-arm-msm, linux-kernel, Bartosz Golaszewski

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>


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2024-09-11 19:44 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-09 18:38 [PATCH 0/2] firmware: qcom: scm: fix SMC calls on ARM32 Bartosz Golaszewski
2024-09-09 18:38 ` [PATCH 1/2] firmware: qcom: scm: fix a NULL-pointer dereference Bartosz Golaszewski
2024-09-09 20:06   ` Konrad Dybcio
2024-09-10  6:45   ` Rudraksha Gupta
2024-09-09 18:38 ` [PATCH 2/2] firmware: qcom: scm: fall back to kcalloc() for no SCM device bound Bartosz Golaszewski
2024-09-09 20:10   ` Konrad Dybcio
2024-09-09 21:04   ` Elliot Berman
2024-09-10  8:37     ` Bartosz Golaszewski
2024-09-10 11:06     ` Dmitry Baryshkov
2024-09-11 11:41       ` Bartosz Golaszewski
2024-09-11 11:55         ` Dmitry Baryshkov
2024-09-11 18:01         ` Rudraksha Gupta
2024-09-11 19:44           ` Bartosz Golaszewski
2024-09-10  6:46   ` Rudraksha Gupta

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox