mei: me: add arrow lake point S DID
Subsystems (2)
PATCH 1/3 mei: me: add arrow lake point S DID
From: Alexander Usyskin <[email protected]>
Add Arrow Lake S device id.
--- drivers/misc/mei/hw-me-regs.h | 1 + drivers/misc/mei/pci-me.c | 1 + 2 files changed, 2 insertions(+)
drivers/misc/mei/hw-me-regs.h +1 -0
@@ -112,6 +112,7 @@#define MEI_DEV_ID_RPL_S 0x7A68/* Raptor Lake Point S */ #define MEI_DEV_ID_MTL_M 0x7E70/* Meteor Lake Point M */ +#define MEI_DEV_ID_ARL_S 0x7F68/* Arrow Lake Point S */ /* * MEI HW Section
drivers/misc/mei/pci-me.c +1 -0
@@ -119,6 +119,7 @@ static const struct pci_device_id mei_me_pci_tbl[] = { {MEI_PCI_DEVICE(MEI_DEV_ID_RPL_S, MEI_ME_PCH15_CFG)}, {MEI_PCI_DEVICE(MEI_DEV_ID_MTL_M, MEI_ME_PCH15_CFG)}, + {MEI_PCI_DEVICE(MEI_DEV_ID_ARL_S, MEI_ME_PCH15_CFG)},/* required last entry */ {0, }
Signature · 1 line
2.25.1
PATCH 2/3 mei: me: add arrow lake point H DID
From: Alexander Usyskin <[email protected]>
Add Arrow Lake H device id.
--- drivers/misc/mei/hw-me-regs.h | 1 + drivers/misc/mei/pci-me.c | 1 + 2 files changed, 2 insertions(+)
drivers/misc/mei/hw-me-regs.h +1 -0
@@ -113,6 +113,7 @@#define MEI_DEV_ID_MTL_M 0x7E70/* Meteor Lake Point M */ #define MEI_DEV_ID_ARL_S 0x7F68/* Arrow Lake Point S */ +#define MEI_DEV_ID_ARL_H 0x7770/* Arrow Lake Point H */ /* * MEI HW Section
drivers/misc/mei/pci-me.c +1 -0
@@ -120,6 +120,7 @@ static const struct pci_device_id mei_me_pci_tbl[] = { {MEI_PCI_DEVICE(MEI_DEV_ID_MTL_M, MEI_ME_PCH15_CFG)}, {MEI_PCI_DEVICE(MEI_DEV_ID_ARL_S, MEI_ME_PCH15_CFG)}, + {MEI_PCI_DEVICE(MEI_DEV_ID_ARL_H, MEI_ME_PCH15_CFG)},/* required last entry */ {0, }
Signature · 1 line
2.25.1
PATCH 3/3 mei: gsc_proxy: match component when GSC is on different bus
In reply to Jonathan CavittFrom: Alexander Usyskin <[email protected]>
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.
--- drivers/misc/mei/gsc_proxy/mei_gsc_proxy.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-)
drivers/misc/mei/gsc_proxy/mei_gsc_proxy.c +5 -3
@@ -96,7 +96,8 @@ static const struct component_master_ops mei_component_master_ops = {* * The function checks if the device is pci device and * Intel VGA adapter, the subcomponent is SW Proxy -* and the parent of MEI PCI and the parent of VGA are the same PCH device. +* and the VGA is on the bus 0 reserved for built-in devices +* to reject discrete GFX. * * @dev: master device * @subcomponent: subcomponent to match (I915_COMPONENT_SWPROXY)
@@ -123,7 +124,8 @@ static int mei_gsc_proxy_component_match(struct device *dev, int subcomponent,if (subcomponent !=I915_COMPONENT_GSC_PROXY )return 0 ; -return component_compare_dev (dev->parent, ((struct device *)data)->parent); +/* Only built-in GFX */ +return (pdev->bus->number ==0 ); } static int mei_gsc_proxy_probe(struct mei_cl_device *cldev,
@@ -146,7 +148,7 @@ static int mei_gsc_proxy_probe(struct mei_cl_device *cldev, }component_match_add_typed (&cldev->dev, &master_match, - mei_gsc_proxy_component_match, cldev->dev.parent); + mei_gsc_proxy_component_match,NULL );if (IS_ERR_OR_NULL (master_match)) { ret = -ENOMEM ; goto err_exit;
Signature · 1 line
2.25.1
too late. These patches are already applied in topic/core-for-CI.
Quoted 7 lines · Jonathan Cavitt
From: Alexander Usyskin <[email protected]>
Add Arrow Lake S device id.
Cc <[email protected]>Signed-off-by Alexander Usyskin <[email protected]>Signed-off-by Tomas Winkler <[email protected]>
For all patches you submit you should add your s-o-b. And also see the rules for patches in topic/core-for-CI:
https://drm.pages.freedesktop.org/maintainer-tools/drm-tip.html#hotfixes-in-topic-core-for-ci
The patches I applied yesterday already follows those rules. See commits:
240b5555409fc mei: gsc_proxy: match component when GSC is on different bus 18f87660e5bfb mei: me: add arrow lake point H DID 0dc48377bbcf3 mei: me: add arrow lake point S DID
Lucas De Marchi
Patchwork
CI✗ Fi.CI.BUILD: failure for series starting with [topic/core-for-CI,1/3] mei: me: add arrow lake point S DID
In reply to Jonathan Cavitt== Series Details ==
== Series Details ==
Series: series starting with [topic/core-for-CI,1/3] mei: me: add arrow lake point S DID
URL : https://patchwork.freedesktop.org/series/130513/
State : failure
== Summary ==
Error: patch https://patchwork.freedesktop.org/api/1.0/series/130513/revisions/1/mbox/ not applied
Applying: mei: me: add arrow lake point S DID
Using index info to reconstruct a base tree...
M drivers/misc/mei/hw-me-regs.h
M drivers/misc/mei/pci-me.c
Falling back to patching base and 3-way merge...
Auto-merging drivers/misc/mei/pci-me.c
CONFLICT (content): Merge conflict in drivers/misc/mei/pci-me.c
Auto-merging drivers/misc/mei/hw-me-regs.h
CONFLICT (content): Merge conflict in drivers/misc/mei/hw-me-regs.h
error: Failed to merge in the changes.
hint: Use 'git am --show-current-patch=diff' to see the failed patch
Patch failed at 0001 mei: me: add arrow lake point S DID
When you have resolved this problem, run "git am --continue".
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch and stop patching, run "git am --abort".
Build failed, no error log produced