Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1560088imu; Wed, 16 Jan 2019 22:51:05 -0800 (PST) X-Google-Smtp-Source: ALg8bN64BZ3CpzQnnuKcbqfHJ0Byf+QYj3s5y24xcwHG3iRkLeiCr8BvextuyihfvwBOyIdTlSvS X-Received: by 2002:a63:5207:: with SMTP id g7mr12476898pgb.253.1547707865551; Wed, 16 Jan 2019 22:51:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547707865; cv=none; d=google.com; s=arc-20160816; b=GEtGn2oMjfHuN7Xr7XoQwEevI1knh924W8A1sUeJYgw8iD2E1AM8JNzNyLWyd4fF7i svrJU/wJ4UQcLxWoIQ2DPqqFViJ9aLohOB3YMF6EGTJ/k9Wb68+5+A70JdrDVtjue6Qp GRDQOf5jyHLR3IMEPQjcN7CwLeOFD3fRRj7kseTH4H6P1v+iudr1+lfnYKjViP5eQnoI 2cfL5ofLtfTqQX/1BuHyHMGaYs8Mr00Wg4kmX/9P0r+MBI/JZQyob49LUI3aq+0msImR O26mP6H2ahRSY4iQjH6Sxs11/CDSOEdtJxkG1Cbbg99KJqgTSqAN1+fvAf3cP4Q5hJWq KV9g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=1BfyS7DrfbWExhpoQAKzZHFCwAftOSXrfQHA3PA5+HE=; b=h3k7CMAXaYLV2GcWdSLnGiW3UPwmH8K5QZggAWqPiOwemCLTm1/cDf6eT+7nC3BceN lgmXcW0kzdpHeYiTHRXFiq8N7hZCYJzO7Avh34duQ+ayYOj+lCf6eIIwfV+S6qZnFnYt 7zvGxbaBvE7wk3s3rBx7EFUlXyuePP7U+cGegy+zACaio4O9HedRW0GLHV3BAvOpygxV pIoHAj1m+Ycx2VkNKPigR8ce1P31N3Zx6i4dWAdat9EXEJWhUariGR9GyapZMfiAXCUz XKfg7Q4GnBJC/x0+flH2Xam7Ye00zXCdm1gJOSDQ+OfvM4MwB9kbPkq5ekCpmdFekFRO jMdQ== 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 y10si704560pgp.348.2019.01.16.22.50.50; Wed, 16 Jan 2019 22:51:05 -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 S1727943AbfAPR7g (ORCPT + 99 others); Wed, 16 Jan 2019 12:59:36 -0500 Received: from mga04.intel.com ([192.55.52.120]:8967 "EHLO mga04.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727769AbfAPR7g (ORCPT ); Wed, 16 Jan 2019 12:59:36 -0500 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 16 Jan 2019 09:59:36 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,487,1539673200"; d="scan'208";a="117227760" Received: from unknown (HELO localhost.lm.intel.com) ([10.232.112.69]) by fmsmga008.fm.intel.com with ESMTP; 16 Jan 2019 09:59:35 -0800 From: Keith Busch To: linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org, linux-mm@kvack.org Cc: Greg Kroah-Hartman , Rafael Wysocki , Dave Hansen , Dan Williams , Keith Busch Subject: [PATCHv4 00/13] Heterogeneuos memory node attributes Date: Wed, 16 Jan 2019 10:57:51 -0700 Message-Id: <20190116175804.30196-1-keith.busch@intel.com> X-Mailer: git-send-email 2.13.6 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The series seems quite calm now. I've received some approvals of the on the proposal, and heard no objections on the new core interfaces. Please let me know if there is anyone or group of people I should request and wait for a review. And if anyone reading this would like additional time as well before I post a potentially subsequent version, please let me know. I also wanted to inquire on upstream strategy if/when all desired reviews are received. The series is spanning a few subsystems, so I'm not sure who's tree is the best candidate. I could see an argument for driver-core, acpi, or mm as possible paths. Please let me know if there's a more appropriate option or any other gating concerns. == Changes from v3 == I've fixed the documentation issues that have been raised for v3 Moved the hmat files according to Rafael's recommendation Added received Reviewed-by's Otherwise this v4 is much the same as v3. == Background == Platforms may provide multiple types of cpu attached system memory. The memory ranges for each type may have different characteristics that applications may wish to know about when considering what node they want their memory allocated from. It had previously been difficult to describe these setups as memory rangers were generally lumped into the NUMA node of the CPUs. New platform attributes have been created and in use today that describe the more complex memory hierarchies that can be created. This series' objective is to provide the attributes from such systems that are useful for applications to know about, and readily usable with existing tools and libraries. Keith Busch (13): acpi: Create subtable parsing infrastructure acpi: Add HMAT to generic parsing tables acpi/hmat: Parse and report heterogeneous memory node: Link memory nodes to their compute nodes Documentation/ABI: Add new node sysfs attributes acpi/hmat: Register processor domain to its memory node: Add heterogenous memory access attributes Documentation/ABI: Add node performance attributes acpi/hmat: Register performance attributes node: Add memory caching attributes Documentation/ABI: Add node cache attributes acpi/hmat: Register memory side cache attributes doc/mm: New documentation for memory performance Documentation/ABI/stable/sysfs-devices-node | 87 +++++- Documentation/admin-guide/mm/numaperf.rst | 184 +++++++++++++ arch/arm64/kernel/acpi_numa.c | 2 +- arch/arm64/kernel/smp.c | 4 +- arch/ia64/kernel/acpi.c | 12 +- arch/x86/kernel/acpi/boot.c | 36 +-- drivers/acpi/Kconfig | 1 + drivers/acpi/Makefile | 1 + drivers/acpi/hmat/Kconfig | 9 + drivers/acpi/hmat/Makefile | 1 + drivers/acpi/hmat/hmat.c | 375 ++++++++++++++++++++++++++ drivers/acpi/numa.c | 16 +- drivers/acpi/scan.c | 4 +- drivers/acpi/tables.c | 76 +++++- drivers/base/Kconfig | 8 + drivers/base/node.c | 317 +++++++++++++++++++++- drivers/irqchip/irq-gic-v2m.c | 2 +- drivers/irqchip/irq-gic-v3-its-pci-msi.c | 2 +- drivers/irqchip/irq-gic-v3-its-platform-msi.c | 2 +- drivers/irqchip/irq-gic-v3-its.c | 6 +- drivers/irqchip/irq-gic-v3.c | 10 +- drivers/irqchip/irq-gic.c | 4 +- drivers/mailbox/pcc.c | 2 +- include/linux/acpi.h | 6 +- include/linux/node.h | 70 ++++- 25 files changed, 1172 insertions(+), 65 deletions(-) create mode 100644 Documentation/admin-guide/mm/numaperf.rst create mode 100644 drivers/acpi/hmat/Kconfig create mode 100644 drivers/acpi/hmat/Makefile create mode 100644 drivers/acpi/hmat/hmat.c -- 2.14.4