From: Peter Chen <peter.chen@cixtech.com>
To: Marcin Juszkiewicz <marcin@juszkiewicz.com.pl>
Cc: "arnd@arndb.de" <arnd@arndb.de>,
"catalin.marinas@arm.com" <catalin.marinas@arm.com>,
cix-kernel-upstream <cix-kernel-upstream@cixtech.com>,
"conor+dt@kernel.org" <conor+dt@kernel.org>,
"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
Fugang Duan <fugang.duan@cixtech.com>,
"krzk+dt@kernel.org" <krzk+dt@kernel.org>,
"linux-arm-kernel@lists.infradead.org"
<linux-arm-kernel@lists.infradead.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"robh@kernel.org" <robh@kernel.org>,
"will@kernel.org" <will@kernel.org>
Subject: Re: [PATCH 6/6] arm64: dts: cix: add initial CIX P1(SKY1) dts support
Date: Tue, 25 Feb 2025 11:21:51 +0800 [thread overview]
Message-ID: <Z703T0F7I8TmCeew@nchen-desktop> (raw)
In-Reply-To: <7f673cea-8d85-404a-b380-4282c0e3c0ad@juszkiewicz.com.pl>
On 25-02-24 15:06:19, Marcin Juszkiewicz wrote:
> > > > diff --git a/arch/arm64/boot/dts/cix/sky1.dtsi b/arch/arm64/boot/dts/cix/sky1.dtsi
> > > > new file mode 100644
> > > > index 000000000000..d98735f782e0
> > > > --- /dev/null
> > > > +++ b/arch/arm64/boot/dts/cix/sky1.dtsi
> > > > @@ -0,0 +1,264 @@
> > > > +// SPDX-License-Identifier: BSD-3-Clause
> > > > +/*
> > > > + * Copyright 2025 Cix Technology Group Co., Ltd.
> > > > + *
> > > > + */
> > > > +
> > > > +#include <dt-bindings/interrupt-controller/arm-gic.h>
> > >
> > > [..]
> > >
> > > > + arch_timer: timer {
> > > > + compatible = "arm,armv8-timer";
> > > > + interrupts = <GIC_PPI 13 IRQ_TYPE_LEVEL_LOW>,
> > > > + <GIC_PPI 14 IRQ_TYPE_LEVEL_LOW>,
> > > > + <GIC_PPI 11 IRQ_TYPE_LEVEL_LOW>,
> > > > + <GIC_PPI 10 IRQ_TYPE_LEVEL_LOW>;
> > > > + clock-frequency = <1000000000>;
> > > > + interrupt-parent = <&gic>;
> > > > + arm,no-tick-in-suspend;
> > > > + };
> > >
> > > This is not Arm v8.0 SoC so where is non-secure EL2 virtual timer?
> >
> > It is the Arm v9 SoC and back compatible with Arm v8.
>
> Arm SoC has several timer interrupts:
>
> PPI 10: Non-secure EL2 physical timer interrupt
> PPI 11: Virtual timer interrupt
> PPI 12: Non-secure EL2 virtual timer
> PPI 13: Secure physical timer interrupt
> PPI 14: Non-secure physical timer interrupt
>
> You mention 10, 11, 13, 14 only like your SoC would be plain old Arm
> v8.0 one (Cortex-A53/A72).
>
> Sky1 (CP/CA/CS8180) is Arm v9 so should also list PPI 12 which came with
> VHE (Virtualization host extensions) which is mandatory for each Arm cpu
> v8.1 or above (and is implemented in A520/A720 cores).
Thanks for mentioning it. I will add PPI 12 for v2 patch set.
--
Best regards,
Peter
next prev parent reply other threads:[~2025-02-25 3:24 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-20 8:40 [PATCH 0/6] arm64: Introduce CIX P1 (SKY1) SoC Peter Chen
2025-02-20 8:40 ` [PATCH 1/6] dt-bindings: arm: add " Peter Chen
2025-02-20 12:18 ` Krzysztof Kozlowski
2025-02-20 8:40 ` [PATCH 2/6] dt-bindings: vendor-prefixes: Add CIX Technology Group Co., Ltd Peter Chen
2025-02-20 12:18 ` Krzysztof Kozlowski
2025-02-20 13:04 ` Peter Chen
2025-02-20 8:40 ` [PATCH 3/6] MAINTAINERS: Add CIX SoC maintainer entry Peter Chen
2025-02-20 8:40 ` [PATCH 4/6] arm64: Kconfig: add ARCH_CIX for cix silicons Peter Chen
2025-02-20 12:18 ` Krzysztof Kozlowski
2025-02-20 13:03 ` Peter Chen
2025-02-20 8:40 ` [PATCH 5/6] arm64: defconfig: Enable CIX SoC Peter Chen
2025-02-20 12:19 ` Krzysztof Kozlowski
2025-02-20 13:02 ` Peter Chen
2025-02-20 8:40 ` [PATCH 6/6] arm64: dts: cix: add initial CIX P1(SKY1) dts support Peter Chen
2025-02-20 10:58 ` Arnd Bergmann
2025-02-20 12:30 ` Peter Chen
2025-02-21 11:42 ` Krzysztof Kozlowski
2025-02-24 2:26 ` Peter Chen
2025-02-24 8:06 ` Krzysztof Kozlowski
2025-02-24 10:39 ` Peter Chen
2025-02-24 12:07 ` Krzysztof Kozlowski
2025-02-25 1:24 ` Peter Chen
2025-02-20 12:23 ` Krzysztof Kozlowski
2025-02-21 22:46 ` Rob Herring
2025-02-24 6:09 ` Peter Chen
2025-02-22 20:05 ` Marcin Juszkiewicz
2025-02-24 11:36 ` Peter Chen
2025-02-24 14:06 ` Marcin Juszkiewicz
2025-02-25 3:21 ` Peter Chen [this message]
2025-02-20 21:29 ` [PATCH 0/6] arm64: Introduce CIX P1 (SKY1) SoC Rob Herring (Arm)
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=Z703T0F7I8TmCeew@nchen-desktop \
--to=peter.chen@cixtech.com \
--cc=arnd@arndb.de \
--cc=catalin.marinas@arm.com \
--cc=cix-kernel-upstream@cixtech.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=fugang.duan@cixtech.com \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=marcin@juszkiewicz.com.pl \
--cc=robh@kernel.org \
--cc=will@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 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.