From patchwork Mon May 5 17:38:19 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Luck, Tony" X-Patchwork-Id: 887520 Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DFE9326D4CD; Mon, 5 May 2025 17:38:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.17 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1746466713; cv=none; b=D91ACTFN6rML4VDIOPdHLX8eETdC+KWWulLHHZGJO0MHxvptngKdkvHxLOV/0OagEZx8SRnXNoYTIZhdgvMkFlVbgBInrDbxs/trCF4pzTZ0nvBamr4UemC7sR19d6Cf9L9DB/wZhUKUoqPzbLJNpIGW8gBD/6WgslqRCDLDF1g= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1746466713; c=relaxed/simple; bh=Mzf4z3JjeUDeBLBOc9nbGSbBtSvIhz9Znl+rjIhT6PU=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=tbv0O0c5zDmbdRzAkjp7i4Kt9c54Lp3NrzPjpgiRviB9HFosfW3tBdAiCZb2tdtu+4il+3dfqsMSQWzIAWGMyCMCXG7+1X6BzstRRBtiA1TImXYC4IeOiaesnaWzkvqklJ/hbL3IqJE1WOLaPtWm3goe1c0r0AQNInghwOmUr7M= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=CIGg04g9; arc=none smtp.client-ip=192.198.163.17 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="CIGg04g9" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1746466712; x=1778002712; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=Mzf4z3JjeUDeBLBOc9nbGSbBtSvIhz9Znl+rjIhT6PU=; b=CIGg04g9hUOcmAEOGFd4hmtzYW+BhZBkjoT463yYa/LSmazvpN3RdMj2 QI6iWsb0KECwepx9mXdhrNN6GAZ5gTop8NenckdVDw21DMkdduYGy0zir BNPl6f12bad05JaVoVjhwl2hnu2dUGB98TErq/+kNOTrROT064FzMGYp9 2vFuk8i50FkntZZDaa134tjldsy/5qsI54Qxat2N1PPyhOYB28ar6FC2d fop5fE9ALbed/d4I6/IyvAjjc+5h9wjkZYwyoQ9kRRqzoOSYa+5MaDRA6 PAwcBvZaDiUIGMiMNwrO1TXKMofTaq9j0Y+nmKcS425V8bkeFdunMswgq g==; X-CSE-ConnectionGUID: 5qG2L6aKTOewT7jY4DSiTw== X-CSE-MsgGUID: wvDHu1DfShySPkqEgsx6tg== X-IronPort-AV: E=McAfee;i="6700,10204,11424"; a="47991521" X-IronPort-AV: E=Sophos;i="6.15,264,1739865600"; d="scan'208";a="47991521" Received: from orviesa003.jf.intel.com ([10.64.159.143]) by fmvoesa111.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 May 2025 10:38:28 -0700 X-CSE-ConnectionGUID: cQ6n0HIDSqaaMSj/gcpTBA== X-CSE-MsgGUID: ht8awrqQTrukANsIgRozgQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.15,264,1739865600"; d="scan'208";a="140092233" Received: from agluck-desk3.sc.intel.com ([172.25.222.70]) by ORVIESA003-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 May 2025 10:38:28 -0700 From: Tony Luck To: rafael@kernel.org Cc: lenb@kernel.org, Anil Keshavamurthy , linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org, patches@lists.linux.dev, Tony Luck Subject: [PATCH v5 3/3] ACPI: Add documentation for exposing MRRM data Date: Mon, 5 May 2025 10:38:19 -0700 Message-ID: <20250505173819.419271-4-tony.luck@intel.com> X-Mailer: git-send-email 2.48.1 In-Reply-To: <20250505173819.419271-1-tony.luck@intel.com> References: <20250505173819.419271-1-tony.luck@intel.com> Precedence: bulk X-Mailing-List: linux-acpi@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Initial implementation provides enumeration of the address ranges NUMA node numbers, and BIOS assigned region IDs for each range. Signed-off-by: Tony Luck --- Documentation/ABI/testing/sysfs-firmware-acpi | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/Documentation/ABI/testing/sysfs-firmware-acpi b/Documentation/ABI/testing/sysfs-firmware-acpi index 5249ad5a96d9..fffba38f9ce1 100644 --- a/Documentation/ABI/testing/sysfs-firmware-acpi +++ b/Documentation/ABI/testing/sysfs-firmware-acpi @@ -248,3 +248,24 @@ Description: # cat ff_pwr_btn 7 enabled +What: /sys/firmware/acpi/memory_ranges/rangeX +Date: February 2025 +Contact: Tony Luck +Description: + On systems with the ACPI MRRM table reports the + parameters for each range. + + base: Starting system physical address. + + length: Length of this range in bytes. + + node: NUMA node that this range belongs to. Negative numbers + indicate that the node number could not be determined (e.g + for an address range that is reserved for future hot add of + memory). + + local_region_id: ID associated with access by agents + local to this range of addresses. + + remote_region_id: ID associated with access by agents + non-local to this range of addresses.