Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1001035imu; Wed, 9 Jan 2019 09:50:07 -0800 (PST) X-Google-Smtp-Source: ALg8bN5HUdddmphkdIKRH7uAVstFfn6OvOVoEpvdrRU4JHlZNqaQtQ5q5SxD7jSvHo86I3JQLnYX X-Received: by 2002:a63:4d66:: with SMTP id n38mr4079739pgl.270.1547056207882; Wed, 09 Jan 2019 09:50:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547056207; cv=none; d=google.com; s=arc-20160816; b=kaIOi1+jS1Vtxj0wdbZ8hhlOhpU17uXzDvrI2JbmArHWYM+OsZSx4EAuQIf2FIm96j IklT5U8rQd9X1mO66dS7/XjlOpHWNFVzH/OwfWdxxDD5NJ4MxhzywajL/W6t5qBrg3x4 vjix8gIo8iJGXci/AE9a8SG7wgJ0rY6Okw98ZePjcXpZliwJIm+eXX8gGwc/k7BN59It m2BQVpBbnzC7VkhFm4TozcDCDUDlxM9KnjODAiwl2d5WH7e6nUfqyc7f1BQ9LmGBG7Pg xf8h0cHsA9TdtC9jkr35w4YhmNgk+DCtdHRQUEf1UfEgaLRdkJMOIMUpeBocRZb+JTRl tYug== 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=XRzaa5h+gNb8Jm8KkLlBBbsLRuLWb5Ki0XiuGLOtJU4=; b=prZUhLw9IL53cBnFjj+T49E1WQRpU3ujVziXKtjc1wfG+Tmlm6xDqxZz2mRR2+e08X antwM5CI1WUO+vCXkD2dhrJ+pqDHiyUhPQessKYrsHSicKhZnTpX2s85HKx3C275lALb iLCAKuQSLjgSIejxlAC4pLF4/LxV9sERlqgOCPgsNuCuS0QWxWO3S1dV5N4nalmYOAPm 6d7YpkFEK6od99DIcRWuUmBEy34C0tsl5lh6IHKi3Vk4HFlWy9WPs61GL1hVLF7k4Aps VeeNGSKRqqGggDt27nIy6NmMtoklPOnoTnhSDKY0SqmF2/6E7Xvgzrwukiyu3+sZT8+p oKyw== 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 k16si65171128pls.124.2019.01.09.09.49.52; Wed, 09 Jan 2019 09:50:07 -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 S1727372AbfAIRsT (ORCPT + 99 others); Wed, 9 Jan 2019 12:48:19 -0500 Received: from mga11.intel.com ([192.55.52.93]:34827 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727289AbfAIRsC (ORCPT ); Wed, 9 Jan 2019 12:48:02 -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 fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 09 Jan 2019 09:48:01 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,458,1539673200"; d="scan'208";a="115485647" Received: from unknown (HELO localhost.lm.intel.com) ([10.232.112.69]) by fmsmga008.fm.intel.com with ESMTP; 09 Jan 2019 09:48:01 -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: [PATCHv3 11/13] Documentation/ABI: Add node cache attributes Date: Wed, 9 Jan 2019 10:43:39 -0700 Message-Id: <20190109174341.19818-12-keith.busch@intel.com> X-Mailer: git-send-email 2.13.6 In-Reply-To: <20190109174341.19818-1-keith.busch@intel.com> References: <20190109174341.19818-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 74cfc80cabf6..e128464691f0 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 nanosecondss 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