Received: by 2002:ac0:98c7:0:0:0:0:0 with SMTP id g7-v6csp2242490imd; Fri, 2 Nov 2018 08:12:40 -0700 (PDT) X-Google-Smtp-Source: AJdET5fUmattdH5f9BLocAQQ2SO98wWRNQ64ZLnSpcEqvjRIj2hGtt6d50TDwnVXFReXc3MykOfA X-Received: by 2002:a62:8a91:: with SMTP id o17-v6mr12304205pfk.184.1541171560762; Fri, 02 Nov 2018 08:12:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1541171560; cv=none; d=google.com; s=arc-20160816; b=UV183melxigt0FMDzK3CkXEpgo5Qoxo1mbmjoiSD0lH/kUlLTkQGdTz2qFLvWqA1qV hyIB8qnOFa92T5z1KJjdYe1ykauv+oRwWJUJU8CK+pqZ08RkIVSAVRZQxtxSPSN3NvH1 fciZaUPQGWk1ABCbLWvA6H+Y57Xi0GaEZfgVjgQCYu0oFssMFna+72Zbk/ZAkGy431Xk jglQQXIyaUf923iJwLT8NfHjKKcLg36NSY9KzEUd7seDM+VQqZcYRdZC961vmUJQF55c miTNXFhzGl+hryLm5eSN+Cd7MXhIp6mDqtZe4tCU2n4MRC/rz0P09jk6v/+61ZzcCRed xXZw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=PLLSRBxH2duP2huVUvic9ejnCt3PIwq3FNbz6pgJQ3Q=; b=KkV9h/mR5o/IuOcEnZ+XA+GdZjSB+4/FnSouFunTS0Oo0IvIGeSBWVWPVaTPog8lHq sY3tO66DQL/QxGiSSrxIKxLLCCsdmL7pCHZQyZYpcfMYfAQsr3pycCN1v+pFjtXn3ST/ INk0AZ5LmNhl4d+wnouf+AlP1Rpd576US+ckef069cM3PxV57N20K6MemE7U8J9iK2FG HNcG30O5LIYnpLdQzfMwOzRHxpFaeKcbiiKkc1jcfQuElwLYFa7pmteo8dF2Y/w62Okz UVPRIxgPE8pUIB3h2q6Y1wIeW6dJ4U9MTNr4UadK24uT8dGfttI/BDx0/Ih4VpB2l7ab UWKQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=ZlehDFIH; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id bi11-v6si18978542plb.20.2018.11.02.08.12.23; Fri, 02 Nov 2018 08:12:40 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=ZlehDFIH; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727668AbeKCATQ (ORCPT + 99 others); Fri, 2 Nov 2018 20:19:16 -0400 Received: from mail.kernel.org ([198.145.29.99]:38838 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726318AbeKCATQ (ORCPT ); Fri, 2 Nov 2018 20:19:16 -0400 Received: from mail-qk1-f181.google.com (mail-qk1-f181.google.com [209.85.222.181]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 8CB4E2084A; Fri, 2 Nov 2018 15:11:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1541171511; bh=PLLSRBxH2duP2huVUvic9ejnCt3PIwq3FNbz6pgJQ3Q=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=ZlehDFIH8S2yYSB2/oNyahRURIlvrwtQ8QmSaCIwCY/OptqQTCvV4MnjkrWPl64ki C/ympURNIinqkFlZnc1XlGUDtNRajnrf177t+03/Y1dOhs9dnietaVWwUgjTLFIucB cpbusQ2DV1ZSaf/U4w4PfDOYhgg4I004AYZ9m93s= Received: by mail-qk1-f181.google.com with SMTP id y16so2329943qki.7; Fri, 02 Nov 2018 08:11:51 -0700 (PDT) X-Gm-Message-State: AGRZ1gKabLiHlMDgojQ7xe4J5ZqS4SrWOFcQAUGPQvn8+uTD+RjHH5ps JAZMemeTpHlKDXrF3t+bT7BPUlYOfq6GUbrw7g== X-Received: by 2002:a0c:e2ca:: with SMTP id t10mr11100001qvl.77.1541171510679; Fri, 02 Nov 2018 08:11:50 -0700 (PDT) MIME-Version: 1.0 References: <1541113468-22097-1-git-send-email-atish.patra@wdc.com> <1541113468-22097-2-git-send-email-atish.patra@wdc.com> <20181102133100.GA13130@e107155-lin> In-Reply-To: <20181102133100.GA13130@e107155-lin> From: Rob Herring Date: Fri, 2 Nov 2018 10:11:38 -0500 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [RFC 1/2] dt-bindings: topology: Add RISC-V cpu topology. To: Sudeep Holla Cc: Atish Patra , linux-riscv@lists.infradead.org, Palmer Dabbelt , Anup Patel , Christoph Hellwig , Damien.LeMoal@wdc.com, Thomas Gleixner , Mark Rutland , "linux-kernel@vger.kernel.org" , devicetree@vger.kernel.org, alankao@andestech.com, Zong Li Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Nov 2, 2018 at 8:31 AM Sudeep Holla wrote: > > On Fri, Nov 02, 2018 at 08:09:39AM -0500, Rob Herring wrote: > > On Thu, Nov 1, 2018 at 6:04 PM Atish Patra wrote: > > > > > > Define a RISC-V cpu topology. This is based on cpu-map in ARM world. > > > But it doesn't need a separate thread node for defining SMT systems. > > > Multiple cpu phandle properties can be parsed to identify the sibling > > > hardware threads. Moreover, we do not have cluster concept in RISC-V. > > > So package is a better word choice than cluster for RISC-V. > > > > There was a proposal to add package info for ARM recently. Not sure > > what happened to that, but we don't need 2 different ways. > > > > We still need that, I can brush it up and post what Lorenzo had previously > proposed[1]. We want to keep both DT and ACPI CPU topology story aligned. Frankly, I don't care what the ACPI story is. I care whether each cpu arch does its own thing in DT or not. If a package prop works for RISC-V folks and that happens to align with ACPI, then okay. Though I tend to prefer a package represented as a node rather than a property as I think that's more consistent. Any comments on the thread aspect (whether it has ever been used)? Though I think thread as a node level is more consistent with each topology level being a node (same with package). Rob