From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1537EC56202 for ; Mon, 23 Nov 2020 16:20:50 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 7ABB82080A for ; Mon, 23 Nov 2020 16:20:49 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 7ABB82080A Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linux.intel.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=intel-gfx-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id A0AB989BE8; Mon, 23 Nov 2020 16:20:48 +0000 (UTC) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by gabe.freedesktop.org (Postfix) with ESMTPS id 2D8CA89BE8 for ; Mon, 23 Nov 2020 16:20:47 +0000 (UTC) IronPort-SDR: w0/1c4Gj/7NnR9ZIPC2jgal2/ikfmmi151RcU20G+zs7oDE9ud+866IjQPDETxIqeRXnIJB0f8 EKof3dNJhKww== X-IronPort-AV: E=McAfee;i="6000,8403,9813"; a="189912998" X-IronPort-AV: E=Sophos;i="5.78,363,1599548400"; d="scan'208";a="189912998" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Nov 2020 08:20:46 -0800 IronPort-SDR: 4t08UCU9lYzPtB22S1j9iKizjAyBp2G8IJ0V3XDDM92ERTvbuQZe26/0++U8XPL9m+ZqbTb+yn 68gpaP4lVZ8g== X-IronPort-AV: E=Sophos;i="5.78,363,1599548400"; d="scan'208";a="546474702" Received: from suygunge-mobl.ger.corp.intel.com (HELO localhost) ([10.249.40.108]) by orsmga005-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Nov 2020 08:20:45 -0800 From: Jani Nikula To: "Huang\, Sean Z" , Intel-gfx@lists.freedesktop.org In-Reply-To: <20201121003540.24980-1-sean.z.huang@intel.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo References: <20201121003540.24980-1-sean.z.huang@intel.com> Date: Mon, 23 Nov 2020 18:20:42 +0200 Message-ID: <87sg90m4dh.fsf@intel.com> MIME-Version: 1.0 Subject: Re: [Intel-gfx] [RFC-v2 00/26] Introduce Intel PXP component X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" On Fri, 20 Nov 2020, "Huang, Sean Z" 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