mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andre Przywara <andre.przywara@arm.com>
To: Enzo Adriano <enzo.adriano.code@gmail.com>
Cc: robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org,
	wens@kernel.org, jernej.skrabec@gmail.com, samuel@sholland.org,
	Maxime Ripard <mripard@kernel.org>,
	devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
	linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org,
	Junhui Liu <junhui.liu@pigmoral.tech>,
	Jerome Brunet <jbrunet@baylibre.com>,
	Pablo Mazzini <pmazzini@gmail.com>,
	Vinicius Pedrosa <vinicius.eduardo.pedrosa@gmail.com>,
	Alexander Sverdlin <alex@sverdlin.org>,
	Jun Yan <jerrysteve1101@gmail.com>,
	Lukas Schmid <lukas.schmid@netcube.li>
Subject: Re: [PATCH v4 2/3] arm64: dts: allwinner: add A733 SoC description
Date: Tue, 24 Nov 2026 16:15:15 +0100	[thread overview]
Message-ID: <2ce0d340-c26f-4382-a341-bbcfb5575a8c@arm.com> (raw)
In-Reply-To: <20261121-a733-dt-v4-2-reply@gmail.com>

Hi,

On 11/23/26 18:42, Enzo Adriano wrote:
>> So what's the purpose of this cpu-map really if it's all flat?
>> I wonder what the term "cluster" should really mean, here? I mean there
>> are surely different types of cores connected, with separate frequency
>> and power domains. So the cpu-map should not be flat, but describe that.
>> Yes, they all use the same MPIDR affinity level, and the manual talks
>> of "cluster0" only, but I wonder if this is not what this node here is
>> about.
>> Looks like the RK3588 also uses the same affinity level for all cores,
>> but has a differentiated cpu-map.
> 
> The map records the topology in the A733 User Manual v1.00,
> section 5.1.2, figure 5-1. The six A55s and two A76s sit in one
> DynamIQ unit and share L3.

I would be careful with what's shown in those diagrams, they often 
simplify things, and Allwinner's documentation doesn't have the best 
reputation when it comes to fidelity ;-)

> The BSP's separate PLLs, CPU frequency
> policies and DCDC5/DCDC3 supplies (A7S schematic sheet 4) describe
> two DVFS groups. Mainline can describe those with the clocks,
> separate opp-shared tables and CPU supplies.

Yes, they are separate now, whereas older SoCs would only allow one 
voltage and one frequency, across all cores. But those were v8.0 cores, 
without an DSU.
 From what I gathered, it is an explicit feature of those DynamIQ DSUs 
to combine multiple microarchitectures in one "cluster", and allow 
separate frequency and power domains. The shared L3 cache seems to be 
the defining feature of a "cluster" now.

> RK3588 and GS101 both use 4+2+2 maps. MediaTek changed MT8195,
> MT8192 and MT8186 to one cluster each. The MT8195 patch says the
> big and little CPUs are "in one cluster: fix the CPU map to reflect
> that." The other two patches make the same point for their SoCs.

Ah, so there are indeed conflicting examples. Apparently this cpu-map 
and the topology described there doesn't mean too much anymore, in 
practical terms.

> 
> https://lore.kernel.org/r/20230126103526.417039-2-angelogioacchino.delregno@collabora.com
> https://lore.kernel.org/r/20230126103526.417039-3-angelogioacchino.delregno@collabora.com
> https://lore.kernel.org/r/20230126103526.417039-4-angelogioacchino.delregno@collabora.com
> 
> I kept one cluster in v5. Do you still prefer a 6+2 split?

No, with this information just one cluster, in a "flat" map, is fine.

Thanks,
Andre


  reply	other threads:[~2026-11-24 15:15 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-19 18:09 [PATCH v4 0/3] arm64: dts: allwinner: add A733/Cubie A7S support Enzo Adriano
2026-11-19 18:09 ` [PATCH v4 1/3] dt-bindings: arm: sunxi: document Radxa Cubie A7S Enzo Adriano
2026-11-21 23:40   ` Andre Przywara
2026-11-23 17:42     ` Enzo Adriano
2026-11-24 14:42       ` Andre Przywara
2026-11-19 18:09 ` [PATCH v4 2/3] arm64: dts: allwinner: add A733 SoC description Enzo Adriano
2026-11-21 10:23   ` Andre Przywara
2026-11-23 17:42     ` Enzo Adriano
2026-11-24 15:15       ` Andre Przywara [this message]
2026-11-19 18:09 ` [PATCH v4 3/3] arm64: dts: allwinner: add Radxa Cubie A7S board Enzo Adriano
2026-11-21 23:39   ` Andre Przywara
2026-11-23 17:43     ` Enzo Adriano

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=2ce0d340-c26f-4382-a341-bbcfb5575a8c@arm.com \
    --to=andre.przywara@arm.com \
    --cc=alex@sverdlin.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=enzo.adriano.code@gmail.com \
    --cc=jbrunet@baylibre.com \
    --cc=jernej.skrabec@gmail.com \
    --cc=jerrysteve1101@gmail.com \
    --cc=junhui.liu@pigmoral.tech \
    --cc=krzk+dt@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-sunxi@lists.linux.dev \
    --cc=lukas.schmid@netcube.li \
    --cc=mripard@kernel.org \
    --cc=pmazzini@gmail.com \
    --cc=robh@kernel.org \
    --cc=samuel@sholland.org \
    --cc=vinicius.eduardo.pedrosa@gmail.com \
    --cc=wens@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

all inboxes | Powered by JetHome®