From: Jani Nikula <jani.nikula@linux.intel.com>
To: "Huang\, Sean Z" <sean.z.huang@intel.com>,
Intel-gfx@lists.freedesktop.org
Subject: Re: [Intel-gfx] [RFC-v2 00/26] Introduce Intel PXP component
Date: Mon, 23 Nov 2020 18:20:42 +0200 [thread overview]
Message-ID: <87sg90m4dh.fsf@intel.com> (raw)
In-Reply-To: <20201121003540.24980-1-sean.z.huang@intel.com>
On Fri, 20 Nov 2020, "Huang, Sean Z" <sean.z.huang@intel.com> wrote:
> 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.
I seem to have replied to an old version of the series; please see if
the comments I made are still valid.
BR,
Jani.
>
> 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/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 | 322 +++++
> drivers/gpu/drm/i915/pxp/intel_pxp.h | 73 +
> 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 | 16 +
> 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 ++
> 32 files changed, 2836 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
--
Jani Nikula, Intel Open Source Graphics Center
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
prev parent reply other threads:[~2020-11-23 16:20 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-11-21 0:35 [Intel-gfx] [RFC-v2 00/26] Introduce Intel PXP component Huang, Sean Z
2020-11-21 0:35 ` [Intel-gfx] [RFC-v2 01/26] drm/i915/pxp: " Huang, Sean Z
2020-11-21 0:35 ` [Intel-gfx] [RFC-v2 02/26] drm/i915/pxp: Enable PXP irq worker and callback stub Huang, Sean Z
2020-11-21 0:35 ` [Intel-gfx] [RFC-v2 03/26] drm/i915/pxp: Add PXP context for logical hardware states Huang, Sean Z
2020-11-21 0:35 ` [Intel-gfx] [RFC-v2 04/26] drm/i915/pxp: set KCR reg init during the boot time Huang, Sean Z
2020-11-21 0:35 ` [Intel-gfx] [RFC-v2 05/26] drm/i915/pxp: Implement ioctl action to set the user space context Huang, Sean Z
2020-11-21 0:35 ` [Intel-gfx] [RFC-v2 06/26] drm/i915/pxp: Add PXP-related registers into allowlist Huang, Sean Z
2020-11-21 0:35 ` [Intel-gfx] [RFC-v2 07/26] drm/i915/pxp: Read register to check hardware session state Huang, Sean Z
2020-11-21 0:35 ` [Intel-gfx] [RFC-v2 08/26] drm/i915/pxp: Implement funcs to get/set PXP tag Huang, Sean Z
2020-11-21 0:35 ` [Intel-gfx] [RFC-v2 09/26] drm/i915/pxp: Implement ioctl action to reserve session slot Huang, Sean Z
2020-11-21 0:35 ` [Intel-gfx] [RFC-v2 10/26] drm/i915/pxp: Implement ioctl action to set session in play Huang, Sean Z
2020-11-21 0:35 ` [Intel-gfx] [RFC-v2 11/26] drm/i915/pxp: Func to send hardware session termination Huang, Sean Z
2020-11-21 0:35 ` [Intel-gfx] [RFC-v2 12/26] drm/i915/pxp: Implement ioctl action to terminate the session Huang, Sean Z
2020-11-21 0:35 ` [Intel-gfx] [RFC-v2 13/26] drm/i915/pxp: Enable ioctl action to query PXP tag Huang, Sean Z
2020-11-21 0:35 ` [Intel-gfx] [RFC-v2 14/26] drm/i915/pxp: Destroy all type0 sessions upon teardown Huang, Sean Z
2020-11-21 0:35 ` [Intel-gfx] [RFC-v2 15/26] drm/i915/pxp: Termiante the session upon app crash Huang, Sean Z
2020-11-21 0:35 ` [Intel-gfx] [RFC-v2 16/26] drm/i915/pxp: Enable PXP power management Huang, Sean Z
2020-11-21 0:35 ` [Intel-gfx] [RFC-v2 17/26] drm/i915/pxp: Implement funcs to create the TEE channel Huang, Sean Z
2020-11-21 0:35 ` [Intel-gfx] [RFC-v2 18/26] drm/i915/pxp: Implement ioctl action to send TEE commands Huang, Sean Z
2020-11-21 0:35 ` [Intel-gfx] [RFC-v2 19/26] drm/i915/pxp: Create the arbitrary session after boot Huang, Sean Z
2020-11-21 0:35 ` [Intel-gfx] [RFC-v2 20/26] drm/i915/pxp: Add i915 trace logs for PXP operations Huang, Sean Z
2020-11-21 0:35 ` [Intel-gfx] [RFC-v2 21/26] drm/i915/pxp: Expose session state for display protection flip Huang, Sean Z
2020-11-21 0:35 ` [Intel-gfx] [RFC-v2 22/26] mei: pxp: export pavp client to me client bus Huang, Sean Z
2020-11-21 0:35 ` [Intel-gfx] [RFC-v2 23/26] drm/i915/uapi: introduce drm_i915_gem_create_ext Huang, Sean Z
2020-11-21 0:35 ` [Intel-gfx] [RFC-v2 24/26] drm/i915/pxp: User interface for Protected buffer Huang, Sean Z
2020-11-21 0:35 ` [Intel-gfx] [RFC-v2 25/26] drm/i915/pxp: Add plane decryption support Huang, Sean Z
2020-11-21 0:35 ` [Intel-gfx] [RFC-v2 26/26] drm/i915/pxp: Enable the PXP ioctl for protected session Huang, Sean Z
2020-11-21 0:55 ` [Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for Introduce Intel PXP component Patchwork
2020-11-21 1:25 ` [Intel-gfx] ✗ Fi.CI.BAT: failure " Patchwork
2020-11-23 16:20 ` Jani Nikula [this message]
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=87sg90m4dh.fsf@intel.com \
--to=jani.nikula@linux.intel.com \
--cc=Intel-gfx@lists.freedesktop.org \
--cc=sean.z.huang@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