Re: [PATCH] x86/Kconfig: make X86_UMIP to cover any X86 CPU

From: Tony W Wang-oc
Date: Tue Mar 10 2020 - 03:25:36 EST



On 10/03/2020 08:25, H. Peter Anvin wrote:
> On 2020-03-09 13:36, Borislav Petkov wrote:
>>
>> If you're going to do that, is there even any use for that config option
>> at all?
>>
>> AFAICT, it adds ~1K to kernel text so we might just as well remove the
>> ifdeffery completely. The code ends up built in in 99% of the cases
>> anyway...
>>
>
> Perhaps the super-tiny-embedded kernel guys care? Otherwise it seems
> pointless.

Agree, and I think leave this config to some users are meaningful.

Moreover, if remove the X86_UMIP config, a kernel-parameter like
"noumip" may be needed?

Sincerely
TonyWWang-oc

>
> In general, once INTEL and AMD is enabled, it is just a matter of time
> until other (still existent) vendors add those features, at least for
> core features.
>
> -hpa
> .
>