mei: gsc_proxy: match component when GSC is on different bus
authorAlexander Usyskin <alexander.usyskin@intel.com>
Tue, 20 Feb 2024 20:00:20 +0000 (22:00 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 5 Mar 2024 14:30:09 +0000 (14:30 +0000)
commita0776c214d47ea4f7aaef138095beaa41cff03ef
tree0fd36f2fcb6d2f99d12e0f8fd005f6c43a0f11b0
parenta283d7f179ff83976af27bcc71f7474cb4d7c348
mei: gsc_proxy: match component when GSC is on different bus

On Arrow Lake S systems, MEI is no longer strictly connected to bus 0,
while graphics remain exclusively on bus 0. Adapt the component
matching logic to accommodate this change:

Original behavior: Required both MEI and graphics to be on the same
bus 0.

New behavior: Only enforces graphics to be on bus 0 (integrated),
allowing MEI to reside on any bus.
This ensures compatibility with Arrow Lake S and maintains functionality
for the legacy systems.

Fixes: 1dd924f6885b ("mei: gsc_proxy: add gsc proxy driver")
Cc: stable@vger.kernel.org # v6.3+
Signed-off-by: Alexander Usyskin <alexander.usyskin@intel.com>
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Link: https://lore.kernel.org/r/20240220200020.231192-1-tomas.winkler@intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/mei/gsc_proxy/mei_gsc_proxy.c