From: Matthias Brugger <matthias.bgg@gmail.com>
To: Seiya Wang <seiya.wang@mediatek.com>, Rob Herring <robh+dt@kernel.org>
Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org,
srv_heupstream@mediatek.com
Subject: Re: [RESEND v2] arm64: dts: mt8183: support coresight-cpu-debug for mt8183
Date: Fri, 19 Nov 2021 11:38:13 +0100 [thread overview]
Message-ID: <e840f54f-ead6-838b-4433-39cfd309d930@gmail.com> (raw)
In-Reply-To: <20211102090230.25013-1-seiya.wang@mediatek.com>
On 02/11/2021 10:02, Seiya Wang wrote:
> Add coresight-cpu-debug nodes to mt8183 for dumping
> EDPRSR, EDPCSR, EDCIDSR, EDVIDSR
> while kernel panic happens
>
> Signed-off-by: Seiya Wang <seiya.wang@mediatek.com>
Applied to v5.16-next/dts64
Thanks
> ---
> arch/arm64/boot/dts/mediatek/mt8183.dtsi | 64 ++++++++++++++++++++++++++++++++
> 1 file changed, 64 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/mediatek/mt8183.dtsi b/arch/arm64/boot/dts/mediatek/mt8183.dtsi
> index 409cf827970c..2d36575e7dbe 100644
> --- a/arch/arm64/boot/dts/mediatek/mt8183.dtsi
> +++ b/arch/arm64/boot/dts/mediatek/mt8183.dtsi
> @@ -367,6 +367,70 @@
> reg = <0 0x0c530a80 0 0x50>;
> };
>
> + cpu_debug0: cpu-debug@d410000 {
> + compatible = "arm,coresight-cpu-debug", "arm,primecell";
> + reg = <0x0 0xd410000 0x0 0x1000>;
> + clocks = <&infracfg CLK_INFRA_DEBUGSYS>;
> + clock-names = "apb_pclk";
> + cpu = <&cpu0>;
> + };
> +
> + cpu_debug1: cpu-debug@d510000 {
> + compatible = "arm,coresight-cpu-debug", "arm,primecell";
> + reg = <0x0 0xd510000 0x0 0x1000>;
> + clocks = <&infracfg CLK_INFRA_DEBUGSYS>;
> + clock-names = "apb_pclk";
> + cpu = <&cpu1>;
> + };
> +
> + cpu_debug2: cpu-debug@d610000 {
> + compatible = "arm,coresight-cpu-debug", "arm,primecell";
> + reg = <0x0 0xd610000 0x0 0x1000>;
> + clocks = <&infracfg CLK_INFRA_DEBUGSYS>;
> + clock-names = "apb_pclk";
> + cpu = <&cpu2>;
> + };
> +
> + cpu_debug3: cpu-debug@d710000 {
> + compatible = "arm,coresight-cpu-debug", "arm,primecell";
> + reg = <0x0 0xd710000 0x0 0x1000>;
> + clocks = <&infracfg CLK_INFRA_DEBUGSYS>;
> + clock-names = "apb_pclk";
> + cpu = <&cpu3>;
> + };
> +
> + cpu_debug4: cpu-debug@d810000 {
> + compatible = "arm,coresight-cpu-debug", "arm,primecell";
> + reg = <0x0 0xd810000 0x0 0x1000>;
> + clocks = <&infracfg CLK_INFRA_DEBUGSYS>;
> + clock-names = "apb_pclk";
> + cpu = <&cpu4>;
> + };
> +
> + cpu_debug5: cpu-debug@d910000 {
> + compatible = "arm,coresight-cpu-debug", "arm,primecell";
> + reg = <0x0 0xd910000 0x0 0x1000>;
> + clocks = <&infracfg CLK_INFRA_DEBUGSYS>;
> + clock-names = "apb_pclk";
> + cpu = <&cpu5>;
> + };
> +
> + cpu_debug6: cpu-debug@da10000 {
> + compatible = "arm,coresight-cpu-debug", "arm,primecell";
> + reg = <0x0 0xda10000 0x0 0x1000>;
> + clocks = <&infracfg CLK_INFRA_DEBUGSYS>;
> + clock-names = "apb_pclk";
> + cpu = <&cpu6>;
> + };
> +
> + cpu_debug7: cpu-debug@db10000 {
> + compatible = "arm,coresight-cpu-debug", "arm,primecell";
> + reg = <0x0 0xdb10000 0x0 0x1000>;
> + clocks = <&infracfg CLK_INFRA_DEBUGSYS>;
> + clock-names = "apb_pclk";
> + cpu = <&cpu7>;
> + };
> +
> topckgen: syscon@10000000 {
> compatible = "mediatek,mt8183-topckgen", "syscon";
> reg = <0 0x10000000 0 0x1000>;
>
prev parent reply other threads:[~2021-11-19 10:38 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-02 9:02 Seiya Wang
2021-11-19 10:38 ` Matthias Brugger [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=e840f54f-ead6-838b-4433-39cfd309d930@gmail.com \
--to=matthias.bgg@gmail.com \
--cc=devicetree@vger.kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mediatek@lists.infradead.org \
--cc=robh+dt@kernel.org \
--cc=seiya.wang@mediatek.com \
--cc=srv_heupstream@mediatek.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 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®