mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Kuldeep Singh <kuldeep.singh@oss.qualcomm.com>
To: Konrad Dybcio <konrad.dybcio@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 17:45:32 +0530	[thread overview]
Message-ID: <761293e1-6227-44aa-9ad4-001ac758036e@oss.qualcomm.com> (raw)
In-Reply-To: <363658ad-1777-47a1-8e0e-7323ecb0c4b0@oss.qualcomm.com>

On 02-12-2026 14:42, Konrad Dybcio wrote:
> 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

My bad! It's renaming functions and adding more diff.
I'll reduce the churn in next rev.

-- 
Regards
Kuldeep


      reply	other threads:[~2026-12-02 12:15 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
2026-12-02 12:15     ` Kuldeep Singh [this message]

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=761293e1-6227-44aa-9ad4-001ac758036e@oss.qualcomm.com \
    --to=kuldeep.singh@oss.qualcomm.com \
    --cc=abelvesa@kernel.org \
    --cc=andersson@kernel.org \
    --cc=dmitry.baryshkov@oss.qualcomm.com \
    --cc=konrad.dybcio@oss.qualcomm.com \
    --cc=konradybcio@kernel.org \
    --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®