Message ID | 20230106085617.17248-11-xin3.li@intel.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <kvm-owner@vger.kernel.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 343BEC3DA7A for <kvm@archiver.kernel.org>; Fri, 6 Jan 2023 09:21:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232331AbjAFJVA (ORCPT <rfc822;kvm@archiver.kernel.org>); Fri, 6 Jan 2023 04:21:00 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43898 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232990AbjAFJUT (ORCPT <rfc822;kvm@vger.kernel.org>); Fri, 6 Jan 2023 04:20:19 -0500 Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 036546B58B; Fri, 6 Jan 2023 01:20:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1672996818; x=1704532818; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=q9cIpOvm3xSuQ2LLiyXWWa3lHFFJYVxzwwgrBF18MB8=; b=fJbypZpgoBdaUKYR4hEzdC30P0GCM2rTpxo0Tvb321/DPWLFrwlW5MIQ 6TdzCbZNF3iyHe9a2b/23JiETYzRxmNAIKQyOIQLmV3Fy52y+3Eivfz83 ejv4+wIztofNtYx8QmABJmB9F3xxz9ef6LABwREq+e0uJB9/srknMIK3Q srSGPoe2cmpa6Xs9axigSQylw18GMBQivFt9S903DG0IJK8Q7AUwsboGn gXWlbBWnRB6NYlor02fjX8a2U9TWBSlGdhuS2PemNt3W286nXK5mKfEFq IBI/aRCCP5u4MxLLFOdSRP7RsbNRXgYD+iG8ZzRZhGnkEoATU8OUFr+qo A==; X-IronPort-AV: E=McAfee;i="6500,9779,10581"; a="322511458" X-IronPort-AV: E=Sophos;i="5.96,304,1665471600"; d="scan'208";a="322511458" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Jan 2023 01:20:13 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10581"; a="719139374" X-IronPort-AV: E=Sophos;i="5.96,304,1665471600"; d="scan'208";a="719139374" Received: from unknown (HELO fred..) ([172.25.112.68]) by fmsmga008.fm.intel.com with ESMTP; 06 Jan 2023 01:20:13 -0800 From: Xin Li <xin3.li@intel.com> To: linux-kernel@vger.kernel.org, x86@kernel.org, kvm@vger.kernel.org Cc: tglx@linutronix.de, mingo@redhat.com, bp@alien8.de, dave.hansen@linux.intel.com, hpa@zytor.com, peterz@infradead.org, andrew.cooper3@citrix.com, seanjc@google.com, pbonzini@redhat.com, ravi.v.shankar@intel.com Subject: [RFC PATCH v2 10/32] x86/fred: add Kconfig option for FRED (CONFIG_X86_FRED) Date: Fri, 6 Jan 2023 00:55:55 -0800 Message-Id: <20230106085617.17248-11-xin3.li@intel.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230106085617.17248-1-xin3.li@intel.com> References: <20230106085617.17248-1-xin3.li@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: <kvm.vger.kernel.org> X-Mailing-List: kvm@vger.kernel.org |
Series |
x86: enable FRED for x86-64
|
expand
|
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index 67745ceab0db..1155d2e06fd1 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig @@ -500,6 +500,15 @@ config X86_CPU_RESCTRL Say N if unsure. +config X86_FRED + bool "Flexible Return and Event Delivery" + depends on X86_64 + help + When enabled, try to use Flexible Return and Event Delivery + instead of the legacy SYSCALL/SYSENTER/IDT architecture for + ring transitions and exception/interrupt handling if the + system supports. + if X86_32 config X86_BIGSMP bool "Support for big SMP systems with more than 8 CPUs"