From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=198.175.65.15 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1792742650; b=uQXGyHj4KQulvZArk0WRA+e3Kp/y+PISOQieNsEG9MT0vY6aMwipXEVcokySRTu3sY58 bcGoeLSmuOp6hAJ7WBlmqm1bkNz243ghM21Dlt80fNrJxlyrZ1wZfGA+5Fg1aLfa8mWVi +5Voae5iIriNF/cGgXMhEJmZQtAjkBs3m/tj6KeADPkQYBSqxKpFBzNs2sEU/hXxjLqQS R4Yk+zJC4IUaLHBbByVGumoyZjFeFBHPBea6Pp+Prceimj0TuB3iddAp8dnqZC850sL4Y +ahf/3K01HIw34NE380VXn/MdqY2tyEzacTlEgHxwrtz1neVEWRPZ73Y0/TNiQuWf5Q== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1792742650; h=DMARC-Filter:DKIM-Signature:X-CSE-ConnectionGUID:X-CSE-MsgGUID: X-IronPort-AV:X-IronPort-AV:Received:X-CSE-ConnectionGUID: X-CSE-MsgGUID:X-ExtLoop1:X-IronPort-AV:Received:Message-ID:Date: MIME-Version:User-Agent:Subject:To:Cc:References:Content-Language: From:In-Reply-To:Content-Type:Content-Transfer-Encoding; bh=NspgpVN/iGeXqQA4hXTiaDm9SkSYHuM4hgWy6uCGbYc=; b=xdp0NTke27Rcp0JKM0PctrXqkFciVvDGDwnfxfUUcciTCYYHgPBdKuZw1HzJ2q9O7y5n BGa7S8mVecRyj67Hu5pqZDsRr0B6C2l7tgxibHrnL1W7e/WbtusekDxNexTdUYXYPaAsf bwTGN5B3GoBC3gOa1vhArpQK6ZIRtSFPxPHBOE/gL5MJf/QQ7bh1lZv9dy+pVS86JrEya luxxqhRuXQNeHPpt9q8qQMB0hlnq66ZKHINF20V+kKF5k01QS/oFSQyrJsS+5XhFspiXI 5BGYIl5DrgddyTUwkjrjTEAbnWRGSFDMBrZpMg2FsLffgJiQeNLfhcz1WSX32rCVb4A== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=InsP505p; arc=none smtp.remote-ip=198.175.65.15 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.15]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0B886606A31B; Fri, 23 Oct 2026 08:04:06 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 0B886606A31B Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key, unprotected) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=InsP505p DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1792742647; x=1824278647; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=eyWX1HCZAF9CzSx0nus5pkufJOkW2YINd4qW7HRe8qE=; b=InsP505pz9RUKFQzRH5S0Dq+8oz0W95EhDtdPkYjKLRb1Z6RZTlHl7eW OAVjH2OyBzGNsOSN0phNZn2Kl9G1+G+5OOsakH+kwCB+YMQRuBsrd9iGc v1Xg5m64wGQcbsTLD/1TKUXUNBlTMGfQkWCPWOYEiB7gJKaw7H3hRzH17 py6ozS1Qmwpb6JGPOra1Il2iNZb+zms+Z1Xq6afadU/DFP3/sjF4aedyS YUutYmefn4GcOtOwNxL3WFBboZdNBxzHw8P5sHH3ubZBTfkhqcd7q50L4 twCpcYtvFqdYkCM+bs37srD8pbXOdTl1//3JNzqc0eixTGp3YwdjgqV0X w==; X-CSE-ConnectionGUID: glBEYPCvRDmP2gaSoX/5tA== X-CSE-MsgGUID: 15YeJEUgQdKDuE3Jg7dwIw== X-IronPort-AV: E=McAfee;i="6800,10657,11943"; a="1503765" X-IronPort-AV: E=Sophos;i="6.27,173,1787036400"; d="scan'208";a="1503765" Received: from fmviesa012.fm.intel.com ([10.60.135.152]) by orvoesa107.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Oct 2026 01:04:06 -0700 X-CSE-ConnectionGUID: 0JiKgAfeRG+KUuhDyoprcQ== X-CSE-MsgGUID: FQm/dQJOQVaQg8oYRm1mIw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.27,173,1787036400"; d="scan'208";a="5336485" Received: from xiaoyaol-hp-g830.ccr.corp.intel.com (HELO [10.124.240.140]) ([10.124.240.140]) by smtpauth.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Oct 2026 01:04:02 -0700 Message-ID: Date: Fri, 23 Oct 2026 16:03:59 +0800 X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 1/3] x86/cpuid: Mark CPUID function 0x23 as being indexed To: Sean Christopherson , Paolo Bonzini , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , x86@kernel.org, Kiryl Shutsemau , Rick Edgecombe Cc: "H. Peter Anvin" , kvm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-coco@lists.linux.dev, Binbin Wu , Changyuan Lyu , Sashiko References: <20261022210134.612848-1-seanjc@google.com> <20261022210134.612848-2-seanjc@google.com> Content-Language: en-US From: Xiaoyao Li In-Reply-To: <20261022210134.612848-2-seanjc@google.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 10/23/2026 5:01 AM, Sean Christopherson wrote: > 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. > > Reported-by: Rick Edgecombe > Closes: https://lore.kernel.org/all/213d614fe73e183a230c8f4e0c8fa1cc3d45df39.camel@intel.com > Cc: stable@vger.kernel.org > Signed-off-by: Sean Christopherson Reviewed-by: Xiaoyao Li > --- > arch/x86/include/asm/cpuid/api.h | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/arch/x86/include/asm/cpuid/api.h b/arch/x86/include/asm/cpuid/api.h > index 82eddfa2347b..25b22b173f2a 100644 > --- a/arch/x86/include/asm/cpuid/api.h > +++ b/arch/x86/include/asm/cpuid/api.h > @@ -181,6 +181,7 @@ static __always_inline bool cpuid_function_is_indexed(u32 function) > case 0x1d: > case 0x1e: > case 0x1f: > + case 0x23: > case 0x24: > case 0x8000001d: > return true;