Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp990944imu; Fri, 11 Jan 2019 12:51:16 -0800 (PST) X-Google-Smtp-Source: ALg8bN6N/k2HJgIIzHgmPldaoIKw36QPNjc0wpycCw/wKyBlpKJUPpgvEdOL1G3ftOjb800xNqeB X-Received: by 2002:a63:42c1:: with SMTP id p184mr14685939pga.202.1547239876238; Fri, 11 Jan 2019 12:51:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547239876; cv=none; d=google.com; s=arc-20160816; b=SvQC2uiN8o5nMg3bZJo9+5ndEGfuFIY8DrN3R4WcIJ7qazjoC2Mp/sNsvpaEzs5g3Z eJ6FJrDF4KSKHLOyvvA20BzWBoragRMCyXUxDcmZSf79VIzeVo5+fwKHYENVFvjvQRfT yklHlYToVIRQUwi4tfCOYaAJzhAVhMXoiTiyPvSVpuH9Jl8920L92sGX5fL7mLHWfRv5 WJ/MnJ2NPfvyZTywisnGfQpba32IMFYAGaLWvpUMpVSTrBtV/fD/CBIVbzB8Gx43dpXs QD0pVEp4aHDpEgn7A1mOPzGffrxFDMef8Ig/AQN6vEwHD+xiEjQAvqk/4TBkSJ/fCtWo kyCA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=LmaX5KzBwmrunnyaRqUdTWfksxhtV9CpGL4TZrlRUUo=; b=wVH200LjXz+IO098BQ1uSDj12y5Ulo8pqU1MGFnj8KMnDBhKbRjpdhqIjNa8GLVe85 CaQ8BbxZTi0NR1s300lw2tWfCzfijFdFeCPC4TaPQArxnZgupQy1St/Of73qREYT7Pg5 9O7EZFqpvHoZrpeF0NM8QfceH07Bf+jUaCMrmHxibQMYAY06V6he+Txh+PPIe6iXkXMW qTKDbjC2ZxlNu/eov+5omtc7bPNlcNgLEEkTb3Y0DYnejfEhjCtjgaD+OY22SMIBceSm T+nTKOgfAH4V9fcGlVSbm3Z5S++BhrPHCWMz97Sy6GGIdH4NAiSsxmHgKhy1HkXImWi/ yBzw== ARC-Authentication-Results: i=1; mx.google.com; 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=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c65si78455749pfa.148.2019.01.11.12.51.01; Fri, 11 Jan 2019 12:51:16 -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; 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=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387449AbfAKP7z (ORCPT + 99 others); Fri, 11 Jan 2019 10:59:55 -0500 Received: from mga18.intel.com ([134.134.136.126]:1938 "EHLO mga18.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729359AbfAKP7z (ORCPT ); Fri, 11 Jan 2019 10:59:55 -0500 X-Amp-Result: UNSCANNABLE X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 11 Jan 2019 07:59:55 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,466,1539673200"; d="scan'208";a="309613771" Received: from unknown (HELO localhost.localdomain) ([10.232.112.69]) by fmsmga006.fm.intel.com with ESMTP; 11 Jan 2019 07:59:53 -0800 Date: Fri, 11 Jan 2019 08:58:28 -0700 From: Keith Busch To: Jonathan Cameron Cc: "Aneesh Kumar K.V" , linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org, linux-mm@kvack.org, Greg Kroah-Hartman , Rafael Wysocki , Dave Hansen , Dan Williams Subject: Re: [PATCHv3 07/13] node: Add heterogenous memory access attributes Message-ID: <20190111155828.GD21095@localhost.localdomain> References: <20190109174341.19818-1-keith.busch@intel.com> <20190109174341.19818-8-keith.busch@intel.com> <87y37sit8x.fsf@linux.ibm.com> <20190110173016.GC21095@localhost.localdomain> <20190111113238.000068b0@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190111113238.000068b0@huawei.com> User-Agent: Mutt/1.9.1 (2017-09-22) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jan 11, 2019 at 11:32:38AM +0000, Jonathan Cameron wrote: > On Thu, 10 Jan 2019 10:30:17 -0700 > Keith Busch wrote: > > I am not aware of a real platform that has an initiator-target pair with > > better latency but worse bandwidth than any different initiator paired to > > the same target. If such a thing exists and a subsystem wants to report > > that, you can register any arbitrary number of groups or classes and > > rank them according to how you want them presented. > > > > It's certainly possible if you are trading off against pin count by going > out of the soc on a serial bus for some large SCM pool and also have a local > SCM pool on a ddr 'like' bus or just ddr on fairly small number of channels > (because some one didn't put memory on all of them). > We will see this fairly soon in production parts. > > So need an 'ordering' choice for this circumstance that is predictable. As long as the reported memory target access attributes are accurate for the initiator nodes listed under an access class, I'm not sure that it matters what order you use. All the information needed to make a choice on which pair to use is available, and the order is just an implementation specific decision.