]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
misc/mei: INTEL_MEI should depend on X86 or DRM_XE
authorGeert Uytterhoeven <geert+renesas@glider.be>
Tue, 27 Jan 2026 19:11:05 +0000 (20:11 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 31 Mar 2026 12:59:20 +0000 (14:59 +0200)
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: 25f9b0d35155 ("misc/mei: Allow building Intel ME interface on non-x86")
Cc: stable <stable@kernel.org>
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://patch.msgid.link/8e2646fb71b148b3d38beb13f19b14e3634a1e1a.1769541024.git.geert+renesas@glider.be
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/mei/Kconfig

index 5902dd1ee44baf1641e99caf6b33ff89442f1575..094fb1dde0fe80c5ebfd8ce9c7595dce2e1fd40c 100644 (file)
@@ -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,