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

Geert Uytterhoeven posted 1 patch 1 week, 5 days ago
drivers/misc/mei/Kconfig | 1 +
1 file changed, 1 insertion(+)
[PATCH] misc/mei: INTEL_MEI should depend on X86 or DRM_XE
Posted by Geert Uytterhoeven 1 week, 5 days ago
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@glider.be>
---
 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
RE: [PATCH] misc/mei: INTEL_MEI should depend on X86 or DRM_XE
Posted by Usyskin, Alexander 1 week, 4 days ago
> Subject: [PATCH] misc/mei: INTEL_MEI should depend on X86 or DRM_XE
> 
> 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@glider.be>
> ---
>  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

Add DRM_I915 here too, MEI may depend on it.

- - 
Thanks,
Sasha



>  	default X86_64 || MATOM
>  	help
>  	  The Intel Management Engine (Intel ME) provides Manageability,
> --
> 2.43.0