Skip to content

Crescent Island PMT support

Michael J. Ruhl intel-xe platform-driver-x86 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7platform/x86/intel/pmt: complete pcidev to device updatedrivers/platform/x86/intel/pmt/class.c drivers/platform/x86/intel/pmt/class.h drivers/platform/x86/intel/pmt/discovery.c+4 -60 replies
2/7platform/x86/intel/pmt: Add register access callbacksdrivers/platform/x86/intel/pmt/crashlog.c include/linux/intel_vsec.h+48 -30 replies
3/7drm/xe/vsec: Use correct pm state getdrivers/gpu/drm/xe/xe_vsec.c+13 -30 replies
4/7drm/xe/vsec: Support Crescent Island PMTdrivers/gpu/drm/xe/regs/xe_pmt.h drivers/gpu/drm/xe/xe_vsec.c+49 -20 replies
5/7drm/xe/vsec: Crescent Island PMT decodedrivers/gpu/drm/xe/xe_vsec.c+118 -230 replies
6/7drm/xe/vsec: Crescent Island PMT callbacksdrivers/gpu/drm/xe/xe_vsec.c+82 -35 replies
7/7drm/xe/vsec: support late bind fw informationdrivers/gpu/drm/xe/xe_device.c drivers/gpu/drm/xe/xe_device_types.h drivers/gpu/drm/xe/xe_vsec.c +1 more+135 -60 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/7] Crescent Island PMT support

The Crescent Island (CRI) GPU supports PMT 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.

CRI FW is loaded at device power. Support the late-binding API to wait for FW readiness. (pending sysctl patch set implements the API).

Michael J. Ruhl (7):
platform/x86/intel/pmt: complete pcidev to device update platform/x86/intel/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 drm/xe/vsec: support late bind fw information

 drivers/gpu/drm/xe/regs/xe_pmt.h           |   5 +
 drivers/gpu/drm/xe/xe_device.c             |   4 +-
 drivers/gpu/drm/xe/xe_device_types.h       |   4 +
 drivers/gpu/drm/xe/xe_vsec.c               | 417 +++++++++++++++++++--
 drivers/gpu/drm/xe/xe_vsec.h               |   2 +-
 drivers/platform/x86/intel/pmt/class.c     |   5 +-
 drivers/platform/x86/intel/pmt/class.h     |   3 +-
 drivers/platform/x86/intel/pmt/crashlog.c  |  39 +-
 drivers/platform/x86/intel/pmt/discovery.c |   2 +-
 include/linux/intel_vsec.h                 |  12 +
 10 files changed, 448 insertions(+), 45 deletions(-)
Signature · 1 line
2.43.0