From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pl1-f198.google.com (mail-pl1-f198.google.com [209.85.214.198]) by kanga.kvack.org (Postfix) with ESMTP id AA7426B42AA for ; Mon, 26 Nov 2018 11:42:26 -0500 (EST) Received: by mail-pl1-f198.google.com with SMTP id o23so22061279pll.0 for ; Mon, 26 Nov 2018 08:42:26 -0800 (PST) Received: from mga05.intel.com (mga05.intel.com. [192.55.52.43]) by mx.google.com with ESMTPS id m8si684929pgd.555.2018.11.26.08.42.24 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 26 Nov 2018 08:42:25 -0800 (PST) Subject: Re: [PATCH 0/7] ACPI HMAT memory sysfs representation References: <20181114224902.12082-1-keith.busch@intel.com> <1ed406b2-b85f-8e02-1df0-7c39aa21eca9@arm.com> <4ea6e80f-80ba-6992-8aa0-5c2d88996af7@intel.com> <9015e51a-3584-7bb2-cc5e-25b0ec8e5494@intel.com> From: Dave Hansen Message-ID: Date: Mon, 26 Nov 2018 08:42:23 -0800 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: owner-linux-mm@kvack.org List-ID: To: Dan Williams Cc: anshuman.khandual@arm.com, Keith Busch , Linux Kernel Mailing List , Linux ACPI , Linux MM , Greg KH , "Rafael J. Wysocki" On 11/23/18 1:13 PM, Dan Williams wrote: >> A new system call makes total sense to me. I have the same concern >> about the completeness of what's exposed in sysfs, I just don't see a >> _route_ to completeness with sysfs itself. Thus, the minimalist >> approach as a first step. > Outside of platform-firmware-id to Linux-numa-node-id what other > userspace API infrastructure does the kernel need to provide? It seems > userspace enumeration of memory attributes is fully enabled once the > firmware-to-Linux identification is established. It would be nice not to have each app need to know about each specific platform's firmware.