From: Bartosz Golaszewski <brgl@bgdev.pl>
To: Bjorn Andersson <andersson@kernel.org>,
Konrad Dybcio <konradybcio@kernel.org>,
Andrew Halaney <ahalaney@redhat.com>,
Elliot Berman <quic_eberman@quicinc.com>,
Dmitry Baryshkov <dmitry.baryshkov@linaro.org>,
Rudraksha Gupta <guptarud@gmail.com>,
"Linux regression tracking (Thorsten Leemhuis)"
<regressions@leemhuis.info>
Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org,
Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Subject: [PATCH 0/2] firmware: qcom: scm: fix SMC calls on ARM32
Date: Mon, 09 Sep 2024 20:38:43 +0200 [thread overview]
Message-ID: <20240909-tzmem-null-ptr-v1-0-96526c421bac@linaro.org> (raw)
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>
next reply other threads:[~2024-09-09 18:39 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-09 18:38 Bartosz Golaszewski [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240909-tzmem-null-ptr-v1-0-96526c421bac@linaro.org \
--to=brgl@bgdev.pl \
--cc=ahalaney@redhat.com \
--cc=andersson@kernel.org \
--cc=bartosz.golaszewski@linaro.org \
--cc=dmitry.baryshkov@linaro.org \
--cc=guptarud@gmail.com \
--cc=konradybcio@kernel.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=quic_eberman@quicinc.com \
--cc=regressions@leemhuis.info \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®