Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp2812382pxb; Sat, 30 Jan 2021 15:57:45 -0800 (PST) X-Google-Smtp-Source: ABdhPJzgQBuHx75jwE2ta4VhCsIwT+JlOQswXtWdI7Yx9ioD6eJ++KLepIA74CQ4SlAyQVmk2WVr X-Received: by 2002:a17:906:1712:: with SMTP id c18mr11182021eje.417.1612051065710; Sat, 30 Jan 2021 15:57:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612051065; cv=none; d=google.com; s=arc-20160816; b=vOWn9qVBYe3VBEtZGvfvLLnpEUW/6jagLtSBSo9KTocTPUdDLuQIaCMPeZnKpDfnsp +75T/+XWYlu2oMUSiBDxVsEnNfTa7x2BGh5oYo3OeBJSegPPKDzohRogO4CIEC/y7b2w aIYcTlfL/Zo9692gN5DtS9N3f0NKJrOzK/mBirGTHecJoXERm0eO5BiD60S56oRXwRb5 3efmD+w7eQbW+w+u795MTkTz6cFpjdyoIuONgWdpJu0kuWfRHbfJtS098VjtASWnm8SM bsdNbSBduDg2oOwl3XKJACQeL/hyE94h3mDIcB9NsJHS/2jxJFZtNIXdydGVUW0T2+3Z mGpA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:message-id:in-reply-to :subject:cc:to:from:date:dkim-signature; bh=Ui0BeJCwGOKq8ej5x7M1Q9u0lMO3l7TRN0DCBw5DBWc=; b=Nvv6CY+XN+UAjU6ysth6CrhM7zVWbRkx6uuRdszgF/rqFq1mx6wfj4Q5Mu7z7n34iI KvSbSPe5cxlpncsJHP3HLMDC183fs+Ig5r2MmtW7WccfkdAOd1O4X7l6Rbsym6wm9zmy ee9O8HU6xIZBF/7NBzTqhzmk+OirySDeJB7jMb96rMn4ilhk4syRkGNWVgXt6fl+atp5 eZLgKQJ6NHYC0xi6FVW6ZGwvFJS0cXgkpO1zB4M4cXldRAH6IEJWVd0va6NQuMDnpW4p ABpxJGo6IfZo8JfYm3N0PAw4GO2oN0nyPeSMYdtaLsDyD63V/RSrUpq+Qff2FI5pjN/K iV1Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=MzV7DeqS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i12si8062006edn.0.2021.01.30.15.57.21; Sat, 30 Jan 2021 15:57:45 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=MzV7DeqS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230517AbhA3XzJ (ORCPT + 99 others); Sat, 30 Jan 2021 18:55:09 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45304 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232763AbhA3Xxx (ORCPT ); Sat, 30 Jan 2021 18:53:53 -0500 Received: from mail-pg1-x533.google.com (mail-pg1-x533.google.com [IPv6:2607:f8b0:4864:20::533]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CF157C0617AA for ; Sat, 30 Jan 2021 15:52:03 -0800 (PST) Received: by mail-pg1-x533.google.com with SMTP id i7so9399413pgc.8 for ; Sat, 30 Jan 2021 15:52:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:from:to:cc:subject:in-reply-to:message-id:references :mime-version; bh=Ui0BeJCwGOKq8ej5x7M1Q9u0lMO3l7TRN0DCBw5DBWc=; b=MzV7DeqSQEU06RPg78K/siciEFk1jfbTpumwWmLQl6H6Gtps4XMqo2d69/O5cLG2ib sWHVna8f+tRiTekQ27iMrabwakv/X6Gbl2kRVK/U/BGlRXp3T9i1yQQSuVnU6lr+dm/x 8FEPu29yNnBux/VASHH7ScQ+Jl0IiYohkU6+RCuQUg1EgQPqAcab+9vyY4J5yCbNcTRR nr53UK6NJNWZfhq5VD+V3Le0HG/nMeKhW74bPHwhTL5zw+kABM4AX6dL+VwufuqFX1nq tUL0JTNvh8Ct349k+VfR9Xo8+biP3GeU+ESkvAHVcmQEBivIFsiEhTmpY/WaIHhwMGhe hhVw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:in-reply-to:message-id :references:mime-version; bh=Ui0BeJCwGOKq8ej5x7M1Q9u0lMO3l7TRN0DCBw5DBWc=; b=FPHtupHC9B/gfK6A/iz6Ptyn76polG0nT2Xi+ueAgRI8bAsUsiuYktznpiMkCv2fNH dwBtG37KcdLg49e3ljYpYh29oMOmm4KLaWJXRkGLZAYl3T2plfV04+F70HjX4LCNK9M+ TFYkpZlqEgv8PDACO1MZ8XSs4BhH3dXkM5IwG90e3ZzPZfEDWnA9GYIcy1gRmi7j1QGe 03ow473NEJ33b3+c5xBwd3VTAiqUt75DQNzdvubFTRkBqX/sk0VsVyA/RAAlqq+iwg1m ThkaWfL/dGfhsKc4cIJiMTO1sm9UoHJ1Vi08uY0Sr1toSgM1ftrVhikrEAskWm+L9F8R 6vmA== X-Gm-Message-State: AOAM531hL8IVpD7P9xgGPOJ21zLI5u/g8QoOv6G/5HuFsH0MI3Gf1/Gs iiAt54Rc9FtIyDoe91hJHhjk2A== X-Received: by 2002:a63:7947:: with SMTP id u68mr3474320pgc.451.1612050723241; Sat, 30 Jan 2021 15:52:03 -0800 (PST) Received: from [2620:15c:17:3:4a0f:cfff:fe51:6667] ([2620:15c:17:3:4a0f:cfff:fe51:6667]) by smtp.gmail.com with ESMTPSA id e12sm13104562pga.13.2021.01.30.15.52.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 30 Jan 2021 15:52:02 -0800 (PST) Date: Sat, 30 Jan 2021 15:52:01 -0800 (PST) From: David Rientjes To: Ben Widawsky cc: linux-cxl@vger.kernel.org, Dan Williams , linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org, linux-nvdimm@lists.01.org, linux-pci@vger.kernel.org, Bjorn Helgaas , Chris Browy , Christoph Hellwig , Ira Weiny , Jon Masters , Jonathan Cameron , Rafael Wysocki , Randy Dunlap , Vishal Verma , daniel.lll@alibaba-inc.com, "John Groves (jgroves)" , "Kelley, Sean V" Subject: Re: [PATCH 05/14] cxl/mem: Register CXL memX devices In-Reply-To: <20210130002438.1872527-6-ben.widawsky@intel.com> Message-ID: References: <20210130002438.1872527-1-ben.widawsky@intel.com> <20210130002438.1872527-6-ben.widawsky@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 29 Jan 2021, Ben Widawsky wrote: > diff --git a/Documentation/ABI/testing/sysfs-bus-cxl b/Documentation/ABI/testing/sysfs-bus-cxl > new file mode 100644 > index 000000000000..fe7b87eba988 > --- /dev/null > +++ b/Documentation/ABI/testing/sysfs-bus-cxl > @@ -0,0 +1,26 @@ > +What: /sys/bus/cxl/devices/memX/firmware_version > +Date: December, 2020 > +KernelVersion: v5.12 > +Contact: linux-cxl@vger.kernel.org > +Description: > + (RO) "FW Revision" string as reported by the Identify > + Memory Device Output Payload in the CXL-2.0 > + specification. > + > +What: /sys/bus/cxl/devices/memX/ram/size > +Date: December, 2020 > +KernelVersion: v5.12 > +Contact: linux-cxl@vger.kernel.org > +Description: > + (RO) "Volatile Only Capacity" as reported by the > + Identify Memory Device Output Payload in the CXL-2.0 > + specification. > + > +What: /sys/bus/cxl/devices/memX/pmem/size > +Date: December, 2020 > +KernelVersion: v5.12 > +Contact: linux-cxl@vger.kernel.org > +Description: > + (RO) "Persistent Only Capacity" as reported by the > + Identify Memory Device Output Payload in the CXL-2.0 > + specification. Aren't volatile and persistent capacities expressed in multiples of 256MB?