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 6F4851E1A3D; Wed, 21 Jan 2026 22:38:51 +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=1769035133; cv=none; b=XinDZ9rKMQb50CGOF4G5DRHbLOhc81fzVZRROkykEkjE2nNZD1oyUPdU9/2D9bwHlWYX8Csp9g7C4Blr+DN4rx10qVNtvO3lgpuSi1xVI6ziPgOybbhfCbksytzXN/H4SLi2pMSZrSaSKESnYo2X5QPN/ZTIRzwVIJOF6F1ozb4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769035133; c=relaxed/simple; bh=DBsMI6rQ3ky0FVEwlZKgEb03zQLONH02QtF/0wjjicQ=; h=Content-Type:Mime-Version:Subject:From:In-Reply-To:Date:Cc: Message-Id:References:To; b=a9DYvZqP9QCGQxwUXw4gAO72R8BY+Pe1ZLE2bgNg6UDJgwh2i6sY4WR1eqPBqreXLwyuMa4emMacH4Ai/hvGZ/dQM/i9zreOoweAH1fKdmV3cII/KniHvKm7tfXuLcC8X2Dj+725Z7D/glzl+Z9j2zEVmSB3FrWlwGolaFaWSqI= 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=ZZAnYRBe; 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="ZZAnYRBe" 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 60LMcAuK2447958 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 21 Jan 2026 14:38:11 -0800 DKIM-Filter: OpenDKIM Filter v2.11.0 mail.zytor.com 60LMcAuK2447958 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zytor.com; s=2025122301; t=1769035092; bh=DBsMI6rQ3ky0FVEwlZKgEb03zQLONH02QtF/0wjjicQ=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=ZZAnYRBeYqmKDTLQ7+Lc18LXNWTj8oDUJG6oHU3oY1QH/LQDoEmWo+l3f2zABwuNf vHogq2EGMURgNAb89mPtNHVDPKrjjlaD5zG60U+AeHoCcckebwwtRUaF8mKfdvrIVe TNPRJwO+9yMGP8wXT038+8yPy3EyuvxQfJ1y7b0wKpL+s9PfyTgIhkgfpRxNYlRSsc O8kM/qw7N4h4nUwBq/mm6ikwklpT5RzNQemi4FB+FYP/YaorDdDPZHP1oebRpmUCFG mMButhQwgcjvAzhjc46NShR4+v6vzcUmklC109PiFORDGFm2ZQ2PjhYgPWnwqQd2oq 9cqOT0uha3peQ== Content-Type: text/plain; charset=utf-8 Precedence: bulk X-Mailing-List: linux-doc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3864.300.41.1.7\)) Subject: Re: [PATCH v9 11/22] KVM: x86: Add a helper to detect if FRED is enabled for a vCPU From: Xin Li In-Reply-To: Date: Wed, 21 Jan 2026 14:38:00 -0800 Cc: Binbin Wu , 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, sohil.mehta@intel.com Content-Transfer-Encoding: quoted-printable Message-Id: References: <20251026201911.505204-1-xin@zytor.com> <20251026201911.505204-12-xin@zytor.com> <9a628729-1b4f-4982-a3e6-b9269c91b3c2@linux.intel.com> To: Sean Christopherson X-Mailer: Apple Mail (2.3864.300.41.1.7) > On Jan 21, 2026, at 12:24=E2=80=AFPM, Sean Christopherson = wrote: >=20 > Subject: [PATCH 13/28] KVM: x86: Add a helper to detect if FRED is = enabled for > a vCPU >=20 > Add is_fred_enabled() to detect if FRED is enabled on a vCPU. Yeah, you won ;) >=20 > Signed-off-by: Xin Li > Tested-by: Shan Kang > Signed-off-by: Sean Christopherson