From: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
To: Haozhen Li <dezige131@foxmail.com>,
Bjorn Andersson <andersson@kernel.org>,
Konrad Dybcio <konradybcio@kernel.org>
Cc: "Abel Vesa" <abelvesa@kernel.org>,
"Dawid Wróbel" <me@dawidwrobel.com>,
linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [RFC PATCH 2/2] firmware: qcom: scm: Handle QSEECOM listener callbacks
Date: Mon, 2 Nov 2026 13:28:13 +0100 [thread overview]
Message-ID: <361131a8-4d30-4e8f-92a3-697dd93e7e30@oss.qualcomm.com> (raw)
In-Reply-To: <tencent_B6F75567FAE05B5F2B1E793A9FC916E3A608@qq.com>
On 11/1/26 5:01 PM, Haozhen Li wrote:
> A QSEE app that needs something from the normal world -- nearly
> always file I/O against its secure storage -- does not return from the
> SCM call. Instead the call comes back as QSEECOM_RESULT_INCOMPLETE
> naming the listener the app waits for, and stays that way until the
> normal world answers. Answering is what resumes the app.
>
> The QSEECOM SCM helpers have no way to answer: the TODO in
> qcom_scm_qseecom_call() turns an incomplete call into a WARN and
> returns success, the app stays parked in TZ, and every later QSEECOM
> call returns -EBUSY until the device is power cycled. The machine
> allowlist in qcom_scm_qseecom_init() exists because of problems of
> this class.
Please extend this RFC with a user, we generally don't merge exported
functions without an in-tree consumer
Konrad
next prev parent reply other threads:[~2026-11-02 12:28 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20261101160110.3622-1-dezige131@foxmail.com>
2026-11-01 16:01 ` [RFC PATCH 1/2] firmware: qcom: scm: Add QSEECOM app loading and shutdown Haozhen Li
2026-11-02 12:26 ` Konrad Dybcio
2026-11-02 16:27 ` Haozhen Li
2026-11-01 16:01 ` [RFC PATCH 2/2] firmware: qcom: scm: Handle QSEECOM listener callbacks Haozhen Li
2026-11-02 12:28 ` Konrad Dybcio [this message]
2026-11-02 16:27 ` Haozhen Li
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=361131a8-4d30-4e8f-92a3-697dd93e7e30@oss.qualcomm.com \
--to=konrad.dybcio@oss.qualcomm.com \
--cc=abelvesa@kernel.org \
--cc=andersson@kernel.org \
--cc=dezige131@foxmail.com \
--cc=konradybcio@kernel.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=me@dawidwrobel.com \
/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®