mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
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 1/2] firmware: qcom: Introduce qcom_secure_log interface to display QTEE logs
Date: Wed, 2 Dec 2026 10:10:14 +0100	[thread overview]
Message-ID: <f961a479-0ea9-4224-b76f-32e3b5950457@oss.qualcomm.com> (raw)
In-Reply-To: <20261202-qcom_secure_log_rfc-v1-1-9eaf98f14605@oss.qualcomm.com>

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)

Konrad

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

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=f961a479-0ea9-4224-b76f-32e3b5950457@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®