From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796384753; b=3uEJaK7B6b5e69GGmBBNKowPgLjiIUeHyFHOpP4CVHUZsCLXn8wBRJRSxTXh1wpW8VrA 8MjjcItVjbZ784k7FCDJ15m4LBHh/5B+gRWEude+s7ZEIPirgK5fc3LcotZyc1xljIMte 9BuV8wFGESr2x7F3MozMKaxwP9L7IgvS4WBOxszpRKhrOMwNt7Scqr3x3oAnKrt1CONVF hTGalLGoY1XoIw0mJKZdX/mtFn84zd1yTDg5HkhmgP5PMEWJ7Pg/55tr2+IIjO59KArTq sJIxuAkhrG6cb/wSlnjH1p3T8F127z4JUcdBesWiBHW0kZfv1jP3esQE3GXaannNx0w== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796384753; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer: In-Reply-To:References:User-Agent:X-stable:X-Patchwork-Hint: MIME-Version:Content-Transfer-Encoding; bh=U7HCVQL+Lu70ofDOTdKVKBqJloe3pja6sRlKXvn/qPs=; b=ftRYRaasytT54qinMvSh4B/PBxe64LT/HWFcxJRSSWMJhEtWkS0y21hS1/urGL2sutjT 8DyeMZhuvYcGXbs105xrYDU79GHq2Y1pkzi2Wxp5sc9W1jWu3vpLsCU7UlyjB6yWIMACj 3AyzcUkGCFyRURKkuaXMhO3tiFEsaJeNJl9S23PPgG3Wi9zJcH02SMMUK7iCrBXxzXK8B 0c298UTvJNo5Afexmw2pJLfN9ks7naezT6okg5bKB6uZDM9hEi3bAdJT+AiPWMdQ6TRSW 7zOdhET2TSNSjkHQIf2aZwEXzaO0WqG78n0exkXBdf8GDAJYPWbl60DGevHlAaXqLDA== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=wy1UgdA0; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B061D606A322; Fri, 4 Dec 2026 11:45:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=wy1UgdA0 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 261CC1F000C2; Fri, 4 Dec 2026 11:45:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1796384753; bh=U7HCVQL+Lu70ofDOTdKVKBqJloe3pja6sRlKXvn/qPs=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=wy1UgdA0gKU4hYvPxkq9x4QxkaAgHNLNqCY7piexirj21J+7wfuOKfl+RoBmcHISM UFeRmZ1bHGrsRWHlpTGF7wR0GgARSWrM7AcF8gk0jmDFdsB8otAvN2P/jlhkx/sNKr 6s62uZU5ApVjTqNL45vmm6bp19DP/lYVbPHPniMA= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Rick Edgecombe , Sean Christopherson , "Borislav Petkov (AMD)" , Sasha Levin Subject: [PATCH 6.6 0277/1167] x86/cpuid: Mark CPUID function 0x23 as being indexed Date: Fri, 4 Dec 2026 18:55:04 +0900 Message-ID: <20261204100709.266037402@linuxfoundation.org> X-Mailer: git-send-email 2.56.1 In-Reply-To: <20261204100702.047403948@linuxfoundation.org> References: <20261204100702.047403948@linuxfoundation.org> User-Agent: quilt/0.69 X-stable: review X-Patchwork-Hint: ignore X-Mailing-List: patches@lists.linux.dev List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.6-stable review patch. If anyone has any objections, please let me know. ------------------ From: Sean Christopherson [ Upstream commit 108775fa28fe04a16f19a828a779689f3d0ea9f0 ] Add function 0x23 to the set of CPUID functions that are indexed, as per the SDM and the many sub-leafs defined in leaf_types.h. Closes: https://lore.kernel.org/all/213d614fe73e183a230c8f4e0c8fa1cc3d45df39.camel@intel.com Reported-by: Rick Edgecombe Signed-off-by: Sean Christopherson Signed-off-by: Borislav Petkov (AMD) Tested-by: Rick Edgecombe Cc: stable@vger.kernel.org Link: https://patch.msgid.link/20261022210134.612848-2-seanjc@google.com [ sashal: Added case 0x23: to the older cpuid.h header, since the cpuid/api.h file doesn't exist here, and the trailing context differs because case 0x24: is absent. ] Signed-off-by: Sasha Levin --- arch/x86/include/asm/cpuid.h | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/x86/include/asm/cpuid.h b/arch/x86/include/asm/cpuid.h index 9bee3e7bf9736..148dd9645abea 100644 --- a/arch/x86/include/asm/cpuid.h +++ b/arch/x86/include/asm/cpuid.h @@ -143,6 +143,7 @@ static __always_inline bool cpuid_function_is_indexed(u32 function) case 0x1d: case 0x1e: case 0x1f: + case 0x23: case 0x8000001d: return true; } -- 2.53.0