Re: [PATCH 1/6] x86: add SGX definition to cpufeature

From: Andi Kleen
Date: Mon Apr 25 2016 - 15:49:00 EST


Andy Lutomirski <luto@xxxxxxxxxxxxxx> writes:

> On Mon, Apr 25, 2016 at 10:34 AM, Jarkko Sakkinen
> <jarkko.sakkinen@xxxxxxxxxxxxxxx> wrote:
>> From: Kai Huang <kai.huang@xxxxxxxxxxxxxxx>
>
> Should this come with a nosgx boot option and an IA32_FEATURE_CONTROL
> check to disable the feature if BIOS doesn't support it?

You can already disable every CPUID feature at boot with clearcpuid=...
No point in adding redundant options for everything.

-Andi

--
ak@xxxxxxxxxxxxxxx -- Speaking for myself only