Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964844AbcDYTs5 (ORCPT ); Mon, 25 Apr 2016 15:48:57 -0400 Received: from mga03.intel.com ([134.134.136.65]:54387 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S964819AbcDYTs4 (ORCPT ); Mon, 25 Apr 2016 15:48:56 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.24,534,1455004800"; d="scan'208";a="966240086" From: Andi Kleen To: Andy Lutomirski Cc: Jarkko Sakkinen , Greg KH , Kai Huang , Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , "maintainer\:X86 ARCHITECTURE \(32-BIT AND 64-BIT\)" , Borislav Petkov , Andy Lutomirski , Boris Ostrovsky , Huang Rui , Mathias Krause , Wan Zongshun , "open list\:X86 ARCHITECTURE \(32-BIT AND 64-BIT\)" Subject: Re: [PATCH 1/6] x86: add SGX definition to cpufeature References: <1461605698-12385-1-git-send-email-jarkko.sakkinen@linux.intel.com> <1461605698-12385-2-git-send-email-jarkko.sakkinen@linux.intel.com> Date: Mon, 25 Apr 2016 12:48:54 -0700 In-Reply-To: (Andy Lutomirski's message of "Mon, 25 Apr 2016 12:31:52 -0700") Message-ID: <87a8kh5v15.fsf@tassilo.jf.intel.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 507 Lines: 16 Andy Lutomirski writes: > On Mon, Apr 25, 2016 at 10:34 AM, Jarkko Sakkinen > wrote: >> From: Kai Huang > > 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@linux.intel.com -- Speaking for myself only