lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <cover.1655250669.git.alison.schofield@intel.com>
Date:   Tue, 14 Jun 2022 17:10:25 -0700
From:   alison.schofield@...el.com
To:     Dan Williams <dan.j.williams@...el.com>,
        Ira Weiny <ira.weiny@...el.com>,
        Vishal Verma <vishal.l.verma@...el.com>,
        Ben Widawsky <bwidawsk@...nel.org>,
        Steven Rostedt <rostedt@...dmis.org>,
        Ingo Molnar <mingo@...hat.com>
Cc:     Alison Schofield <alison.schofield@...el.com>,
        linux-cxl@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: [PATCH 0/3] CXL Poison List Retrieval & Tracing

From: Alison Schofield <alison.schofield@...el.com>

Introducing the first piece of support for CXL Media Errors,
offering the ability to retrieve a devices poison list and
store the returned error records as kernel trace events.

The handling of the poison list is guided by the CXL 2.0 Spec
Section 8.2.9.5.4.1. [1] The usage of Trace Events to store the
Media Error records is a first look at the proposed handling
of CXL ARS events.

Example command line usage:

$ trace-cmd record -e cxl_poison_list
$ echo 1 > /sys/bus/cxl/devices/mem1/get_poison
$ trace-cmd report trace.dat

cxl_poison_list:	memdev: mem3 source EXTERNAL start 0x41 length 0x2
cxl_poison_list:	memdev: mem3 source INTERNAL start 0xc2 length 0x3
cxl_poison_list:	memdev: mem3 source INJECTED start 0x183 length 0x4
cxl_poison_list:	memdev: mem3 source INVALID start 0x284 length 0x5
cxl_poison_list:	memdev: mem3 source VENDOR start 0x707 length 0x8

[1]: https://www.computeexpresslink.org/download-the-specification

Alison Schofield (3):
  trace, cxl: Introduce a TRACE_EVENT for CXL Poison Records
  cxl/mbox: Add GET_POISON_LIST mailbox command support
  cxl/core: Add sysfs attribute get_poison for list retrieval

 Documentation/ABI/testing/sysfs-bus-cxl | 13 +++++
 drivers/cxl/cxlmem.h                    | 43 ++++++++++++++
 include/trace/events/cxl.h              | 60 ++++++++++++++++++++
 drivers/cxl/core/mbox.c                 | 75 +++++++++++++++++++++++++
 drivers/cxl/core/memdev.c               | 32 +++++++++++
 5 files changed, 223 insertions(+)
 create mode 100644 include/trace/events/cxl.h


base-commit: 2263e9ed65887cc7c6e977f372596199d2c9f4af
-- 
2.31.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ