Simon Richter
327e987e51
misc/mei: gsc_proxy: add dependency on Xe driver
...
This driver is useful if at least one DRM driver registers an auxiliary device
for the ME interface. With the addition of Xe, this is no longer just i915.
Cc: Usyskin, Alexander <alexander.usyskin@intel.com >
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
Signed-off-by: Simon Richter <Simon.Richter@hogyros.de >
Link: https://patch.msgid.link/20260107182615.488194-5-Simon.Richter@hogyros.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2026-01-16 16:30:38 +01:00
Simon Richter
6d5dca5f9e
misc/mei: Allow building standalone for compile testing
...
While this is not a particularly useful configuration, the MEI code should
compile even when no drivers for a GPU containing a management engine are
built.
Cc: Usyskin, Alexander <alexander.usyskin@intel.com >
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
Signed-off-by: Simon Richter <Simon.Richter@hogyros.de >
Link: https://patch.msgid.link/20260107182615.488194-4-Simon.Richter@hogyros.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2026-01-16 16:30:38 +01:00
Simon Richter
d876cb9780
misc/mei: Decouple ME interfaces from GPU drivers
...
These are enumerated via an auxiliary bus, so there is no functional
dependency between these drivers, therefore allow compiling MEI as builtin
even when i915/xe are built as modules.
Cc: Usyskin, Alexander <alexander.usyskin@intel.com >
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
Signed-off-by: Simon Richter <Simon.Richter@hogyros.de >
Link: https://patch.msgid.link/20260107182615.488194-3-Simon.Richter@hogyros.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2026-01-16 16:30:38 +01:00
Arnd Bergmann
d667378ade
mei: rework Kconfig dependencies
...
The dependencies in the mei framework are inconsistent, with some symbols
using 'select INTEL_MEI' to force it being enabled and others using
'depends on INTEL_MEI'.
In general, one should not select user-visible symbols, so change all
of these to normal dependencies, but change the default on INTEL_MEI to
be enabled when building a kernel for an Intel CPU with ME or a generic
x86 kernel.
Having consistent dependencies makes the 'menuconfig' listing more
readable by using proper indentation.
A large if/endif block is just a simpler syntax than repeating the
dependencies for each symbol.
Signed-off-by: Arnd Bergmann <arnd@arndb.de >
Reviewed-by: Wentong Wu <wentong.wu@intel.com >
Link: https://lore.kernel.org/r/20231214183946.109124-2-arnd@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2023-12-15 17:02:15 +01:00
Alexander Usyskin
1dd924f688
mei: gsc_proxy: add gsc proxy driver
...
Add GSC proxy driver. It to allows messaging between GSC component
on Intel graphics card and CSE device.
Cc: Alan Previn <alan.previn.teres.alexis@intel.com >
Signed-off-by: Alexander Usyskin <alexander.usyskin@intel.com >
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com >
Signed-off-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com >
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
Reviewed-by: Alan Previn <alan.previn.teres.alexis@intel.com >
Link: https://patchwork.freedesktop.org/patch/msgid/20230502163854.317653-3-daniele.ceraolospurio@intel.com
2023-05-04 02:57:29 -07:00