Linux-CXL Archive mirror
 help / color / mirror / Atom feed
From: Dave Jiang <dave.jiang@intel.com>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: "linux-cxl@vger.kernel.org" <linux-cxl@vger.kernel.org>,
	linux-kernel <linux-kernel@vger.kernel.org>,
	Dan Williams <dan.j.williams@intel.com>,
	Davidlohr Bueso <dave@stgolabs.net>,
	Jonathan Cameron <Jonathan.Cameron@huawei.com>,
	Ira Weiny <ira.weiny@intel.com>,
	Alison Schofield <alison.schofield@intel.com>,
	Vishal Verma <vishal.l.verma@intel.com>
Subject: [GIT PULL] Compute Express Link (CXL) for 6.10
Date: Wed, 15 May 2024 10:42:04 -0700	[thread overview]
Message-ID: <99729afb-d538-4172-9659-ea12b993c6c3@intel.com> (raw)

Hi Linus, please pull from:

  git://git.kernel.org/pub/scm/linux/kernel/git/cxl/cxl.git tags/cxl-for-6.10

...to receive 3 feature updates and some fixes and cleanups for CXL.

Three CXL mailbox passthrough commands are added to support the populating and clearing
of vendor debug logs.

The second feature is adding support of Device Phyiscal Address (DPA) to Host Physical
Address (HPA) translation for CXL events of cxl_dram and cxl_general media. The support
allows user space to figure out which CXL region the event occured via trace event.

The third feature connects CXL to CPER reporting. If a device is configured for firmware
first, CXL event records are not sent directly to the host. Those records are reported
through EFI Common Platform Error Records (CPER). Support is added to route the CPER
records through the CXL sub-system in order to provide DPA to HPA translation and also
event decoding and tracing. This is useful for users to determine which system issues
may correspond to specific hardware events.

A number of misc cleanups and fixes are also included in this pull request.

The following commits have late tags that were submitted after the commits have been
pushed to cxl/next branch:

866c0674541f cxl: Fix use of phys_to_target_node() for x86
Reviewed-by: Davidlohr Bueso <dave@stgolabs.net>

d357dd8ad2f1 ("cxl/region: Convert cxl_pmem_region_alloc to scope-based resource management")
Reviewed-by: Li Zhijian <lizhijian@fujitsu.com>
Tested-by: Li Zhijian <lizhijian@fujitsu.com>

This pull request has appeared in the linux-next for more than a week and has build
success notification from kbuild-robot.

---

The following changes since commit e67572cd2204894179d89bd7b984072f19313b03:

  Linux 6.9-rc6 (2024-04-28 13:47:24 -0700)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/cxl/cxl.git tags/cxl-for-6.10

for you to fetch changes up to d99f13843237cf9dbdc1bd873a901662b4aee16f:

  cxl/cper: Remove duplicated GUID defines (2024-05-02 12:12:45 -0700)

----------------------------------------------------------------
CXL changes for v6.10 merge window

Topics:
- Add CXL log related mailbox commands
  - Add Get Log Capabilities command
  - Add Get Supported Log Sub-List Commands command
  - Add Clear Log command
- Add series for DPA to HPA translation for CXL events cxl_dram and cxl_general_media
- Add support to send CPER records to CXL for more detailed parsing.

Misc changes and fixes:
- Fix for compile warning of cxl_security_ops
- Add debug message for invalid interleave granularity
- Enhancement to cxl-test event testing
- Add dev_warn() on unsupported mixed mode decoder
- Fix use of phys_to_target_node() for x86
- Use helper function for decoder enum instead of open coding
- Include missing headers for cxl-event
- Fix MAINTAINERS file entry
- Fix cxlr_pmem memory leak
- Cleanup __cxl_parse_cfmws via scope-based resource menagement
- Convert cxl_pmem_region_alloc() to scope-based resource management

----------------------------------------------------------------
Alison Schofield (5):
      cxl/hdm: dev_warn() on unsupported mixed mode decoder
      cxl/trace: Correct DPA field masks for general_media & dram events
      cxl/region: Move cxl_dpa_to_region() work to the region driver
      cxl/region: Move cxl_trace_hpa() work to the region driver
      cxl/core: Add region info to cxl_general_media and cxl_dram events

Dan Williams (2):
      cxl/acpi: Cleanup __cxl_parse_cfmws()
      cxl/region: Convert cxl_pmem_region_alloc to scope-based resource management

Dave Jiang (4):
      cxl: Fix compile warning for cxl_security_ops extern
      Merge remote-tracking branch 'cxl/for-6.10/add-log-mbox-cmds' into cxl-for-next
      Merge remote-tracking branch 'cxl/for-6.10/dpa-to-hpa' into cxl-for-next
      Merge remote-tracking branch 'cxl/for-6.10/cper' into cxl-for-next

Huang Ying (1):
      cxl/hdm: Add debug message for invalid interleave granularity

Ira Weiny (6):
      cxl/test: Enhance event testing
      cxl/hdm: Debug, use decoder name function
      acpi/ghes: Process CXL Component Events
      cxl/pci: Process CPER events
      cxl/cper: Fix non-ACPI-APEI-GHES build
      cxl/cper: Remove duplicated GUID defines

Li Zhijian (1):
      cxl/region: Fix cxlr_pmem leaks

Lukas Bulwahn (1):
      MAINTAINERS: repair file entry in COMPUTE EXPRESS LINK

Robert Richter (1):
      cxl: Fix use of phys_to_target_node() for x86

Sangyun Kim (1):
      cxl/cxl-event: include missing <linux/types.h> and <linux/uuid.h>

Srinivasulu Thanneeru (2):
      cxl/mbox: Add Get Log Capabilities and Get Supported Logs Sub-List commands
      cxl/mbox: Add Clear Log mailbox command

 MAINTAINERS                  |   2 +-
 drivers/acpi/apei/ghes.c     |  84 ++++++++++++++++++++
 drivers/cxl/Kconfig          |   1 +
 drivers/cxl/acpi.c           |  93 +++++++++++++----------
 drivers/cxl/core/core.h      |  14 ++++
 drivers/cxl/core/hdm.c       |  13 ++--
 drivers/cxl/core/mbox.c      |  48 ++++++++++--
 drivers/cxl/core/memdev.c    |  44 -----------
 drivers/cxl/core/region.c    | 177 +++++++++++++++++++++++++++++++++++++------
 drivers/cxl/core/trace.c     |  91 ----------------------
 drivers/cxl/core/trace.h     |  50 ++++++++----
 drivers/cxl/cxl.h            |   7 ++
 drivers/cxl/cxlmem.h         |   3 +
 drivers/cxl/pci.c            |  71 ++++++++++++++++-
 drivers/cxl/pmem.c           |   2 -
 include/linux/cxl-event.h    |  39 ++++++++++
 include/uapi/linux/cxl_mem.h |   3 +
 tools/testing/cxl/test/mem.c |  19 ++++-
 18 files changed, 527 insertions(+), 234 deletions(-)

             reply	other threads:[~2024-05-15 17:42 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-15 17:42 Dave Jiang [this message]
2024-05-16  0:56 ` [GIT PULL] Compute Express Link (CXL) for 6.10 pr-tracker-bot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=99729afb-d538-4172-9659-ea12b993c6c3@intel.com \
    --to=dave.jiang@intel.com \
    --cc=Jonathan.Cameron@huawei.com \
    --cc=alison.schofield@intel.com \
    --cc=dan.j.williams@intel.com \
    --cc=dave@stgolabs.net \
    --cc=ira.weiny@intel.com \
    --cc=linux-cxl@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@linux-foundation.org \
    --cc=vishal.l.verma@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).