From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id CB3D2C982F7 for ; Mon, 21 Sep 2026 11:14:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=FVPnbDPg6NPVwGQT/C+W1Qu/uMpuyNippfZ5fBWEgG0=; b=jcUrZgfjlKMiuQ8TzwY8ncToL5 gbaSbbxeddKP3y8DGFaL5dCCQly4mHvnBO7BIDVJBqFEJFhZTXCfP5+gFzAMFEy/0YFU9vavWBjeo ZfxZ3+hXVmGDiwFvXQCqrEbW7l7U2r21FqnNWGBy8Suq2zRcmqEyEsRRs6+Wufvi5ekbp9qaLHgS3 tE7jmtkEemJJxtdwLvaoxbbmCAvJoSCoQC99DeQdwQ4O80Upq6tnzTfIz+m0uPbtK/2l5QsPIo+U8 CgGlHucFthYwU+uPCAkIab5ZdX5r63e9RGLWFk7cDVS6h4Gg1gxyYDfcDAurF3NhPklReZLWtEZOE 2SoaQMiQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.99.1 #2 (Red Hat Linux)) id 1x8byt-00000001qJM-2b6y; Mon, 21 Sep 2026 11:14:43 +0000 Received: from tor.source.kernel.org ([2600:3c04:e001:324:0:1991:8:25]) by bombadil.infradead.org with esmtps (Exim 4.99.1 #2 (Red Hat Linux)) id 1x8bym-00000001qEi-3hoK; Mon, 21 Sep 2026 11:14:36 +0000 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) by tor.source.kernel.org (Postfix) with ESMTP id 4DEAB60142; Mon, 21 Sep 2026 11:14:35 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id EF6DD1F00893; Mon, 21 Sep 2026 11:14:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1789989275; bh=FVPnbDPg6NPVwGQT/C+W1Qu/uMpuyNippfZ5fBWEgG0=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=fXmd1bjU8aLo6SvjWyXlK7EgKy3qhO9x42gtcVQGXnYHEQrCLkXE8KnqfNfeN4pG3 3HP2dQ6OkDabXncrsuTR0D8KQH5PJd12zw6G4bKcv+hg64C3AclNq190EgNjAUkbG1 1KSo1r9tsi++b/VDebVqOhOM8NaKRtk2MAJqOSbXDby25wNecnx0JX3QkgRJVPXj8J DW+A63pV82bCeSQGN0SrW0C7Fbb2L9RS/eUEtDZT9x20EhMeyY2vMLuxMm1o+nyM1v gjI6nfFi+wKOLyHAqhsXvjQPW1cNaoqf/moX9ZWUtAY56OwDsJpgtAGiFQvGrK3HO0 bqDkmc74T4gTQ== Date: Mon, 21 Sep 2026 12:14:29 +0100 From: Sudeep Holla To: Troy Mitchell Cc: Greg Kroah-Hartman , Sudeep Holla , "Rafael J. Wysocki" , Danilo Krummrich , Paul Walmsley , Palmer Dabbelt , Albert Ou , Alexandre Ghiti , Catalin Marinas , Will Deacon , Mark Rutland , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-kernel@vger.kernel.org, driver-core@lists.linux.dev, linux-riscv@lists.infradead.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org Subject: Re: [PATCH RFC 2/3] arch_topology: Parse die nodes in /cpu-map Message-ID: <20260921-rational-frisky-jerboa-0f2ff0@sudeepholla> References: <20260920-riscv-die-topology-rfc-v1-0-071c0bf61d5f@linux.dev> <20260920-riscv-die-topology-rfc-v1-2-071c0bf61d5f@linux.dev> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20260920-riscv-die-topology-rfc-v1-2-071c0bf61d5f@linux.dev> X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Sun, Sep 20, 2026 at 11:18:03AM +0800, Troy Mitchell wrote: > The devicetree CPU map can distinguish packages and clusters but cannot > describe multiple dies in one package. Such systems have to flatten all > clusters into the package, making cluster identifiers package-wide and > hiding the die boundary. > > Recognize an optional sequence of dieN nodes between a socket and its > clusters, and propagate the die identifier to every CPU below it. Enumerate > clusters independently below each die. > > When a CPU map has no dieN nodes, continue parsing its existing package > and cluster hierarchy but pass -1 as the die identifier. Legacy maps > therefore remain compatible without being reported as an explicitly > described die 0. > Where is the associated bindings ? Am I missing to check it in the series or it is really missing ? It is essential to add any code using the binding. Also how does it align with ACPI implementation ? It is preferred to be in parity here, so we need some binding there as well IMHO. -- Regards, Sudeep