[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <36aadb47-7cea-47cc-8952-6eab14c925e8@foss.st.com>
Date: Mon, 12 Jan 2026 16:56:45 +0100
From: Gatien CHEVALLIER <gatien.chevallier@...s.st.com>
To: Linus Walleij <linusw@...nel.org>,
Jens Wiklander
<jens.wiklander@...aro.org>
CC: Suzuki K Poulose <suzuki.poulose@....com>,
Mike Leach
<mike.leach@...aro.org>,
James Clark <james.clark@...aro.org>, Rob Herring
<robh@...nel.org>,
Krzysztof Kozlowski <krzk+dt@...nel.org>,
Conor Dooley
<conor+dt@...nel.org>,
Mathieu Poirier <mathieu.poirier@...aro.org>,
Leo Yan
<leo.yan@...ux.dev>,
Clément Le Goffic
<legoffic.clement@...il.com>,
Maxime Coquelin <mcoquelin.stm32@...il.com>,
Alexandre Torgue <alexandre.torgue@...s.st.com>,
<coresight@...ts.linaro.org>, <linux-arm-kernel@...ts.infradead.org>,
<devicetree@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<linux-gpio@...r.kernel.org>,
<linux-stm32@...md-mailman.stormreply.com>,
Antonio Borneo <antonio.borneo@...s.st.com>
Subject: Re: [PATCH 00/11] bus: add stm32 debug bus and coresight support for
stm32mp1x platforms
On 1/10/26 00:10, Linus Walleij wrote:
> Hi Gatien,
>
> thanks for your patch series!
>
> On Fri, Jan 9, 2026 at 11:56 AM Gatien Chevallier
> <gatien.chevallier@...s.st.com> wrote:
>
>> Stm32 SoCs embed debug peripherals such as Coresight. These peripherals
>> can monitor the activity of the cores. Because of that, they can be
>> used only if some features in the debug configuration are enabled.
>> Else, errors or firewall exceptions can be observed. Similarly to
>> the ETZPC(on stm32mp1x platforms) or the RIFSC(on stm32mp2x platforms),
>> debug-related peripherals access can be assessed at bus level to
>> prevent these issues from happening.
>>
>> The debug configuration can only be accessed by the secure world.
>> That means that a service must be implemented in the secure world for
>> the kernel to check the firewall configuration. On OpenSTLinux, it is
>> done through a Debug access PTA in OP-TEE [1].
>> To represent the debug peripherals present on a dedicated debug bus,
>> create a debug bus node in the device tree and the associated driver
>> that will interact with this PTA.
>>
>> [1]: https://github.com/OP-TEE/optee_os/pull/7673
>>
>> Signed-off-by: Gatien Chevallier <gatien.chevallier@...s.st.com>
>
> I think Jens Wiklander wants to have a look at this partch
> series, so added him to the To:.
>
> Yours,
> Linus Walleij
Hi Linus,
Sure, I'll keep the To. addition for V2, thank you.
Best regards,
Gatien
Powered by blists - more mailing lists