From: "Alexander Letuchiy" <asalde.le1@gmail.com>
To: <sashiko-reviews@lists.linux.dev>
Cc: <devicetree@vger.kernel.org>, <linux-serial@vger.kernel.org>,
<linux-input@vger.kernel.org>, <robh@kernel.org>,
<conor+dt@kernel.org>, <dmitry.torokhov@gmail.com>
Subject: Re: [PATCH v3 6/7] arm64: dts: mediatek: Add MT6895 SoC
Date: Mon, 23 Nov 2026 15:23:56 +0300 [thread overview]
Message-ID: <DN2L64B7KMAK.11FXWAFFOOFV5@gmail.com> (raw)
In-Reply-To: <sashiko-outbox-229131@kernel.org>
On Mon Nov 23, 2026 at 2:25 PM MSK, sashiko-bot wrote:
> Thank you for your contribution! Sashiko AI review found 1 potential
> issue to consider:
> - [Low] arm64: dts: mediatek: mt6895: missing EL2 virtual timer
> interrupt in timer node
> --
>
> commit 52307c1c986494baf205914bdd46826de40efb27
> Author: Alexander Letuchiy <asalde.le1@gmail.com>
>
> arm64: dts: mediatek: Add MT6895 SoC
>
> This commit adds initial devicetree support for the MediaTek MT6895 SoC,
> describing its Cortex-A55 and Cortex-A78 CPUs, caches, GICv3, PMUs, timers,
> pin controller, UARTs, watchdog, and keypad.
>
>> diff --git a/arch/arm64/boot/dts/mediatek/mt6895.dtsi b/arch/arm64/boot/dts/mediatek/mt6895.dtsi
>> new file mode 100644
>> index 0000000000000..62584cec0f4fc
>> --- /dev/null
>> +++ b/arch/arm64/boot/dts/mediatek/mt6895.dtsi
>
> [ ... ]
>
>> + timer {
>> + compatible = "arm,armv8-timer";
>> + interrupts = <GIC_PPI 13 IRQ_TYPE_LEVEL_HIGH 0>,
>> + <GIC_PPI 14 IRQ_TYPE_LEVEL_HIGH 0>,
>> + <GIC_PPI 11 IRQ_TYPE_LEVEL_HIGH 0>,
>> + <GIC_PPI 10 IRQ_TYPE_LEVEL_HIGH 0>;
>> + };
>> +};
>
> [Severity: Low]
> Should this timer node also include the fifth PPI (<GIC_PPI 12
> IRQ_TYPE_LEVEL_HIGH 0>) for the EL2 virtual timer?
>
> Cortex-A55 and Cortex-A78 implement FEAT_VHE, so when Linux boots at EL2 in
> VHE mode without the fifth interrupt entry, arch_timer_select_ppi() logs a
> FW_BUG warning ("VHE-capable CPU without EL2 virtual timer interrupt") and
> falls back to the EL2 physical timer.
Yes, you are right, thanks. The A55/A78 cores implement FEAT_VHE, so the
fifth PPI (EL2 virtual timer) should be there too. I will add it in the
next version, or send a follow-up patch if the initial support is merged
first.
next prev parent reply other threads:[~2026-11-23 12:24 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-23 11:18 [PATCH v3 0/7] arm64: mediatek: Add initial MT6895 and Xiaomi Poco X4 GT support Alexander Letuchiy
2026-11-23 11:18 ` [PATCH v3 1/7] dt-bindings: arm: mediatek: Add MT6895 and Xiaomi Poco X4 GT Alexander Letuchiy
2026-11-23 11:18 ` [PATCH v3 2/7] dt-bindings: serial: mediatek,uart: Add compatible for MT6895 Alexander Letuchiy
2026-11-23 11:18 ` [PATCH v3 3/7] dt-bindings: timer: mediatek,timer: " Alexander Letuchiy
2026-11-23 11:18 ` [PATCH v3 4/7] dt-bindings: input: mediatek,mt6779-keypad: " Alexander Letuchiy
2026-11-23 11:18 ` [PATCH v3 5/7] arm64: dts: mediatek: Add MT6895 pinmux macro header file Alexander Letuchiy
2026-11-23 11:18 ` [PATCH v3 6/7] arm64: dts: mediatek: Add MT6895 SoC Alexander Letuchiy
2026-11-23 11:25 ` sashiko-bot
2026-11-23 12:23 ` Alexander Letuchiy [this message]
2026-11-23 11:18 ` [PATCH v3 7/7] arm64: dts: mediatek: Add Xiaomi Poco X4 GT Alexander Letuchiy
2026-11-23 12:00 ` Roman Vivchar
2026-11-23 12:13 ` Alexander Letuchiy
2026-11-23 11:41 ` [PATCH v3 0/7] arm64: mediatek: Add initial MT6895 and Xiaomi Poco X4 GT support Roman Vivchar
2026-11-23 11:59 ` Alexander Letuchiy
2026-11-23 12:04 ` Roman Vivchar
2026-11-23 12:17 ` Alexander Letuchiy
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=DN2L64B7KMAK.11FXWAFFOOFV5@gmail.com \
--to=asalde.le1@gmail.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=dmitry.torokhov@gmail.com \
--cc=linux-input@vger.kernel.org \
--cc=linux-serial@vger.kernel.org \
--cc=robh@kernel.org \
--cc=sashiko-reviews@lists.linux.dev \
/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