RE: [RFC 03/10] platform/x86/intel/ifs: Add driver for In-Field Scan

From: Luck, Tony
Date: Wed Mar 02 2022 - 19:06:37 EST


>> +config INTEL_IFS
>> + tristate "Intel In Field Scan"
>> + depends on X86 && 64BIT && SMP
>
> Are there actual CONFIG_SMP and CONFIG_64BIT compilation dependencies
> in this driver? It looks like this could compile without those config
> dependencies.

Maybe CONFIG_SMP is there as a kindness to kernel building robots :-)

Yes, you can build this for a UP kernel (I just did, and there were no build
errors). But why? Nobody is going to take their dual socket server with over
a hundred logical processors and run a UP kernel on it.

Probably ditto for 64BIT. I didn't try the build without that. But minimum
memory on these systems is larger than supported by 32-bit kernels.

-Tony