From: Dinh Nguyen <dinguyen@kernel.org>
To: Beniamin Sandu <beniaminsandu@gmail.com>, devicetree@vger.kernel.org
Cc: robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org
Subject: Re: [PATCH] arm64: dts: socfpga: stratix10: add L2 cache info
Date: Mon, 3 Jun 2024 08:26:26 -0500 [thread overview]
Message-ID: <6207f2ec-0905-4d19-aaf1-b3849d4ac89f@kernel.org> (raw)
In-Reply-To: <20240515181249.296131-1-beniaminsandu@gmail.com>
On 5/15/24 13:12, Beniamin Sandu wrote:
> This removes cacheinfo warnings at boot, e.g.:
> cacheinfo: Unable to detect cache hierarchy for CPU 0
>
> Signed-off-by: Beniamin Sandu <beniaminsandu@gmail.com>
> ---
> arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi | 10 ++++++++++
> 1 file changed, 10 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi b/arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi
> index cbbc53c47921..0def0b0daaf7 100644
> --- a/arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi
> +++ b/arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi
> @@ -34,6 +34,7 @@ cpu0: cpu@0 {
> compatible = "arm,cortex-a53";
> device_type = "cpu";
> enable-method = "psci";
> + next-level-cache = <&l2_shared>;
> reg = <0x0>;
> };
>
> @@ -41,6 +42,7 @@ cpu1: cpu@1 {
> compatible = "arm,cortex-a53";
> device_type = "cpu";
> enable-method = "psci";
> + next-level-cache = <&l2_shared>;
> reg = <0x1>;
> };
>
> @@ -48,6 +50,7 @@ cpu2: cpu@2 {
> compatible = "arm,cortex-a53";
> device_type = "cpu";
> enable-method = "psci";
> + next-level-cache = <&l2_shared>;
> reg = <0x2>;
> };
>
> @@ -55,8 +58,15 @@ cpu3: cpu@3 {
> compatible = "arm,cortex-a53";
> device_type = "cpu";
> enable-method = "psci";
> + next-level-cache = <&l2_shared>;
> reg = <0x3>;
> };
> +
> + l2_shared: cache {
> + compatible = "cache";
> + cache-level = <2>;
> + cache-unified;
> + };
> };
>
> firmware {
Applied!
Thanks,
Dinh
prev parent reply other threads:[~2024-06-03 13:26 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-15 18:12 [PATCH] arm64: dts: socfpga: stratix10: add L2 cache info Beniamin Sandu
2024-06-03 13:26 ` Dinh Nguyen [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=6207f2ec-0905-4d19-aaf1-b3849d4ac89f@kernel.org \
--to=dinguyen@kernel.org \
--cc=beniaminsandu@gmail.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=krzk+dt@kernel.org \
--cc=robh@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).