[PATCH] misc/mei: INTEL_MEI should depend on X86 or DRM_XE

From: Geert Uytterhoeven

Date: Tue Jan 27 2026 - 14:11:43 EST


The Intel Management Engine Interface is only present on x86 platforms
and Intel Xe graphics cards. Hence add a dependency on X86 or DRM_XE,
to prevent asking the user about this driver when configuring a kernel
for a non-x86 architecture and without Xe graphics support.

Fixes: 25f9b0d351552f63 ("misc/mei: Allow building Intel ME interface on non-x86")
Signed-off-by: Geert Uytterhoeven <geert+renesas@xxxxxxxxx>
---
drivers/misc/mei/Kconfig | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/misc/mei/Kconfig b/drivers/misc/mei/Kconfig
index 5902dd1ee44baf16..094fb1dde0fe80c5 100644
--- a/drivers/misc/mei/Kconfig
+++ b/drivers/misc/mei/Kconfig
@@ -3,6 +3,7 @@
config INTEL_MEI
tristate "Intel Management Engine Interface"
depends on PCI
+ depends on X86 || DRM_XE!=n || COMPILE_TEST
default X86_64 || MATOM
help
The Intel Management Engine (Intel ME) provides Manageability,
--
2.43.0