From: "Dixit, Ashutosh" <ashutosh.dixit@intel.com>
To: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Cc: intel-xe@lists.freedesktop.org,
John Harrison <John.C.Harrison@Intel.com>
Subject: Re: [PATCH v4 08/13] drm/xe/pxp: Add userspace and LRC support for PXP-using queues
Date: Mon, 06 Jan 2025 13:18:54 -0800 [thread overview]
Message-ID: <855xmr1w01.wl-ashutosh.dixit@intel.com> (raw)
In-Reply-To: <20250106211212.3418231-9-daniele.ceraolospurio@intel.com>
On Mon, 06 Jan 2025 13:12:05 -0800, Daniele Ceraolo Spurio wrote:
>
> Userspace is required to mark a queue as using PXP to guarantee that the
> PXP instructions will work. In addition to managing the PXP sessions,
> when a PXP queue is created the driver will set the relevant bits in
> its context control register.
>
> On submission of a valid PXP queue, the driver will validate all
> encrypted objects mapped to the VM to ensured they were encrypted with
> the current key.
>
> v2: Remove pxp_types include outside of PXP code (Jani), better comments
> and code cleanup (John)
>
> v3: split the internal PXP management to a separate patch for ease of
> review. re-order ioctl checks to always return -EINVAL if parameters are
> invalid, rebase on msix changes.
>
> Signed-off-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
> Cc: John Harrison <John.C.Harrison@Intel.com>
> ---
> drivers/gpu/drm/xe/regs/xe_engine_regs.h | 1 +
> drivers/gpu/drm/xe/xe_exec_queue.c | 56 +++++++++++++++++++++++-
> drivers/gpu/drm/xe/xe_exec_queue.h | 5 +++
> drivers/gpu/drm/xe/xe_exec_queue_types.h | 2 +
> drivers/gpu/drm/xe/xe_execlist.c | 2 +-
> drivers/gpu/drm/xe/xe_lrc.c | 18 ++++++--
> drivers/gpu/drm/xe/xe_lrc.h | 4 +-
> drivers/gpu/drm/xe/xe_pxp.c | 35 +++++++++++++--
> drivers/gpu/drm/xe/xe_pxp.h | 4 +-
> include/uapi/drm/xe_drm.h | 40 ++++++++++++++++-
I believe patches which touch 'include/uapi/drm/xe_drm.h' should be titled
"drm/xe/pxp/uapi: foo" or "drm/xe/uapi: foo".
next prev parent reply other threads:[~2025-01-06 21:18 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-01-06 21:11 [PATCH v4 00/13] Add PXP HWDRM support Daniele Ceraolo Spurio
2025-01-06 21:11 ` [PATCH v4 01/13] drm/xe/pxp: Initialize PXP structure and KCR reg Daniele Ceraolo Spurio
2025-01-06 21:11 ` [PATCH v4 02/13] drm/xe/pxp: Allocate PXP execution resources Daniele Ceraolo Spurio
2025-01-06 21:12 ` [PATCH v4 03/13] drm/xe/pxp: Add VCS inline termination support Daniele Ceraolo Spurio
2025-01-06 21:12 ` [PATCH v4 04/13] drm/xe/pxp: Add GSC session invalidation support Daniele Ceraolo Spurio
2025-01-06 21:12 ` [PATCH v4 05/13] drm/xe/pxp: Handle the PXP termination interrupt Daniele Ceraolo Spurio
2025-01-06 21:12 ` [PATCH v4 06/13] drm/xe/pxp: Add GSC session initialization support Daniele Ceraolo Spurio
2025-01-06 21:12 ` [PATCH v4 07/13] drm/xe/pxp: Add PXP queue tracking and session start Daniele Ceraolo Spurio
2025-01-13 22:11 ` John Harrison
2025-01-06 21:12 ` [PATCH v4 08/13] drm/xe/pxp: Add userspace and LRC support for PXP-using queues Daniele Ceraolo Spurio
2025-01-06 21:18 ` Dixit, Ashutosh [this message]
2025-01-13 22:34 ` John Harrison
2025-01-06 21:12 ` [PATCH v4 09/13] drm/xe/pxp: Add a query for PXP status Daniele Ceraolo Spurio
2025-01-06 21:12 ` [PATCH v4 10/13] drm/xe/pxp: Add API to mark a BO as using PXP Daniele Ceraolo Spurio
2025-01-13 23:03 ` John Harrison
2025-01-06 21:12 ` [PATCH v4 11/13] drm/xe/pxp: add PXP PM support Daniele Ceraolo Spurio
2025-01-13 23:10 ` John Harrison
2025-01-06 21:12 ` [PATCH v4 12/13] drm/xe/pxp: Add PXP debugfs support Daniele Ceraolo Spurio
2025-01-06 21:12 ` [PATCH v4 13/13] drm/xe/pxp: Enable PXP for MTL and LNL Daniele Ceraolo Spurio
2025-01-06 21:34 ` ✓ CI.Patch_applied: success for Add PXP HWDRM support (rev4) Patchwork
2025-01-06 21:35 ` ✗ CI.checkpatch: warning " Patchwork
2025-01-06 21:36 ` ✓ CI.KUnit: success " Patchwork
2025-01-06 21:54 ` ✓ CI.Build: " Patchwork
2025-01-06 21:57 ` ✓ CI.Hooks: " Patchwork
2025-01-06 21:58 ` ✓ CI.checksparse: " Patchwork
2025-01-06 22:28 ` ✗ Xe.CI.BAT: failure " Patchwork
2025-01-07 23:28 ` ✗ Xe.CI.Full: " Patchwork
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=855xmr1w01.wl-ashutosh.dixit@intel.com \
--to=ashutosh.dixit@intel.com \
--cc=John.C.Harrison@Intel.com \
--cc=daniele.ceraolospurio@intel.com \
--cc=intel-xe@lists.freedesktop.org \
/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