Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp41358imu; Mon, 19 Nov 2018 17:20:15 -0800 (PST) X-Google-Smtp-Source: AJdET5ctGDTWtLe09O/ZTx71RZ5kl9jGg3365RroBr2ngpv8gARWXIDjfjJNXR88tkqssO2xdx2k X-Received: by 2002:a62:528e:: with SMTP id g136mr7700pfb.111.1542676815353; Mon, 19 Nov 2018 17:20:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542676815; cv=none; d=google.com; s=arc-20160816; b=R3mk9CrPu0M8ZagMpQBlPqUlzFjC7HCvmcZtfpNysb16ndeYnU0LJao7hiW4eG1/8t ITJTcir/H5bNbNIx/9PirhIJ2b/8XP75VOEjjgA5u9kpVmKHCybROlU1KQqRgE5xPnqv m0oAXOg6H6yZY9aAvGWcqyl55/ecyjO8NdWbGkbriAFb/sj5z7R+vVzWM4j5V5X+J2dF CKec6L7e3lz+2+7K3u+7SKCwVaJxBxiZT07xVO+gq4Cbm5x/PLcEeLtWr5/WNT0hiUH1 6VPyFJ2lMI/R587Zk8+ejdWoXoEsNXcMEkqUwaxXIuRyGgNxnpaCwSdOrGzbcRDLxUTA 1IJg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=Z+J+4HZELnrkcBHBD/xywATntDFVQHtFN3qb7WM2tAw=; b=iTKA1qt7QTmoYXml/MOGHK7KxS9lIWww0Ssi1j6BL2/elaqN2vZz3xxra+HKHx/qAz uBVKE01GZ5OVnIrytQlJvHhsBIOTdN+TeoiIeS8HVODP857emORVUCHIYwijywMFAQR1 ZgNSaxH30j91S/J6McK/m4aqys5urqI3biLfHWNJfN7GRVuCCgip4AkNwZS93FMMCUPZ LorPUvOsNfdRZ+oYiHYVBFQxj3+4i+uFGNAJZ/MDpqF3Pm3O/cO0SmbNINL7MGJK9/9K DaPvtS1XMXQKcVWJqK6rm8W4PM6HDau/hV0wZRoni3Y9ZKmvjUzukCH7mDquk3qaTGCU qC5w== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@wdc.com header.s=dkim.wdc.com header.b=G8oNVOdL; 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=fail (p=NONE sp=NONE dis=NONE) header.from=wdc.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l194si41133407pga.594.2018.11.19.17.19.51; Mon, 19 Nov 2018 17:20:15 -0800 (PST) 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=fail header.i=@wdc.com header.s=dkim.wdc.com header.b=G8oNVOdL; 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=fail (p=NONE sp=NONE dis=NONE) header.from=wdc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730436AbeKTLpO (ORCPT + 99 others); Tue, 20 Nov 2018 06:45:14 -0500 Received: from esa1.hgst.iphmx.com ([68.232.141.245]:20327 "EHLO esa1.hgst.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729913AbeKTLpO (ORCPT ); Tue, 20 Nov 2018 06:45:14 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=wdc.com; i=@wdc.com; q=dns/txt; s=dkim.wdc.com; t=1542676724; x=1574212724; h=subject:to:cc:references:from:message-id:date: mime-version:in-reply-to:content-transfer-encoding; bh=KDp4SV5wa6FEhU/tN43Qt3FuqMoswbj9h1vKtM2TQe4=; b=G8oNVOdLf+/7vKAjuH8kCIcoqqKd4j4pXjThGgQ4uzLaiKv+LRtaWiZn 3jcozyd7YdKPUa+PLUb++udlpFztPKht8WohdS3iXsDspwVvhZ1U2mYBS KqT8dlqLuAU67CyKFTRRmH7JA9QlysgbHVcCNLP1JswQfz2hx3PzOt7uO NroFGQZeyKK/Y8NYe/Hai2qp5BAA1ol4501Zh/RdaoRCW9PTDW8sTMmid E6GeaUCFUzw5r6FAtv8pU7hoKyQnnGuW63+3ZfQ2J5TOPBV9m9p4KScJf wyGeO7cvCihDDP56xrmlr9YjY8LbSxKFB8IbVws6XTdkqOUbVKr9kZXIB w==; X-IronPort-AV: E=Sophos;i="5.56,255,1539619200"; d="scan'208";a="199186970" Received: from h199-255-45-15.hgst.com (HELO uls-op-cesaep02.wdc.com) ([199.255.45.15]) by ob1.hgst.iphmx.com with ESMTP; 20 Nov 2018 09:18:43 +0800 Received: from uls-op-cesaip02.wdc.com ([10.248.3.37]) by uls-op-cesaep02.wdc.com with ESMTP; 19 Nov 2018 17:01:59 -0800 Received: from cnf003109.ad.shared (HELO [10.86.54.248]) ([10.86.54.248]) by uls-op-cesaip02.wdc.com with ESMTP; 19 Nov 2018 17:18:44 -0800 Subject: Re: [RFC PATCH] Documentation: DT: arm: add support for sockets defining package boundaries To: Rob Herring , Sudeep Holla Cc: "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "palmer@sifive.com" , "anup@brainfault.org" , Damien Le Moal , "mick@ics.forth.gr" , "mark.rutland@arm.com" , "zong@andestech.com" , "alankao@andestech.com" References: <20181107171344.983-1-sudeep.holla@arm.com> <5bea0ecf.1c69fb81.7820a.2052@mx.google.com> From: Atish Patra Message-ID: Date: Mon, 19 Nov 2018 17:18:42 -0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:60.0) Gecko/20100101 Thunderbird/60.3.0 MIME-Version: 1.0 In-Reply-To: <5bea0ecf.1c69fb81.7820a.2052@mx.google.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11/12/18 3:37 PM, Rob Herring wrote: > On Wed, Nov 07, 2018 at 05:13:44PM +0000, Sudeep Holla wrote: >> 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 >> --- >> .../devicetree/bindings/arm/topology.txt | 52 ++++++++++++++----- >> 1 file changed, 39 insertions(+), 13 deletions(-) >> >> (Note patch generated with -b option to avoid 60+ of whitespace changes) >> >> Hi Rob, >> >> You had expressed your interest to generalise the CPU topology bindings >> accross multiple architectures. Do you want to move to the generic >> bindings before adding this $subject socket support or is it OK to >> finalise on this and then move the majority(based on the agreement) >> to generic binding. > > Doesn't really matter to me as long as Risc-V folks are in agreement. > > Otherwise, this looks fine to me. > > Rob > > I can apply this patch in my unify topology series and resend everything together as one series. Regards, Atish