From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=217.140.110.172 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795533321; b=jvBVmQT5ihQ4+/V+eqG5nFD8lRjPc8mbHQpT16YWhHsmf97zZ/JPInj+nd6bxAKdZIwQ TW4oxG3U2vOeMlWGevkhMWk4isuOR8+xpVhoIaUBZVlXnIWyM+Ryjcr6eWewmKR5T4pqM j0GIpbWyHdivZn8gV62yRKn71yXBk0dFva8ugdLVTj/jiGOw8fEdPXyV90KmykGwZsA00 0TaeMwPCHlyi/Qy4fgE3M58HxRRGwn3p5tHAYDBn1xsiXJ7pcPAn8wrokjzvyEE9CxaRs IO4U/n3VkgA4M3hyvCgE+64g6mYaDZEb+IFENdh2f/JVId6YcCfcWR+S5oC99S1jK2w== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795533321; h=DMARC-Filter:Received:Received:DKIM-Signature:Message-ID:Date: MIME-Version:User-Agent:Subject:To:Cc:References:Content-Language: From:In-Reply-To:Content-Type:Content-Transfer-Encoding; bh=VCa1si+Rdw90HsiIEyC/2QXZHat4jvLNJ5wZvJeqrHo=; b=Mg/CPfoOaaHYK3CaxIqtAy88aGb0d8sSLsDBCV4EOZCoioBq0ZKTy8vf/JN2v2VdUVXS XRuTI0jgakJ2hdu++3f0cwSXA9/6rkx43ksMs/o//DviasctA+orO0337sG3p1CWCodCR pSF0PzojIfUSFwk5n1E0evzVaypodTrXBXeA5H4TNH09kmZEOHhViyVq8Mww1hpOXZemf SV5E5VXFXgekabdG4k/g3XHUpvT5dU6diDVsHfNT1qZXIj9VAqswsNhYbLiBnYOSyQJe2 wTQgg4ikGpwa+Shwe4rIZuimbkpZElma/xN5NDE8D4qLh7c3YK+7YJEGpCybqqzSjXQ== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=arm.com; spf=pass smtp.mailfrom=arm.com; dkim=pass header.d=arm.com header.i=@arm.com header.a=rsa-sha256 header.s=foss header.b=L5sOuLv2; arc=none smtp.remote-ip=217.140.110.172 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E67E3606A326; Tue, 24 Nov 2026 15:15:20 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org E67E3606A326 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=arm.com header.i=@arm.com header.a=rsa-sha256 header.s=foss header.b=L5sOuLv2 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 47DE1497; Tue, 24 Nov 2026 07:15:17 -0800 (PST) Received: from [192.168.178.24] (usa-sjc-mx-foss1.foss.arm.com [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 2A8D83F763; Tue, 24 Nov 2026 07:15:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=arm.com; s=foss; t=1795533320; bh=6z7AZlLUL2DO+OdyjCHQWwyHNa89NmXSmwHe52ByhhQ=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=L5sOuLv2W/AW84dHcy5h3x3Ld1v3cAaNC+yDmhHBSsvfdR/A4pNfghRoNO4gddfAQ r7DCS9BJ+Ym+pCXK6NqN0JIYBn0cPajbC5S1D39TZs6I3YyU8KNs9qngX5RwyW8IQc fwE6g94hEfLQ88hBzFYMYu6TNkfYhwfKLwX2GQ0Y= Message-ID: <2ce0d340-c26f-4382-a341-bbcfb5575a8c@arm.com> Date: Tue, 24 Nov 2026 16:15:15 +0100 X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v4 2/3] arm64: dts: allwinner: add A733 SoC description To: Enzo Adriano Cc: robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, wens@kernel.org, jernej.skrabec@gmail.com, samuel@sholland.org, Maxime Ripard , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org, Junhui Liu , Jerome Brunet , Pablo Mazzini , Vinicius Pedrosa , Alexander Sverdlin , Jun Yan , Lukas Schmid References: <20261121112312.75ba7299@ryzen.lan> <20261121-a733-dt-v4-2-reply@gmail.com> Content-Language: en-GB From: Andre Przywara In-Reply-To: <20261121-a733-dt-v4-2-reply@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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