From: Rob Herring <robh@kernel.org>
To: Aaron Kling <webgeek1234@gmail.com>
Cc: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>,
Bjorn Andersson <andersson@kernel.org>,
Konrad Dybcio <konradybcio@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Kumar Sharma <quic_vksharma@quicinc.com>,
linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org, Lei Chen <quic_chenlei@quicinc.com>
Subject: Re: [PATCH 2/3] arm64: dts: qcom: sm8550: Add tz-log node
Date: Mon, 9 Feb 2026 11:11:28 -0600 [thread overview]
Message-ID: <20260209171128.GC1401643-robh@kernel.org> (raw)
In-Reply-To: <CALHNRZ-aj+rR0qFuiU+cPNsHWQgMJ2mMjzysJudY-TPN9tY3gg@mail.gmail.com>
On Mon, Feb 02, 2026 at 10:25:23PM -0600, Aaron Kling wrote:
> On Fri, Jan 30, 2026 at 4:59 AM Konrad Dybcio
> <konrad.dybcio@oss.qualcomm.com> wrote:
> >
> > On 1/29/26 8:46 AM, Aaron Kling via B4 Relay wrote:
> > > From: Lei Chen <quic_chenlei@quicinc.com>
> > >
> > > Add DT node to enable tz-log driver.
> > >
> > > Signed-off-by: Lei Chen <quic_chenlei@quicinc.com>
> > > Signed-off-by: Aaron Kling <webgeek1234@gmail.com>
> > > ---
> >
> > It's nice that you preserved the original authorship.
> >
> > Please extend the rather lackluster commit message to explain the
> > "why", which is notably different from the original downstream
> > addition, since your goal here is to mainly appease a grumpy
> > bootloader.
> >
> > > arch/arm64/boot/dts/qcom/sm8550.dtsi | 8 ++++++++
> > > 1 file changed, 8 insertions(+)
> > >
> > > diff --git a/arch/arm64/boot/dts/qcom/sm8550.dtsi b/arch/arm64/boot/dts/qcom/sm8550.dtsi
> > > index e3f93f4f412ded9583a6bc9215185a0daf5f1b57..740e3c238e8ed0f162dd168291f6e307ace66e80 100644
> > > --- a/arch/arm64/boot/dts/qcom/sm8550.dtsi
> > > +++ b/arch/arm64/boot/dts/qcom/sm8550.dtsi
> > > @@ -5136,6 +5136,14 @@ data-pins {
> > > };
> > > };
> > >
> > > + qcom_tzlog: tz-log@146aa720 {
> >
> > If we were to implement qcom,tz-log upstream, this would definitely
> > not be a node randomly in the middle of /soc, rather a child of
> > imem, most likely.
> >
> > Could you please check whether adding a qcom_tzlog label to *any*
> > node makes the BL happy enough? Does it need the properties that
> > this node has?
>
> It does appear that ABL doesn't care about the path name, only the
> label. And given that the original change that worked had the label
> pointing at an empty node, it doesn't fail if all the properties are
> missing. I moved the node underneath an sram node and the bootloader
> loaded my dtbo just fine.
>
> The imem/sram node, though... The numbers don't add up. Per the
> downstream dt, qcom,msm-imem@146aa000 has size 0x1000. Then
> tz-log@146AA720 has size 0x3000. Which... starts within the imem
> range, then blasts quite far outside of it. So... what should this end
> up looking like?
>
> I should also note that an empty node at /soc@0/tz-log fails dt schema
> checks. I presume that adding any warnings would immediately get a
> patch nuked from orbit, which is why I fetched a real binding and node
> from CLO.
That's simply because tz-log has no addresss but is on a MMIO bus. Can't
you just do:
/{
qcom_tzlog: tz-log {};
};
With some note explaining the stupidity.
Rob
next prev parent reply other threads:[~2026-02-09 17:11 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-29 7:46 [PATCH 0/3] arm64: dts: qcom: sm8550: Fix DTBO boot failure Aaron Kling
2026-01-29 7:46 ` Aaron Kling via B4 Relay
2026-01-29 7:46 ` [PATCH 1/3] dt-bindings: firmware: Add tz-log doc Aaron Kling
2026-01-29 7:46 ` Aaron Kling via B4 Relay
2026-02-09 17:03 ` Rob Herring
2026-01-29 7:46 ` [PATCH 2/3] arm64: dts: qcom: sm8550: Add tz-log node Aaron Kling
2026-01-29 7:46 ` Aaron Kling via B4 Relay
2026-01-30 10:59 ` Konrad Dybcio
2026-02-03 4:25 ` Aaron Kling
2026-02-03 9:28 ` Konrad Dybcio
2026-02-04 3:15 ` Aaron Kling
2026-02-09 17:11 ` Rob Herring [this message]
2026-02-09 17:07 ` Rob Herring
2026-02-10 8:50 ` Konrad Dybcio
2026-01-29 7:46 ` [PATCH 3/3] arm64: dts: qcom: sm8550: Fix DTBO boot failure Aaron Kling
2026-01-29 7:46 ` Aaron Kling via B4 Relay
2026-01-31 7:47 ` Dmitry Baryshkov
2026-01-31 9:09 ` Aaron Kling
2026-01-31 10:33 ` Dmitry Baryshkov
2026-02-03 4:42 ` Aaron Kling
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=20260209171128.GC1401643-robh@kernel.org \
--to=robh@kernel.org \
--cc=andersson@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=konrad.dybcio@oss.qualcomm.com \
--cc=konradybcio@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=quic_chenlei@quicinc.com \
--cc=quic_vksharma@quicinc.com \
--cc=webgeek1234@gmail.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.