Message ID | 20230106085617.17248-11-xin3.li@intel.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp728470wrt; Fri, 6 Jan 2023 01:23:06 -0800 (PST) X-Google-Smtp-Source: AMrXdXuJ9joIAXAEYSlaL7TFJ13mUWcT/F6XuO3Cl9516J74DKyFWzA+vPBGCpcY6j0/xbxefcyn X-Received: by 2002:a17:906:b119:b0:7ff:727f:65cb with SMTP id u25-20020a170906b11900b007ff727f65cbmr46131783ejy.19.1672996985896; Fri, 06 Jan 2023 01:23:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672996985; cv=none; d=google.com; s=arc-20160816; b=IJdRtY1EiVane03M6Hbj6e+FVBSJAVtx5vZ/Iwvivrsmj69D9JKFbI1HpjeOvkkbKB Tyyoz1frxNX6Pfwkc2eMPzJQ/ejAVUyIpkWHAHQ4r2Kukh6v0faYQqySb8uARuQn8vhY gDV07TJWtXpfRRQEHIU4LBiM1LHIOocnFKZB8sdHr6fkaw/GyLMFU/yPuZ5er8ucEKvP +ABH6xHOq1mLvY80i/rcwRFh7IuTXE/qsG807pyeIwNf+kbVZwLTZGVh8XOLDdbAq51v pMhlYpmufcnhORdShpyGJiadiq35TghEPGM4ZyEmsOMTTu72bf2mOhFUUU4PwnmIz6/G tPrQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=vmvPQK5NgoLaKiECc1Y7jM6hJsDJhOD8JbDwezz04jA=; b=jurxPDuLCkf3rbHPIENefokVT5PCF7BKwFu/tEFiqVQMm5ssjFOVAa3LZd+4OzqLSI Aj3Mk9COcNU/ZXYGBN31wKZT0oqwxIPqh5OkIou5Z6bl4p7Fz26pFQectReOiVaaTDH8 G6JhmSs1S8KZ24QoDzWdTUUejqbLZfKaItNMeZ5I0+X9AnVve8KbVYlwvNWpbD5EcB1j fPwjX+He2HzglbSvQAy4m3O2b2/3+y8o/qMErHAwxFCDNOfzmBrWwbPF2Jaugw9hsiCS ysnQhDMHTfU5POMwFAdt1WEECV35MvrNoBYGb8dqW+QLSMaG3akZCk07CHflcmmBFeM5 NeEQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=fJbypZpg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id wt9-20020a170906ee8900b007d82520def9si816069ejb.503.2023.01.06.01.22.42; Fri, 06 Jan 2023 01:23:05 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=fJbypZpg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233925AbjAFJV0 (ORCPT <rfc822;tmhikaru@gmail.com> + 99 others); Fri, 6 Jan 2023 04:21:26 -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;linux-kernel@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 X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1754264487752661920?= X-GMAIL-MSGID: =?utf-8?q?1754264487752661920?= |
Series |
x86: enable FRED for x86-64
|
|
Commit Message
Li, Xin3
Jan. 6, 2023, 8:55 a.m. UTC
From: "H. Peter Anvin (Intel)" <hpa@zytor.com> Add the configuration option CONFIG_X86_FRED to enable FRED. Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com> Signed-off-by: Xin Li <xin3.li@intel.com> --- arch/x86/Kconfig | 9 +++++++++ 1 file changed, 9 insertions(+)
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"