Re: [PATCH v1 0/2] x86/Kconfig: modify X86_UMIP depends on CPUs

From: Tony W Wang-oc
Date: Fri Mar 06 2020 - 04:13:25 EST



On 05/03/2020 23:51, Sean Christopherson wrote:
> On Thu, Mar 05, 2020 at 02:49:09PM +0800, Tony W Wang-oc wrote:
>> CONFIG_X86_UMIP is generic since commit b971880fe79f (x86/Kconfig:
>> Rename UMIP config parameter).
>>
>> Some Centaur family 7 CPUs and Zhaoxin family 7 CPUs support the UMIP
>> feature. So, modify X86_UMIP to cover these CPUs too.
>
> That leaves UMC_32, TRANSMETA_32 and CYRIX_32 as the last CPU_SUP types
> that don't support UMIP. Maybe it's time to remove the CPU_SUP checks
> altogether, same as X86_SMAP?

While the UMIP is a generic X86 CPU feature, I think this way is better.

Sincerely
TonyWWang-oc
>
>> Tony W Wang-oc (2):
>> x86/Kconfig: Make X86_UMIP to cover Centaur CPUs
>> x86/Kconfig: Make X86_UMIP to cover Zhaoxin CPUs
>>
>> arch/x86/Kconfig | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> --
>> 2.7.4
>>
> .
>