Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp1434172ybd; Wed, 26 Jun 2019 17:55:06 -0700 (PDT) X-Google-Smtp-Source: APXvYqzv/kcRW5LSRibRAKGDWfAS/Njg2J/BUC4p7hxuKhpeSL6YcesCaDv+mjcdMgOMBv429++g X-Received: by 2002:a17:902:8a87:: with SMTP id p7mr1204949plo.124.1561596906473; Wed, 26 Jun 2019 17:55:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561596906; cv=none; d=google.com; s=arc-20160816; b=sh0X2t0cOMiTGyIMPzpgLlBPAAt/t1NUdaPO17gAZzN2Kvz3tpWPN/3evXLgTzSSqe bGv2QJLLLqZYvwC98U8nbnc0nDvl05zQIG1B7MzHyj8qm6KyIkdLohtu9oxyKSkhX8Iq hw4wc4Mze4OvOliGi46OJQu3PJkGwPaBP/vp5Q4jRqCA1zyYaU0lvG297c7LP4My/K1+ b3O8kyLy/3AAaQaJAQieBRRbnPM1rTboLe+rQBFePS23HTRCayx14M6+95weBCBXA8/9 78zBNB1oQSNNNpcv/fcNsMcwNhVSHYWq0LeQSVhr3w+gNL3jd8imXY1pdaIY0SdsUyol fIbQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date:dkim-signature; bh=ne57qfOBbrpWTmSwKmjlTjKmsCo+Sn2qKc5QwP4b3qo=; b=gdzjRGey1s3ZBiTKDxop6RK2ErSIeQVBIo1K1PcyHgElA0DH2x3lLrFJffTTRHDn8r LSRuj7FEyJYh0/rjsWu0f1Z+ykspJKvGHIPzbhp5ZjLXAafLtwKC9x/Tk8zUWp2xYlPX lLydKbKYIvPiYBg4Y6WpxGeKHg3awVweGLBRIx8pUBXdtsx1xAt7KKwF48JvUard6b4K /E+R4uytwvYrEVNxhTYCSjw9FUcJNM4fgKJPzSPp+Zgg/XSqzDV1b2Ovpdw6xXQfYHyo zbZJNEFpFdCMl/K4mnm8//FtMwW/Vy0wBsmiEJ2gXU4sNjz9oloASzN9C8n3biXROzp2 ASVg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sifive.com header.s=google header.b=MH3wkoDX; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p23si498949pgj.356.2019.06.26.17.54.50; Wed, 26 Jun 2019 17:55:06 -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=@sifive.com header.s=google header.b=MH3wkoDX; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727260AbfF0Abo (ORCPT + 99 others); Wed, 26 Jun 2019 20:31:44 -0400 Received: from mail-io1-f66.google.com ([209.85.166.66]:36937 "EHLO mail-io1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727193AbfF0Abj (ORCPT ); Wed, 26 Jun 2019 20:31:39 -0400 Received: by mail-io1-f66.google.com with SMTP id e5so864411iok.4 for ; Wed, 26 Jun 2019 17:31:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sifive.com; s=google; h=date:from:to:cc:subject:in-reply-to:message-id:references :user-agent:mime-version; bh=ne57qfOBbrpWTmSwKmjlTjKmsCo+Sn2qKc5QwP4b3qo=; b=MH3wkoDXHfXF5fF0q+4ozL7+zgvn5SeiKtLiHYzCNIcqFHXPkPAwLMDAdDzk2aiIwQ J78PjhZZ31NuKv8zy1/s8y3MRPBSFAVisSCw3pC/YBe5ea4C6Y+uFm5wHpal8nsxZLgB 17lsiKG0OIZo1/fcOW8X2bMD/PSdyDvCVff3iu2G8wmtMH1QHqrOcCB6eOgDt4VuNjyk Poo9nGwiL6andopg9rnVNY+S336HW1WgpryVcFd4HvLr9UhpPKVIrzsbJAzaKITb3fvh sahpopsxSkGUr9VegYM/UOtFcnxFerQwnrKs330QIqOEtyCvWxY78rUw69KxygSiqpv1 hjdA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:in-reply-to:message-id :references:user-agent:mime-version; bh=ne57qfOBbrpWTmSwKmjlTjKmsCo+Sn2qKc5QwP4b3qo=; b=t6Re5+X86nR0LgzHr4bHd8GCRuPBlFKmfFTA1OcpLGqlHdHwOAl8TBNGipmBqYll/C CzQsV2wh4ncYDqTibmDMsQJeLa4U/dTc2yOPA/Nx2b/YRcICo8hLDpPnaUSq8RwJ3+PN 5xay0CyJTAnyCglWJgwaO/d2Ba95Wi4snXSS3ctKvRAVp2C2csFQYOb9sV6IV1jMwyHa jQnMdV9kwCJZxIO/iGECB1sOY0EbCmQakXQVLU70fc3uVpy/KGNx9rrC8T7WxyPickDs ybUUjfPF5G3RQ4kl2bkJNC79phdYgDPOkMiN+4bCD3CLn92TxA/AZK35QaKikV8m6Kjw kHzw== X-Gm-Message-State: APjAAAUVyAeGB06p24M6obOiIV+RjuxxjjpfhRV/lt/t8StDZQ3a2LPe n0nhuFQJ+jl5gzndRR87CWgXUQ== X-Received: by 2002:a6b:3c0a:: with SMTP id k10mr1187601iob.271.1561595498768; Wed, 26 Jun 2019 17:31:38 -0700 (PDT) Received: from localhost (c-73-95-159-87.hsd1.co.comcast.net. [73.95.159.87]) by smtp.gmail.com with ESMTPSA id n26sm410757ioc.74.2019.06.26.17.31.37 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Wed, 26 Jun 2019 17:31:38 -0700 (PDT) Date: Wed, 26 Jun 2019 17:31:37 -0700 (PDT) From: Paul Walmsley X-X-Sender: paulw@viisi.sifive.com To: Sudeep Holla , Atish Patra cc: linux-kernel@vger.kernel.org, Rob Herring , Albert Ou , Anup Patel , Catalin Marinas , "David S. Miller" , devicetree@vger.kernel.org, Greg Kroah-Hartman , Ingo Molnar , Jonathan Cameron , Linus Walleij , linux-riscv@lists.infradead.org, Mark Rutland , Mauro Carvalho Chehab , Morten Rasmussen , Otto Sabart , Palmer Dabbelt , "Peter Zijlstra (Intel)" , "Rafael J. Wysocki" , Richard Fontana , Rob Herring , Thomas Gleixner , Will Deacon , linux-arm-kernel@lists.infradead.org, Russell King Subject: Re: [PATCH v7 1/7] Documentation: DT: arm: add support for sockets defining package boundaries In-Reply-To: <20190617185920.29581-2-atish.patra@wdc.com> Message-ID: References: <20190617185920.29581-1-atish.patra@wdc.com> <20190617185920.29581-2-atish.patra@wdc.com> User-Agent: Alpine 2.21.9999 (DEB 301 2018-08-15) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Sudeep, Atish, On Mon, 17 Jun 2019, Atish Patra wrote: > From: Sudeep Holla > > The current ARM DT topology description provides the operating system > with a topological view of the system that is based on leaf nodes > representing either cores or threads (in an SMT system) and a > hierarchical set of cluster nodes that creates a hierarchical topology > view of how those cores and threads are grouped. > > However this hierarchical representation of clusters does not allow to > describe what topology level actually represents the physical package or > the socket boundary, which is a key piece of information to be used by > an operating system to optimize resource allocation and scheduling. > > Lets add a new "socket" node type in the cpu-map node to describe the > same. > > Signed-off-by: Sudeep Holla > Reviewed-by: Rob Herring This one doesn't apply cleanly here on top of v5.2-rc2, Linus's master branch, and next-20190626. The reject file is below. Am I missing a patch? - Paul --- Documentation/devicetree/bindings/arm/topology.txt +++ Documentation/devicetree/bindings/arm/topology.txt @@ -185,13 +206,15 @@ Bindings for cluster/cpu/thread nodes are defined as follows: 4 - Example dts =========================================== -Example 1 (ARM 64-bit, 16-cpu system, two clusters of clusters): +Example 1 (ARM 64-bit, 16-cpu system, two clusters of clusters in a single +physical socket): cpus { #size-cells = <0>; #address-cells = <2>; cpu-map { + socket0 { cluster0 { cluster0 { core0 {