All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alexander Usyskin <alexander.usyskin@intel.com>
To: Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	Jani Nikula <jani.nikula@linux.intel.com>,
	Joonas Lahtinen <joonas.lahtinen@linux.intel.com>,
	Rodrigo Vivi <rodrigo.vivi@intel.com>,
	David Airlie <airlied@linux.ie>, Daniel Vetter <daniel@ffwll.ch>,
	Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com>
Cc: Tomas Winkler <tomas.winkler@intel.com>,
	Alexander Usyskin <alexander.usyskin@intel.com>,
	Vitaly Lubart <vitaly.lubart@intel.com>,
	intel-gfx@lists.freedesktop.org, linux-kernel@vger.kernel.org
Subject: [PATCH 00/20] GSC support for XeHP SDV and DG2 platforms
Date: Thu,  7 Apr 2022 15:58:19 +0300	[thread overview]
Message-ID: <20220407125839.1479249-1-alexander.usyskin@intel.com> (raw)

Add GSC support for XeHP SDV and DG2 platforms.

The series includes changes for the mei driver:
- add ability to use polling instead of interrupts
- add ability to use extended timeouts
- setup extended operational memory for GSC

The series includes changes for the i915 driver:
- allocate extended operational memory for GSC
- GSC on XeHP SDV offsets and definitions
- GSC on DG2 offsets and definitions

The first six patches of the series are copied from the
already reviewed series [1] to provide series that
can be built in CI.
This series will be rebased and merged only after
series [1] merge.

Greg KH, please review and ACK the MEI patches.
We are pushing these patches through gfx tree as
the auxiliary device belongs there.

[1] https://patchwork.freedesktop.org/series/102160/

Alexander Usyskin (7):
  mei: gsc: setup char driver alive in spite of firmware handshake
    failure
  mei: gsc: retrieve the firmware version
  drm/i915/gsc: add slow_fw flag to the mei auxiliary device
  drm/i915/gsc: add slow_fw flag to the gsc device definition
  drm/i915/gsc: add GSC XeHP SDV platform definition
  mei: gsc: wait for reset thread on stop
  mei: extend timeouts on slow devices.

Daniele Ceraolo Spurio (1):
  HAX: drm/i915: force INTEL_MEI_GSC on for CI

Tomas Winkler (9):
  drm/i915/gsc: add gsc as a mei auxiliary device
  mei: add support for graphics system controller (gsc) devices
  mei: gsc: add runtime pm handlers
  mei: gsc: use polling instead of interrupts
  drm/i915/dg2: add gsc with special gsc bar offsets
  mei: mkhi: add memory ready command
  mei: gsc: setup gsc extended operational memory
  mei: debugfs: add pxp mode to devstate in debugfs
  drm/i915/gsc: allocate extended operational memory in LMEM

Vitaly Lubart (3):
  drm/i915/gsc: skip irq initialization if using polling
  mei: bus: export common mkhi definitions into a separate header
  mei: gsc: add transition to PXP mode in resume flow

 MAINTAINERS                              |   1 +
 drivers/gpu/drm/i915/Kconfig             |   1 +
 drivers/gpu/drm/i915/Kconfig.debug       |   1 +
 drivers/gpu/drm/i915/Makefile            |   3 +
 drivers/gpu/drm/i915/gt/intel_gsc.c      | 323 +++++++++++++++++++++++
 drivers/gpu/drm/i915/gt/intel_gsc.h      |  40 +++
 drivers/gpu/drm/i915/gt/intel_gt.c       |   3 +
 drivers/gpu/drm/i915/gt/intel_gt.h       |   5 +
 drivers/gpu/drm/i915/gt/intel_gt_irq.c   |  13 +
 drivers/gpu/drm/i915/gt/intel_gt_regs.h  |   1 +
 drivers/gpu/drm/i915/gt/intel_gt_types.h |   2 +
 drivers/gpu/drm/i915/i915_drv.h          |   8 +
 drivers/gpu/drm/i915/i915_pci.c          |   4 +-
 drivers/gpu/drm/i915/i915_reg.h          |   4 +
 drivers/gpu/drm/i915/intel_device_info.h |   2 +
 drivers/misc/mei/Kconfig                 |  14 +
 drivers/misc/mei/Makefile                |   3 +
 drivers/misc/mei/bus-fixup.c             | 128 ++++++---
 drivers/misc/mei/client.c                |  14 +-
 drivers/misc/mei/debugfs.c               |  17 ++
 drivers/misc/mei/gsc-me.c                | 316 ++++++++++++++++++++++
 drivers/misc/mei/hbm.c                   |  12 +-
 drivers/misc/mei/hw-me-regs.h            |   7 +
 drivers/misc/mei/hw-me.c                 | 145 ++++++++--
 drivers/misc/mei/hw-me.h                 |  16 +-
 drivers/misc/mei/hw-txe.c                |   2 +-
 drivers/misc/mei/hw.h                    |   5 +
 drivers/misc/mei/init.c                  |  21 +-
 drivers/misc/mei/main.c                  |   2 +-
 drivers/misc/mei/mei_dev.h               |  26 ++
 drivers/misc/mei/mkhi.h                  |  57 ++++
 drivers/misc/mei/pci-me.c                |   2 +-
 include/linux/mei_aux.h                  |  21 ++
 33 files changed, 1146 insertions(+), 73 deletions(-)
 create mode 100644 drivers/gpu/drm/i915/gt/intel_gsc.c
 create mode 100644 drivers/gpu/drm/i915/gt/intel_gsc.h
 create mode 100644 drivers/misc/mei/gsc-me.c
 create mode 100644 drivers/misc/mei/mkhi.h
 create mode 100644 include/linux/mei_aux.h

-- 
2.32.0


WARNING: multiple messages have this Message-ID (diff)
From: Alexander Usyskin <alexander.usyskin@intel.com>
To: Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	Jani Nikula <jani.nikula@linux.intel.com>,
	Joonas Lahtinen <joonas.lahtinen@linux.intel.com>,
	Rodrigo Vivi <rodrigo.vivi@intel.com>,
	David Airlie <airlied@linux.ie>, Daniel Vetter <daniel@ffwll.ch>,
	Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com>
Cc: linux-kernel@vger.kernel.org,
	Tomas Winkler <tomas.winkler@intel.com>,
	Alexander Usyskin <alexander.usyskin@intel.com>,
	Vitaly Lubart <vitaly.lubart@intel.com>,
	intel-gfx@lists.freedesktop.org
Subject: [Intel-gfx] [PATCH 00/20] GSC support for XeHP SDV and DG2 platforms
Date: Thu,  7 Apr 2022 15:58:19 +0300	[thread overview]
Message-ID: <20220407125839.1479249-1-alexander.usyskin@intel.com> (raw)

Add GSC support for XeHP SDV and DG2 platforms.

The series includes changes for the mei driver:
- add ability to use polling instead of interrupts
- add ability to use extended timeouts
- setup extended operational memory for GSC

The series includes changes for the i915 driver:
- allocate extended operational memory for GSC
- GSC on XeHP SDV offsets and definitions
- GSC on DG2 offsets and definitions

The first six patches of the series are copied from the
already reviewed series [1] to provide series that
can be built in CI.
This series will be rebased and merged only after
series [1] merge.

Greg KH, please review and ACK the MEI patches.
We are pushing these patches through gfx tree as
the auxiliary device belongs there.

[1] https://patchwork.freedesktop.org/series/102160/

Alexander Usyskin (7):
  mei: gsc: setup char driver alive in spite of firmware handshake
    failure
  mei: gsc: retrieve the firmware version
  drm/i915/gsc: add slow_fw flag to the mei auxiliary device
  drm/i915/gsc: add slow_fw flag to the gsc device definition
  drm/i915/gsc: add GSC XeHP SDV platform definition
  mei: gsc: wait for reset thread on stop
  mei: extend timeouts on slow devices.

Daniele Ceraolo Spurio (1):
  HAX: drm/i915: force INTEL_MEI_GSC on for CI

Tomas Winkler (9):
  drm/i915/gsc: add gsc as a mei auxiliary device
  mei: add support for graphics system controller (gsc) devices
  mei: gsc: add runtime pm handlers
  mei: gsc: use polling instead of interrupts
  drm/i915/dg2: add gsc with special gsc bar offsets
  mei: mkhi: add memory ready command
  mei: gsc: setup gsc extended operational memory
  mei: debugfs: add pxp mode to devstate in debugfs
  drm/i915/gsc: allocate extended operational memory in LMEM

Vitaly Lubart (3):
  drm/i915/gsc: skip irq initialization if using polling
  mei: bus: export common mkhi definitions into a separate header
  mei: gsc: add transition to PXP mode in resume flow

 MAINTAINERS                              |   1 +
 drivers/gpu/drm/i915/Kconfig             |   1 +
 drivers/gpu/drm/i915/Kconfig.debug       |   1 +
 drivers/gpu/drm/i915/Makefile            |   3 +
 drivers/gpu/drm/i915/gt/intel_gsc.c      | 323 +++++++++++++++++++++++
 drivers/gpu/drm/i915/gt/intel_gsc.h      |  40 +++
 drivers/gpu/drm/i915/gt/intel_gt.c       |   3 +
 drivers/gpu/drm/i915/gt/intel_gt.h       |   5 +
 drivers/gpu/drm/i915/gt/intel_gt_irq.c   |  13 +
 drivers/gpu/drm/i915/gt/intel_gt_regs.h  |   1 +
 drivers/gpu/drm/i915/gt/intel_gt_types.h |   2 +
 drivers/gpu/drm/i915/i915_drv.h          |   8 +
 drivers/gpu/drm/i915/i915_pci.c          |   4 +-
 drivers/gpu/drm/i915/i915_reg.h          |   4 +
 drivers/gpu/drm/i915/intel_device_info.h |   2 +
 drivers/misc/mei/Kconfig                 |  14 +
 drivers/misc/mei/Makefile                |   3 +
 drivers/misc/mei/bus-fixup.c             | 128 ++++++---
 drivers/misc/mei/client.c                |  14 +-
 drivers/misc/mei/debugfs.c               |  17 ++
 drivers/misc/mei/gsc-me.c                | 316 ++++++++++++++++++++++
 drivers/misc/mei/hbm.c                   |  12 +-
 drivers/misc/mei/hw-me-regs.h            |   7 +
 drivers/misc/mei/hw-me.c                 | 145 ++++++++--
 drivers/misc/mei/hw-me.h                 |  16 +-
 drivers/misc/mei/hw-txe.c                |   2 +-
 drivers/misc/mei/hw.h                    |   5 +
 drivers/misc/mei/init.c                  |  21 +-
 drivers/misc/mei/main.c                  |   2 +-
 drivers/misc/mei/mei_dev.h               |  26 ++
 drivers/misc/mei/mkhi.h                  |  57 ++++
 drivers/misc/mei/pci-me.c                |   2 +-
 include/linux/mei_aux.h                  |  21 ++
 33 files changed, 1146 insertions(+), 73 deletions(-)
 create mode 100644 drivers/gpu/drm/i915/gt/intel_gsc.c
 create mode 100644 drivers/gpu/drm/i915/gt/intel_gsc.h
 create mode 100644 drivers/misc/mei/gsc-me.c
 create mode 100644 drivers/misc/mei/mkhi.h
 create mode 100644 include/linux/mei_aux.h

-- 
2.32.0


             reply	other threads:[~2022-04-07 12:59 UTC|newest]

Thread overview: 55+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-07 12:58 Alexander Usyskin [this message]
2022-04-07 12:58 ` [Intel-gfx] [PATCH 00/20] GSC support for XeHP SDV and DG2 platforms Alexander Usyskin
2022-04-07 12:58 ` [PATCH 01/20] drm/i915/gsc: add gsc as a mei auxiliary device Alexander Usyskin
2022-04-07 12:58   ` [Intel-gfx] " Alexander Usyskin
2022-04-07 12:58 ` [PATCH 02/20] mei: add support for graphics system controller (gsc) devices Alexander Usyskin
2022-04-07 12:58   ` [Intel-gfx] " Alexander Usyskin
2022-04-07 12:58 ` [PATCH 03/20] mei: gsc: setup char driver alive in spite of firmware handshake failure Alexander Usyskin
2022-04-07 12:58   ` [Intel-gfx] " Alexander Usyskin
2022-04-07 12:58 ` [PATCH 04/20] mei: gsc: add runtime pm handlers Alexander Usyskin
2022-04-07 12:58   ` [Intel-gfx] " Alexander Usyskin
2022-04-07 12:58 ` [PATCH 05/20] mei: gsc: retrieve the firmware version Alexander Usyskin
2022-04-07 12:58   ` [Intel-gfx] " Alexander Usyskin
2022-04-07 12:58 ` [PATCH 06/20] HAX: drm/i915: force INTEL_MEI_GSC on for CI Alexander Usyskin
2022-04-07 12:58   ` [Intel-gfx] " Alexander Usyskin
2022-04-07 12:58 ` [PATCH 07/20] drm/i915/gsc: skip irq initialization if using polling Alexander Usyskin
2022-04-07 12:58   ` [Intel-gfx] " Alexander Usyskin
2022-04-11 21:30   ` Ceraolo Spurio, Daniele
2022-04-11 21:30     ` Ceraolo Spurio, Daniele
2022-04-07 12:58 ` [PATCH 08/20] drm/i915/gsc: add slow_fw flag to the mei auxiliary device Alexander Usyskin
2022-04-07 12:58   ` [Intel-gfx] " Alexander Usyskin
2022-04-11 21:34   ` Ceraolo Spurio, Daniele
2022-04-11 21:34     ` Ceraolo Spurio, Daniele
2022-04-07 12:58 ` [Intel-gfx] [PATCH 09/20] drm/i915/gsc: add slow_fw flag to the gsc device definition Alexander Usyskin
2022-04-07 12:58   ` Alexander Usyskin
2022-04-11 21:36   ` [Intel-gfx] " Ceraolo Spurio, Daniele
2022-04-11 21:36     ` Ceraolo Spurio, Daniele
2022-04-07 12:58 ` [Intel-gfx] [PATCH 10/20] drm/i915/gsc: add GSC XeHP SDV platform definition Alexander Usyskin
2022-04-07 12:58   ` Alexander Usyskin
2022-04-07 12:58 ` [Intel-gfx] [PATCH 11/20] mei: gsc: use polling instead of interrupts Alexander Usyskin
2022-04-07 12:58   ` Alexander Usyskin
2022-04-07 12:58 ` [Intel-gfx] [PATCH 12/20] mei: gsc: wait for reset thread on stop Alexander Usyskin
2022-04-07 12:58   ` Alexander Usyskin
2022-04-07 12:58 ` [Intel-gfx] [PATCH 13/20] mei: extend timeouts on slow devices Alexander Usyskin
2022-04-07 12:58   ` Alexander Usyskin
2022-04-07 12:58 ` [Intel-gfx] [PATCH 14/20] drm/i915/dg2: add gsc with special gsc bar offsets Alexander Usyskin
2022-04-07 12:58   ` Alexander Usyskin
2022-04-13 19:12   ` [Intel-gfx] " Ceraolo Spurio, Daniele
2022-04-13 19:12     ` Ceraolo Spurio, Daniele
2022-04-07 12:58 ` [Intel-gfx] [PATCH 15/20] mei: bus: export common mkhi definitions into a separate header Alexander Usyskin
2022-04-07 12:58   ` Alexander Usyskin
2022-04-07 12:58 ` [Intel-gfx] [PATCH 16/20] mei: mkhi: add memory ready command Alexander Usyskin
2022-04-07 12:58   ` Alexander Usyskin
2022-04-07 12:58 ` [Intel-gfx] [PATCH 17/20] mei: gsc: setup gsc extended operational memory Alexander Usyskin
2022-04-07 12:58   ` Alexander Usyskin
2022-04-07 12:58 ` [Intel-gfx] [PATCH 18/20] mei: gsc: add transition to PXP mode in resume flow Alexander Usyskin
2022-04-07 12:58   ` Alexander Usyskin
2022-04-07 12:58 ` [Intel-gfx] [PATCH 19/20] mei: debugfs: add pxp mode to devstate in debugfs Alexander Usyskin
2022-04-07 12:58   ` Alexander Usyskin
2022-04-07 12:58 ` [Intel-gfx] [PATCH 20/20] drm/i915/gsc: allocate extended operational memory in LMEM Alexander Usyskin
2022-04-07 12:58   ` Alexander Usyskin
2022-04-08 10:54   ` [Intel-gfx] " Matthew Auld
2022-04-08 10:54     ` Matthew Auld
2022-04-07 16:13 ` [Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for GSC support for XeHP SDV and DG2 platforms Patchwork
2022-04-07 16:14 ` [Intel-gfx] ✗ Fi.CI.SPARSE: " Patchwork
2022-04-07 16:49 ` [Intel-gfx] ✗ Fi.CI.BAT: failure " 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=20220407125839.1479249-1-alexander.usyskin@intel.com \
    --to=alexander.usyskin@intel.com \
    --cc=airlied@linux.ie \
    --cc=daniel@ffwll.ch \
    --cc=gregkh@linuxfoundation.org \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=jani.nikula@linux.intel.com \
    --cc=joonas.lahtinen@linux.intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rodrigo.vivi@intel.com \
    --cc=tomas.winkler@intel.com \
    --cc=tvrtko.ursulin@linux.intel.com \
    --cc=vitaly.lubart@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.