Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp106097imu; Mon, 10 Dec 2018 17:11:24 -0800 (PST) X-Google-Smtp-Source: AFSGD/XdGHE+6kmXvud/DLaxMi9FW6+1nHJbPqheJ0fZhuWlUWIhhX6FbJUvMKmLEgt5iDMfm6cJ X-Received: by 2002:a17:902:6b84:: with SMTP id p4mr14421541plk.282.1544490684107; Mon, 10 Dec 2018 17:11:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544490684; cv=none; d=google.com; s=arc-20160816; b=BQngDEM5dk1nNFQlIJWg6uSgdCSNnXFRYCPRYi1SN8jhaIYv0+upJOQjv01EYfOBq2 wVqt9J5Zg1Stp8rmjy7sccTfTlAyKUzcCkO9yJDSdzL8V3b0qjmwCSiafl89XZgB/4er 8OciT/CethmU4tuBZ7khdXjfBscDzCtnWNIVVtfXeo55bgdvcbJlKNjorFdJAja0ygfr yFucBiSiAMM79j84u7ejxotX2sdiW26PnsyrtAzCvHzII/dw7JJAEOu0d8xki48CMLbF kipMgXwm4c7/wCTw9zs89ZuMVYXb6NxRySCIB2dMdi/QWYV7FyjbzTOjSNTYc978Ruj6 Mjdw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from; bh=DvFPo1Kb4slIvROJNbtenBM95EUGGgf3Huij5cWQ9jo=; b=dtS6wvQciLOmvMS7xvEgwSRFh1qO+WYAVYI8QQ2NAZNr0/R2BS43kfLmDmDFQWjnxh YVgSkqr/Du8MtkjJHazp0AJu96FXk2zjuitRNaft4SlFzkZjDgKNa1tW89onmv6MTKW5 ctAvzAZLiVc5fqEEP4q1xXRdfoDjSkmJwJpRY3ntUyhLPOrvbmdP4I0CNjPOp0G9X7CU vuIFIAGrILD59zQHo4Qnn3OfLPBYWU6zUOn3OYrCTKLI3KjIHco3J3aIu3LFuYFfH6u7 6b8CsTNDvX2rXqD4BYsl2S8T9+0Ff4GY4MzZiyfsxFQ44AHW1w8ZcDW9UqiLCyYxxE+1 +28A== 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 d125si11885629pfc.114.2018.12.10.17.11.08; Mon, 10 Dec 2018 17:11:24 -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 S1729738AbeLKBF7 (ORCPT + 99 others); Mon, 10 Dec 2018 20:05:59 -0500 Received: from mga02.intel.com ([134.134.136.20]:24704 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729591AbeLKBFy (ORCPT ); Mon, 10 Dec 2018 20:05:54 -0500 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 10 Dec 2018 17:05:53 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,340,1539673200"; d="scan'208";a="117705213" Received: from unknown (HELO localhost.lm.intel.com) ([10.232.112.69]) by orsmga001.jf.intel.com with ESMTP; 10 Dec 2018 17:05:52 -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: [PATCHv2 10/12] Documentation/ABI: Add node cache attributes Date: Mon, 10 Dec 2018 18:03:08 -0700 Message-Id: <20181211010310.8551-11-keith.busch@intel.com> X-Mailer: git-send-email 2.13.6 In-Reply-To: <20181211010310.8551-1-keith.busch@intel.com> References: <20181211010310.8551-1-keith.busch@intel.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add the attributes for the system memory side caches. Signed-off-by: Keith Busch --- Documentation/ABI/stable/sysfs-devices-node | 34 +++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/Documentation/ABI/stable/sysfs-devices-node b/Documentation/ABI/stable/sysfs-devices-node index 6cdb0643f9fd..63a757b8a29e 100644 --- a/Documentation/ABI/stable/sysfs-devices-node +++ b/Documentation/ABI/stable/sysfs-devices-node @@ -151,3 +151,37 @@ Contact: Keith Busch Description: Write latency in nanosecondss available to memory initiators found in primary_cpu_nodemask. + +What: /sys/devices/system/node/nodeX/side_cache/indexY/associativity +Date: December 2018 +Contact: Keith Busch +Description: + The caches associativity: 0 for direct mapped, non-zero if + indexed. + +What: /sys/devices/system/node/nodeX/side_cache/indexY/level +Date: December 2018 +Contact: Keith Busch +Description: + This cache's level in the memory hierarchy. Matches 'Y' in the + directory name. + +What: /sys/devices/system/node/nodeX/side_cache/indexY/line_size +Date: December 2018 +Contact: Keith Busch +Description: + The number of bytes accessed from the next cache level on a + cache miss. + +What: /sys/devices/system/node/nodeX/side_cache/indexY/size +Date: December 2018 +Contact: Keith Busch +Description: + The size of this memory side cache in bytes. + +What: /sys/devices/system/node/nodeX/side_cache/indexY/write_policy +Date: December 2018 +Contact: Keith Busch +Description: + The cache write policy: 0 for write-back, 1 for write-through, + 2 for other or unknown. -- 2.14.4