Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2105030imu; Thu, 17 Jan 2019 08:28:05 -0800 (PST) X-Google-Smtp-Source: ALg8bN6zZUo4rbgkRUHssXP7+11QdTJKjO/6eeQiruIiLoU4lvkxv9sgGEeQBUODAj1IHQBUL4E6 X-Received: by 2002:a62:1e45:: with SMTP id e66mr15431856pfe.152.1547742485219; Thu, 17 Jan 2019 08:28:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547742485; cv=none; d=google.com; s=arc-20160816; b=pn7ef8jVbB7KcRabm13lT1ujZ7kGGAM5XXWmYNnfUum0I1u9ZiWDeXc9CMlA7EMt9O H8+jrzDkJ91aJID5+NdvEJXQrasbdjQjpqzBdYSg5K6i8dWV1zw6/PbKiFxv29UMC2jl cbJ+aDldnxd3N1PLFcnivcc5YpBe32L4SQfK64rkTjYWEKQmXCgF8d1MeDLfSgeusK8E /0UY7yy9h6VqapWh0G3HAzCcdiKMn7kFb6efDqvF8s1DdTsRaM19CAwBOwXRa7DKAFIz En+gOGEhgmDG9P3mzWfRErFWS2O+D27S9vUBwLbx/v+m64FCo8EKX01ykX2iHN8ryeT8 CcXw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version; bh=E//4eBJBqqAWyVDqY++P+ol3f8CvDIv+MgsFQ4gxZrI=; b=DSPPSUbgqjb3BGkrLRShaSY+Qlm1VrdySruP6cM67kiVNi2/G1w6tn6k2xZ4Xemngd eawKmBWd47jy5dpwiOkaqAbXlMP5BjRDcEgDecDy0kX+fQQzZG7PGRBEwnOhmc4dZSMw KTus2aDtjgDl+dGIwnXCSNG6SAhdp2fRHkJ2puoIHWzUlraT/kbSEDHoCamB3pcbXWyy s/XownYAMqJOULfKvKpydZVvTXqxwgWdRGkFrI0SLrLjAQrIWrY+GniQcZRYkFQtcm78 E6ttGKuxJkB6v8d/qM1OOagyhTPH+gzbjeHvAdpLDjYI584cmYMV4nlynDAJLW2603rf kD1g== 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o3si1964018pll.201.2019.01.17.08.27.49; Thu, 17 Jan 2019 08:28: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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728922AbfAQQZo (ORCPT + 99 others); Thu, 17 Jan 2019 11:25:44 -0500 Received: from mail-ot1-f51.google.com ([209.85.210.51]:44818 "EHLO mail-ot1-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728587AbfAQQZm (ORCPT ); Thu, 17 Jan 2019 11:25:42 -0500 Received: by mail-ot1-f51.google.com with SMTP id f18so11602696otl.11; Thu, 17 Jan 2019 08:25:42 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=E//4eBJBqqAWyVDqY++P+ol3f8CvDIv+MgsFQ4gxZrI=; b=cBFKa3kyTP7+NpmWKbQ7VHc0FnpprMKg0YQPHqO+9iIxF0vLQZ50dM5JjH3gYAMABe cTyFK3lWQ08aMf4JCTbuwpa+48xCalGXW+WaoWqEntx3fTMcC3AsQP3Gn0fOiXg80zKT +bV5j6f6JhQkyUXTLNGJDAzwDCCK1pcrshe3a9M4LpiwFHQG3bfTtpc7ndtQ2ffIIrF7 YxeX2meMZs2Veu5LPBZaMGafXd1FzI4ud5UNqbL4TWpSDMID2EGFNm3jI1lJfqdBQgS6 iYcabZgqcDJJowtX/sF5/+8mfLMU4IPcUZ+GR7fDy2VOtTdjBPmsMKpM+FjXxqA4rIRc ja9Q== X-Gm-Message-State: AJcUukeFyXIX3MbTBA/bddt0+X3eegdKSovwWjgLhovHS7ofdt4/g3C/ +t1GJAMGoQyMKsoI2JUir+W+Qt9B/2toDej2abo= X-Received: by 2002:a9d:60b:: with SMTP id 11mr8855039otn.200.1547742341916; Thu, 17 Jan 2019 08:25:41 -0800 (PST) MIME-Version: 1.0 References: <20190116175804.30196-1-keith.busch@intel.com> <20190116175804.30196-12-keith.busch@intel.com> In-Reply-To: <20190116175804.30196-12-keith.busch@intel.com> From: "Rafael J. Wysocki" Date: Thu, 17 Jan 2019 17:25:30 +0100 Message-ID: Subject: Re: [PATCHv4 11/13] Documentation/ABI: Add node cache attributes To: Keith Busch Cc: Linux Kernel Mailing List , ACPI Devel Maling List , Linux Memory Management List , Greg Kroah-Hartman , Rafael Wysocki , Dave Hansen , Dan Williams Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jan 16, 2019 at 6:59 PM Keith Busch wrote: > > Add the attributes for the system memory side caches. I really would combine this with the previous one. > 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. > -- It would be good to document the meaning of indexY itself too.