Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1251260imu; Wed, 16 Jan 2019 15:42:40 -0800 (PST) X-Google-Smtp-Source: ALg8bN7Nea4eytiIqKovG4q2OzH1MhcmAsQ8ejDdIShWHjJnRlXhgULsUzVsxiqZ37/6s/WYylzd X-Received: by 2002:a17:902:9f89:: with SMTP id g9mr12586520plq.214.1547682160368; Wed, 16 Jan 2019 15:42:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547682160; cv=none; d=google.com; s=arc-20160816; b=ED+WLuNvcdV0G0BgYPzCDm/nVXOTv1eZNgNMD6ZBhYodht/yHplrJQ7UcK3DvKUMyk sC7tDOjq6DWdBS+5QxL7A66QPWbSA7HAojYu9MJBWMh0sRg8mnygsmGdQJFYmNfuD2mo rnU89EI/YS7apVi9NTY9Len2c3787ehfjHfKLnTKr2x3Zdsj+LOxqUuXA5G9h+YTDipR 6M3jCJCgyh0pGTRJvmz74hQe+XiPDzNgVjnvCHRZrDKgdjX8diW/sN9gh8I0zXZl55qq t05A6i0Z1HKmiQPGaReN7G8h5YkuOPqdtFZWfRoiZY62qsBdG/Y+0A6AbB9HtFjZSSfc IF/A== 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=rEvbGuuvxl/pTVCry03oC5Sm6yLKUT+sf3b9tNseCB4=; b=ZxVQudEvh/lupCKF7XsGufuGO1CM2QbWOl2H1IvuxoWEK9QMdEtVTos2tiA8cUGy0P TrSdUcyUWGdCJDC8tbOkxKwBGCtF3DYV7q2zvHjANLd8VTfL5edRonqzhYnJGPgMRgLB mZc2MpoquOE2W4xTnWDaEM4dbnbN1IZRwPkssht9DZk9VfbGlfvmb8bsVAR+Q22lILu6 CjrjqOA3hmmzkfLWiymHT9NtO1uVlxe3RCj/XB//6UDrgRaUzhFpi+5hPaXTYM8R5zJ1 +xYDTIFeyzNK/8nL245euFJVyVsSvNsaMksBcReICeZAazj6/qxlqG9ilrtppt2HA0fo 4FfA== 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 d25si6799172pgd.88.2019.01.16.15.42.21; Wed, 16 Jan 2019 15:42:40 -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 S1728190AbfAPSAR (ORCPT + 99 others); Wed, 16 Jan 2019 13:00:17 -0500 Received: from mga04.intel.com ([192.55.52.120]:8981 "EHLO mga04.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728002AbfAPR7m (ORCPT ); Wed, 16 Jan 2019 12:59:42 -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:42 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,487,1539673200"; d="scan'208";a="117227804" Received: from unknown (HELO localhost.lm.intel.com) ([10.232.112.69]) by fmsmga008.fm.intel.com with ESMTP; 16 Jan 2019 09:59:41 -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 11/13] Documentation/ABI: Add node cache attributes Date: Wed, 16 Jan 2019 10:58:02 -0700 Message-Id: <20190116175804.30196-12-keith.busch@intel.com> X-Mailer: git-send-email 2.13.6 In-Reply-To: <20190116175804.30196-1-keith.busch@intel.com> References: <20190116175804.30196-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 2217557f29d3..613d51fb52a3 100644 --- a/Documentation/ABI/stable/sysfs-devices-node +++ b/Documentation/ABI/stable/sysfs-devices-node @@ -142,3 +142,37 @@ Contact: Keith Busch Description: This node's write latency in nanoseconds available to memory initiators in nodes found in this class's initiators_nodelist. + +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