lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <2dd8286a-a3c7-4a3d-bd5d-011966dc07f9@app.fastmail.com>
Date: Wed, 28 Jan 2026 07:50:10 +0100
From: "Arnd Bergmann" <arnd@...db.de>
To: "Alexander Usyskin" <alexander.usyskin@...el.com>,
 "Geert Uytterhoeven" <geert+renesas@...der.be>,
 "Greg Kroah-Hartman" <gregkh@...uxfoundation.org>,
 "Simon Richter" <Simon.Richter@...yros.de>
Cc: "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] misc/mei: INTEL_MEI should depend on X86 or DRM_XE

On Wed, Jan 28, 2026, at 07:41, Usyskin, Alexander wrote:
>> 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@...der.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.

Based on the patch description, shouldn't the dependency allow
compile-testing only if both XE and I915 are turned off, as in

      depends on X86  || (DRM_XE=n && DRM_I915=n && COMPILE_TEST)

?

As far as I can tell, i915 and xe will attempt (and fail) to
use MEI if that is enabled, so there is no point in enabling
INTEL_MEI outside of compile-testing even if XE is built.

       Arnd

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ