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 1/2] firmware: qcom: Introduce qcom_secure_log interface to display QTEE logs
Date: Wed, 2 Dec 2026 17:44:34 +0530	[thread overview]
Message-ID: <b6e70073-4124-4da8-b85d-a08e136916ff@oss.qualcomm.com> (raw)
In-Reply-To: <f961a479-0ea9-4224-b76f-32e3b5950457@oss.qualcomm.com>

On 02-12-2026 14:40, Konrad Dybcio wrote:
> On 12/1/26 11:33 PM, Kuldeep Singh wrote:
>> Define an interface to basically map TZ diag ocimem physical address as
>> per soc family and ioremap further to map region for userspace access.
>> The ocimem address is roughly same over targets(few possible values
>> only) and hence, maintaining machine compatible list and size for target
>> family.
>>
>> Signed-off-by: Kuldeep Singh <kuldeep.singh@oss.qualcomm.com>
>> ---
> 
> [...]
> 
>> +static const struct qcom_secure_log_config qcom_secure_log_configs[] = {
>> +	{
>> +		.compatibles = qcom_secure_log_c125720,
>> +		.imem_phys = 0x0c125720,
> 
> We already define IMEM in the dt - just grab a reference to a subnode
> of it (or better, bind the driver to it)

Ahh, I see base imem addr is mentioned and need to add subnode for
tz-diag base ptr for all targets. I can understand what's needed here.
Let me update. Thanks!!

Btw, can you please take a look at overall design mentioned in cover letter?
I'll incorporate this piece.

-- 
Regards
Kuldeep


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

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=b6e70073-4124-4da8-b85d-a08e136916ff@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®