From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail.zytor.com (terminus.zytor.com [198.137.202.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5DA418287E; Sat, 7 Mar 2026 03:01:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.137.202.136 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772852487; cv=none; b=M49xWOvpFWY1ITSTYPsg/MfUNV5/QzBl0ZgowtrcPThUGieuYkTvlyxLJc021eDTKb+jAKGYIKqjKZv8r9PCPUm/haQXy+wO3uLRDy3F4RLRZJOpmTlLBy5q0CGGmKPn6Mz1Xl7pUL6BdGKYzw4tkeoPu1UvNH3yfKTg1TNZib8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772852487; c=relaxed/simple; bh=leEmfI7wf5aP5vv1HAijwEvKw4E5sOOWzhu790o1rGQ=; h=Content-Type:Mime-Version:Subject:From:In-Reply-To:Date:Cc: Message-Id:References:To; b=K+AMDQIR7OZQDQj5Vn29naBPv9ibnvc6dKVZ7K62FELa0pQpGyprDYgG1MLk5tfFvOtOYYpKBtlwkDYhVmBr3P99POPwY8Z3cGM0AROocO/KyZyvjvQ+WmlAyrbSSR2pzWFCxAojV1DgpVMfOvurZoXAPPSP5ksTyNSMM0Fuiko= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=zytor.com; spf=pass smtp.mailfrom=zytor.com; dkim=pass (2048-bit key) header.d=zytor.com header.i=@zytor.com header.b=f0ZZFo74; arc=none smtp.client-ip=198.137.202.136 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=zytor.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=zytor.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=zytor.com header.i=@zytor.com header.b="f0ZZFo74" Received: from smtpclient.apple (c-24-130-165-117.hsd1.ca.comcast.net [24.130.165.117]) (authenticated bits=0) by mail.zytor.com (8.18.1/8.17.1) with ESMTPSA id 62730QQ12586312 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 6 Mar 2026 19:00:26 -0800 DKIM-Filter: OpenDKIM Filter v2.11.0 mail.zytor.com 62730QQ12586312 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zytor.com; s=2026022301; t=1772852428; bh=QBHttWEcOd9CsFf4fWMdGGKljMFFqGLzRplj0cwrQdM=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=f0ZZFo74i3S54L1IYnShFjd5B9VZVuTjc0zTrQDnM2zLAhZb1WVofvbSKi/CMIokE vC4LOw5qEOMsD3w2kpkUsF6k9fMEiUGYOFtJfmiqimqCHK8SE813sHDq/w/tZVwX8K 2tE5GN+pohKLtDFhZtfSsPv9EtmHDQaoPGHEG1z76XAPd+1OdTkwgHZ4zbYG0ewCjM wFUiVDLma2To2ZtaXBcIi6N/WyDYbRuw1+s/F0Xy3nLksn1HfQhvreoyCNjmVFxOW7 mCpwXaQn4/uouzioWg+goxi7ZNeNCh6TPcxE+/oj+25ZMy8Ai+1Zo5KIcUsYbh+YBS ZZstkd4GZl7XQ== Content-Type: text/plain; charset=utf-8 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3864.400.21\)) Subject: Re: [PATCH v7 16/21] KVM: x86: Advertise support for FRED From: Xin Li In-Reply-To: Date: Fri, 6 Mar 2026 19:00:15 -0800 Cc: linux-kernel@vger.kernel.org, kvm@vger.kernel.org, linux-doc@vger.kernel.org, pbonzini@redhat.com, corbet@lwn.net, tglx@linutronix.de, mingo@redhat.com, bp@alien8.de, dave.hansen@linux.intel.com, x86@kernel.org, hpa@zytor.com, luto@kernel.org, peterz@infradead.org, andrew.cooper3@citrix.com, chao.gao@intel.com, hch@infradead.org Content-Transfer-Encoding: quoted-printable Message-Id: <2FAFAC32-AD3A-4D69-BE78-00A9BC570311@zytor.com> References: <20250829153149.2871901-1-xin@zytor.com> <20250829153149.2871901-17-xin@zytor.com> To: Sean Christopherson X-Mailer: Apple Mail (2.3864.400.21) > On Mar 6, 2026, at 6:15=E2=80=AFPM, Sean Christopherson = wrote: >=20 >> Advertise support for FRED to userspace after changes required to = enable >> FRED in a KVM guest are in place. >=20 > Mostly a note to myself, if VMX and SVM land separately, we need to do = the same > thing we did for CET and explicitly clear FRED in svm_set_cpu_caps(). = But ideally > this would just be the last patch after both VMX and SVM support are = in place. This reply is to v7. Chao, Binbin, and you *all* asked me to make the change: https://lore.kernel.org/lkml/aRQ3ngRvif%2F0QRTC@intel.com/ Yes, I have done it in v10. I will post v10 after I clean up and post FRED kvm-unit-tests.