From: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
To: Kuldeep Singh <kuldeep.singh@oss.qualcomm.com>,
Bjorn Andersson <andersson@kernel.org>,
Konrad Dybcio <konradybcio@kernel.org>,
Abel Vesa <abelvesa@kernel.org>,
Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Cc: linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org
Subject: Re: [PATCH RFC 2/2] firmware: qcom: Add legacy QSEE secure log support
Date: Wed, 2 Dec 2026 10:12:28 +0100 [thread overview]
Message-ID: <363658ad-1777-47a1-8e0e-7323ecb0c4b0@oss.qualcomm.com> (raw)
In-Reply-To: <20261202-qcom_secure_log_rfc-v1-2-9eaf98f14605@oss.qualcomm.com>
On 12/1/26 11:33 PM, Kuldeep Singh wrote:
> QSee log(or TA log buffer) is owned by kernel and QTEE doesn't own of
> it's own. Implement new scm call to register this buffer with QTEE where
> QTEE maps buffer as RW and RO for kernel by imposing access restriction.
>
> The qsee log read mechanism is somewhat similar to reading TZ diag logs
> and be done in userspace.
>
> Signed-off-by: Kuldeep Singh <kuldeep.singh@oss.qualcomm.com>
> ---
[...]
> -static int qcom_secure_log_mmap(struct file *file, struct vm_area_struct *vma)
> -{
> - struct qcom_secure_log *log = container_of(file->private_data,
> - struct qcom_secure_log,
> - miscdev);
Please massage patch 1 to more closely reflect the final state of
this file (renames, placement etc.) so that this diff ends up being
smaller
[...]
> -MODULE_DESCRIPTION("Qualcomm TZ diagnostic log");
> +MODULE_DESCRIPTION("Qualcomm secure-world log interface");
This is also something p1 should get right
Konrad
next prev parent reply other threads:[~2026-12-02 9:12 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-01 22:33 [PATCH RFC 0/2] Add support to display QTEE/OPTEE secure logs on Qualcomm platforms Kuldeep Singh
2026-12-01 22:33 ` [PATCH RFC 1/2] firmware: qcom: Introduce qcom_secure_log interface to display QTEE logs Kuldeep Singh
2026-12-02 9:10 ` Konrad Dybcio
2026-12-02 12:14 ` Kuldeep Singh
2026-12-01 22:33 ` [PATCH RFC 2/2] firmware: qcom: Add legacy QSEE secure log support Kuldeep Singh
2026-12-02 9:12 ` Konrad Dybcio [this message]
2026-12-02 12:15 ` Kuldeep Singh
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=363658ad-1777-47a1-8e0e-7323ecb0c4b0@oss.qualcomm.com \
--to=konrad.dybcio@oss.qualcomm.com \
--cc=abelvesa@kernel.org \
--cc=andersson@kernel.org \
--cc=dmitry.baryshkov@oss.qualcomm.com \
--cc=konradybcio@kernel.org \
--cc=kuldeep.singh@oss.qualcomm.com \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
/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®