|
|
Log in / Subscribe / Register

Crescent Island PMT support

From:  "Michael J. Ruhl" <michael.j.ruhl-AT-intel.com>
To:  platform-driver-x86-AT-vger.kernel.org, intel-xe-AT-lists.freedesktop.org, hansg-AT-kernel.org, ilpo.jarvinen-AT-linux.intel.com, matthew.brost-AT-intel.com, rodrigo.vivi-AT-intel.com, thomas.hellstrom-AT-linux.intel.com, airlied-AT-gmail.com, simona-AT-ffwll.ch, david.e.box-AT-linux.intel.com
Subject:  [PATCH v2 0/5] Crescent Island PMT support
Date:  Fri, 30 Jan 2026 08:36:40 -0500
Message-ID:  <20260130133639.765378-7-michael.j.ruhl@intel.com>
Cc:  "Michael J. Ruhl" <michael.j.ruhl-AT-intel.com>
Archive-link:  Article

The Crescent Island (CRI) GPU supports PMT from the via Xe driver
registration.

The CRI PMT MMIO mapping is shared for each PMT feature and it is
necessary to set an index register value to access the correct memory
space.

The PMT driver has a callback infrastructure to access data areas with
driver specific access. It is does not support the PMT control access.

CRI discovery/control spaces are part of the access window so a driver
callback is necessary to allow for the correct window to be exposed.

Add control path callback support to the PMT driver.

Add CRI PMT discovery information.

Update the Xe driver to support the CRI PMT access.

The crashlog access needs to be done with power enabled (telem is only
available when the device is powered).

Determine which access is requested, and do the appropriate power
request.

v2:
 - clean up commit messages (reflow and content)
 - remove debug usage of __func__
 - addressed kernel-doc issue
 - clean up some added lines 

Michael J. Ruhl (5):
  pmt: Add register access callbacks
  drm/xe/vsec: Use correct pm state get
  drm/xe/vsec: Support Crescent Island PMT
  drm/xe/vsec: Crescent Island PMT decode
  drm/xe/vsec: Crescent Island PMT callbacks

 drivers/gpu/drm/xe/regs/xe_pmt.h          |   5 +
 drivers/gpu/drm/xe/xe_vsec.c              | 255 +++++++++++++++++++---
 drivers/platform/x86/intel/pmt/crashlog.c |  39 +++-
 include/linux/intel_vsec.h                |  26 ++-
 4 files changed, 289 insertions(+), 36 deletions(-)

-- 
2.52.0




Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds