Skip to content

RFC Introduce Intel PXP component

Huang, Sean Z intel-gfx 5 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 RFC Latest26 patches 2 repliesIn review
  2. v3 RFC posting 2/226 patches 0 repliesSuperseded
  3. v3 RFC posting 1/226 patches 0 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v2 RFC26 patches1 replySuperseded
v127 patches19 repliesSuperseded

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/26drm/i915/pxp: Introduce Intel PXP componentdrivers/gpu/drm/i915/Kconfig drivers/gpu/drm/i915/Makefile drivers/gpu/drm/i915/i915_drv.c +3 more+89 -00 replies
2/26drm/i915/pxp: Enable PXP irq worker and callback stubdrivers/gpu/drm/i915/gt/intel_gt_irq.c drivers/gpu/drm/i915/i915_reg.h drivers/gpu/drm/i915/pxp/intel_pxp.c +1 more+129 -00 replies
3/26drm/i915/pxp: Add PXP context for logical hardware states.drivers/gpu/drm/i915/Makefile drivers/gpu/drm/i915/pxp/intel_pxp.c drivers/gpu/drm/i915/pxp/intel_pxp.h +2 more+122 -20 replies
4/26drm/i915/pxp: set KCR reg init during the boot timedrivers/gpu/drm/i915/Makefile drivers/gpu/drm/i915/pxp/intel_pxp.c drivers/gpu/drm/i915/pxp/intel_pxp_sm.c +1 more+70 -20 replies
5/26drm/i915/pxp: Implement ioctl action to set the user space contextdrivers/gpu/drm/i915/pxp/intel_pxp.c drivers/gpu/drm/i915/pxp/intel_pxp.h drivers/gpu/drm/i915/pxp/intel_pxp_context.c +1 more+110 -00 replies
6/26drm/i915/pxp: Add PXP-related registers into allowlistdrivers/gpu/drm/i915/i915_reg.h drivers/gpu/drm/i915/intel_uncore.c+41 -150 replies
7/26drm/i915/pxp: Read register to check hardware session statedrivers/gpu/drm/i915/pxp/intel_pxp.h drivers/gpu/drm/i915/pxp/intel_pxp_sm.c drivers/gpu/drm/i915/pxp/intel_pxp_sm.h+231 -00 replies
8/26drm/i915/pxp: Implement funcs to get/set PXP tagdrivers/gpu/drm/i915/pxp/intel_pxp_sm.c drivers/gpu/drm/i915/pxp/intel_pxp_sm.h+113 -00 replies
9/26drm/i915/pxp: Implement ioctl action to reserve session slotdrivers/gpu/drm/i915/pxp/intel_pxp.c drivers/gpu/drm/i915/pxp/intel_pxp.h drivers/gpu/drm/i915/pxp/intel_pxp_sm.c +1 more+193 -30 replies
10/26drm/i915/pxp: Implement ioctl action to set session in playdrivers/gpu/drm/i915/pxp/intel_pxp.c drivers/gpu/drm/i915/pxp/intel_pxp_sm.c drivers/gpu/drm/i915/pxp/intel_pxp_sm.h+75 -00 replies
11/26drm/i915/pxp: Func to send hardware session terminationdrivers/gpu/drm/i915/pxp/intel_pxp_sm.c drivers/gpu/drm/i915/pxp/intel_pxp_sm.h+304 -00 replies
12/26drm/i915/pxp: Implement ioctl action to terminate the sessiondrivers/gpu/drm/i915/pxp/intel_pxp.c drivers/gpu/drm/i915/pxp/intel_pxp_sm.c drivers/gpu/drm/i915/pxp/intel_pxp_sm.h+202 -00 replies
13/26drm/i915/pxp: Enable ioctl action to query PXP tagdrivers/gpu/drm/i915/pxp/intel_pxp.c drivers/gpu/drm/i915/pxp/intel_pxp.h drivers/gpu/drm/i915/pxp/intel_pxp_sm.c +1 more+37 -00 replies
14/26drm/i915/pxp: Destroy all type0 sessions upon teardowndrivers/gpu/drm/i915/pxp/intel_pxp.c drivers/gpu/drm/i915/pxp/intel_pxp_sm.c drivers/gpu/drm/i915/pxp/intel_pxp_sm.h+117 -20 replies
15/26drm/i915/pxp: Termiante the session upon app crashdrivers/gpu/drm/i915/i915_drv.c drivers/gpu/drm/i915/pxp/intel_pxp.c drivers/gpu/drm/i915/pxp/intel_pxp.h +2 more+37 -00 replies
16/26drm/i915/pxp: Enable PXP power managementdrivers/gpu/drm/i915/Makefile drivers/gpu/drm/i915/i915_drv.c drivers/gpu/drm/i915/pxp/intel_pxp_pm.c +1 more+112 -00 replies
17/26drm/i915/pxp: Implement funcs to create the TEE channeldrivers/gpu/drm/i915/Makefile drivers/gpu/drm/i915/i915_drv.c drivers/gpu/drm/i915/i915_drv.h +5 more+201 -10 replies
18/26drm/i915/pxp: Implement ioctl action to send TEE commandsdrivers/gpu/drm/i915/pxp/intel_pxp.c drivers/gpu/drm/i915/pxp/intel_pxp.h drivers/gpu/drm/i915/pxp/intel_pxp_tee.c +1 more+92 -00 replies
19/26drm/i915/pxp: Create the arbitrary session after bootdrivers/gpu/drm/i915/pxp/intel_pxp.c drivers/gpu/drm/i915/pxp/intel_pxp.h drivers/gpu/drm/i915/pxp/intel_pxp_sm.c +3 more+126 -10 replies
20/26drm/i915/pxp: Add i915 trace logs for PXP operationsdrivers/gpu/drm/i915/i915_trace.h drivers/gpu/drm/i915/pxp/intel_pxp.c+50 -00 replies
21/26drm/i915/pxp: Expose session state for display protection flipdrivers/gpu/drm/i915/pxp/intel_pxp.c drivers/gpu/drm/i915/pxp/intel_pxp.h+15 -00 replies
22/26mei: pxp: export pavp client to me client busdrivers/misc/mei/Kconfig drivers/misc/mei/Makefile drivers/misc/mei/pxp/Kconfig +3 more+271 -00 replies
23/26drm/i915/uapi: introduce drm_i915_gem_create_extdrivers/gpu/drm/i915/i915_drv.c drivers/gpu/drm/i915/i915_gem.c include/uapi/drm/i915_drm.h+89 -20 replies
24/26drm/i915/pxp: User interface for Protected bufferdrivers/gpu/drm/i915/gem/i915_gem_context.c drivers/gpu/drm/i915/gem/i915_gem_context.h drivers/gpu/drm/i915/gem/i915_gem_context_types.h +3 more+67 -72 replies
25/26drm/i915/pxp: Add plane decryption supportdrivers/gpu/drm/i915/display/intel_sprite.c drivers/gpu/drm/i915/i915_reg.h+19 -30 replies
26/26drm/i915/pxp: Enable the PXP ioctl for protected sessiondrivers/gpu/drm/i915/i915_drv.c drivers/gpu/drm/i915/pxp/intel_pxp.h include/uapi/drm/i915_drm.h+76 -480 replies

Reviews trailers per patch

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

Read the v4 thread

Cover letter [Intel-gfx] [RFC-v4 00/26] Introduce Intel PXP component

PXP is an i915 componment, that helps user space to establish the hardware protected session and manage the status of each alive software session, as well as the life cycle of each session.

This ioctl is to allow user space driver to create, set, and destroy each session. It also provides the communication chanel to TEE (Trusted Execution Environment) for the protected hardware session creation.

Anshuman Gupta (1):
drm/i915/pxp: Add plane decryption support

Bommu Krishnaiah (2):
drm/i915/uapi: introduce drm_i915_gem_create_ext drm/i915/pxp: User interface for Protected buffer

Huang, Sean Z (22):
drm/i915/pxp: Introduce Intel PXP component drm/i915/pxp: Enable PXP irq worker and callback stub drm/i915/pxp: Add PXP context for logical hardware states. drm/i915/pxp: set KCR reg init during the boot time drm/i915/pxp: Implement ioctl action to set the user space context drm/i915/pxp: Add PXP-related registers into allowlist drm/i915/pxp: Read register to check hardware session state drm/i915/pxp: Implement funcs to get/set PXP tag drm/i915/pxp: Implement ioctl action to reserve session slot drm/i915/pxp: Implement ioctl action to set session in play drm/i915/pxp: Func to send hardware session termination drm/i915/pxp: Implement ioctl action to terminate the session drm/i915/pxp: Enable ioctl action to query PXP tag drm/i915/pxp: Destroy all type0 sessions upon teardown drm/i915/pxp: Termiante the session upon app crash drm/i915/pxp: Enable PXP power management
drm/i915/pxp: Implement funcs to create the TEE channel drm/i915/pxp: Implement ioctl action to send TEE commands drm/i915/pxp: Create the arbitrary session after boot drm/i915/pxp: Add i915 trace logs for PXP operations drm/i915/pxp: Expose session state for display protection flip drm/i915/pxp: Enable the PXP ioctl for protected session

Vitaly Lubart (1):
mei: pxp: export pavp client to me client bus

 drivers/gpu/drm/i915/Kconfig                  |   19 +
 drivers/gpu/drm/i915/Makefile                 |    8 +
 drivers/gpu/drm/i915/display/intel_sprite.c   |   21 +-
 drivers/gpu/drm/i915/gem/i915_gem_context.c   |   15 +-
 drivers/gpu/drm/i915/gem/i915_gem_context.h   |   10 +
 .../gpu/drm/i915/gem/i915_gem_context_types.h |    2 +-
 .../gpu/drm/i915/gem/i915_gem_object_types.h  |    5 +
 drivers/gpu/drm/i915/gt/intel_gt_irq.c        |    4 +
 drivers/gpu/drm/i915/i915_drv.c               |   18 +-
 drivers/gpu/drm/i915/i915_drv.h               |   10 +
 drivers/gpu/drm/i915/i915_gem.c               |   63 +-
 drivers/gpu/drm/i915/i915_reg.h               |    8 +
 drivers/gpu/drm/i915/i915_trace.h             |   44 +
 drivers/gpu/drm/i915/intel_uncore.c           |   50 +-
 drivers/gpu/drm/i915/pxp/intel_pxp.c          |  336 +++++
 drivers/gpu/drm/i915/pxp/intel_pxp.h          |  117 ++
 drivers/gpu/drm/i915/pxp/intel_pxp_context.c  |   69 +
 drivers/gpu/drm/i915/pxp/intel_pxp_context.h  |   47 +
 drivers/gpu/drm/i915/pxp/intel_pxp_pm.c       |   72 +
 drivers/gpu/drm/i915/pxp/intel_pxp_pm.h       |   31 +
 drivers/gpu/drm/i915/pxp/intel_pxp_sm.c       | 1180 +++++++++++++++++
 drivers/gpu/drm/i915/pxp/intel_pxp_sm.h       |  126 ++
 drivers/gpu/drm/i915/pxp/intel_pxp_tee.c      |  216 +++
 drivers/gpu/drm/i915/pxp/intel_pxp_tee.h      |   25 +
 drivers/misc/mei/Kconfig                      |    2 +
 drivers/misc/mei/Makefile                     |    1 +
 drivers/misc/mei/pxp/Kconfig                  |   13 +
 drivers/misc/mei/pxp/Makefile                 |    7 +
 drivers/misc/mei/pxp/mei_pxp.c                |  230 ++++
 drivers/misc/mei/pxp/mei_pxp.h                |   18 +
 include/drm/i915_component.h                  |    1 +
 include/drm/i915_pxp_tee_interface.h          |   45 +
 include/uapi/drm/i915_drm.h                   |  141 ++
 33 files changed, 2928 insertions(+), 26 deletions(-)
 create mode 100644 drivers/gpu/drm/i915/pxp/intel_pxp.c
 create mode 100644 drivers/gpu/drm/i915/pxp/intel_pxp.h
 create mode 100644 drivers/gpu/drm/i915/pxp/intel_pxp_context.c
 create mode 100644 drivers/gpu/drm/i915/pxp/intel_pxp_context.h
 create mode 100644 drivers/gpu/drm/i915/pxp/intel_pxp_pm.c
 create mode 100644 drivers/gpu/drm/i915/pxp/intel_pxp_pm.h
 create mode 100644 drivers/gpu/drm/i915/pxp/intel_pxp_sm.c
 create mode 100644 drivers/gpu/drm/i915/pxp/intel_pxp_sm.h
 create mode 100644 drivers/gpu/drm/i915/pxp/intel_pxp_tee.c
 create mode 100644 drivers/gpu/drm/i915/pxp/intel_pxp_tee.h
 create mode 100644 drivers/misc/mei/pxp/Kconfig
 create mode 100644 drivers/misc/mei/pxp/Makefile
 create mode 100644 drivers/misc/mei/pxp/mei_pxp.c
 create mode 100644 drivers/misc/mei/pxp/mei_pxp.h
 create mode 100644 include/drm/i915_pxp_tee_interface.h
Signature · 6 lines
2.17.1

_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx