From nobody Thu Apr 2 22:26:13 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; dkim=pass header.i=teddy.astie@vates.tech; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass(p=none dis=none) header.from=vates.tech ARC-Seal: i=1; a=rsa-sha256; t=1774520385; cv=none; d=zohomail.com; s=zohoarc; b=nLY9qxktO9bN21hdoHdQxj9lLDyLfRpY3apux+2kFFUZTRjIDf+CdpW+ULXAV672UPwf5WLt43w8RhJBdGXX7NpTsE+tUF7nnkhn+H2Cr9pJgGlxBvwAclgsjMuP55i0kfHKMgQgDtLAApEfiCF4By6Os/CzIpG0DJAIGUlVtn4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1774520385; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=apVr+6Zdzv3stI5wR/5aOupZbVz/jF2AjrrLVrCKY48=; b=VjMJL4C4uvDdpB95wSBIwMQzrTNFLX29UDWB7m4ZZjwo6XwLMTXAqWoyPCtWYVJYIlsgwHVSvaiwafMnWkUad541dknFHFRIHY1eA1kyNwPdsTO9w0eLL86iS5Ws/RkfvqNsl3h3AjNfKK1X5oU4wHhBvGN3z40h/0OLA88hA5c= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=teddy.astie@vates.tech; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1774520385656146.02719280433598; Thu, 26 Mar 2026 03:19:45 -0700 (PDT) Received: from list by lists.xenproject.org with outflank-mailman.1263641.1555510 (Exim 4.92) (envelope-from ) id 1w5hoF-0001ox-3j; Thu, 26 Mar 2026 10:19:27 +0000 Received: by outflank-mailman (output) from mailman id 1263641.1555510; Thu, 26 Mar 2026 10:19:27 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1w5hoE-0001ok-Va; Thu, 26 Mar 2026 10:19:26 +0000 Received: by outflank-mailman (input) for mailman id 1263641; Thu, 26 Mar 2026 10:19:24 +0000 Received: from mx.expurgate.net ([195.190.135.10]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1w5hoC-0001nt-Qr for xen-devel@lists.xenproject.org; Thu, 26 Mar 2026 10:19:24 +0000 Received: from mx.expurgate.net (helo=localhost) by mx.expurgate.net with esmtp id 1w5hoC-003mwb-5i for xen-devel@lists.xenproject.org; Thu, 26 Mar 2026 11:19:24 +0100 Received: from [10.42.69.3] (helo=localhost) by localhost with ESMTP (eXpurgate MTA 0.9.1) (envelope-from ) id 69c50828-e002-0a2a0a5209dd-0a2a45038944-18 for ; Thu, 26 Mar 2026 11:19:24 +0100 Received: from [198.2.180.47] (helo=mail180-47.suw31.mandrillapp.com) by tlsNG-33051d.mxtls.expurgate.net with ESMTPS (eXpurgate 4.55.2) (envelope-from ) id 69c5082a-1947-0a2a45030019-c602b42fc85d-3 for ; Thu, 26 Mar 2026 11:19:22 +0100 Received: from pmta11.mandrill.prod.suw01.rsglab.com (localhost [127.0.0.1]) by mail180-47.suw31.mandrillapp.com (Mailchimp) with ESMTP id 4fhKWY597hzPm130t for ; Thu, 26 Mar 2026 10:19:21 +0000 (GMT) Received: from [37.26.189.201] by mandrillapp.com id 447310448c7741dbb43bce180333537a; Thu, 26 Mar 2026 10:19:21 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" Authentication-Results: eu.smtp.expurgate.cloud; dkim=pass header.s=mte1 header.d=mandrillapp.com header.i="@mandrillapp.com" header.h="From:Subject:To:Cc:Message-Id:Feedback-ID:Date:MIME-Version:Content-Type:Content-Transfer-Encoding"; dkim=pass header.s=mte1 header.d=vates.tech header.i="teddy.astie@vates.tech" header.h="From:Subject:To:Cc:Message-Id:Feedback-ID:Date:MIME-Version:Content-Type:Content-Transfer-Encoding" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mandrillapp.com; s=mte1; t=1774520361; x=1774790361; bh=apVr+6Zdzv3stI5wR/5aOupZbVz/jF2AjrrLVrCKY48=; h=From:Subject:To:Cc:Message-Id:Feedback-ID:Date:MIME-Version: Content-Type:Content-Transfer-Encoding:CC:Date:Subject:From; b=uw9fcNJGeP3dgF2/iwnT3FkR7KX5UQAqVgAtJv6Su2oRxjFlL4EI0p3NxP8361ni+ Q/kLFRV3YYWzJ6O/oRE2bN9xEk8ZxmqwFCGV6xoWn38de5OnzMNn0pEyXPF67rzy2s +GeU1+lBYVtG2X5IsKF7S/yfqKct2izl6BYiW8ZDSTDMo1t2vzxgRS22ZYoso8OT+p FROvJk/mIZAw6TjI+pLGtbCtpzufbNVnof6nNaJVwuVw6QVd1b4X5W+sIbadUFo8cR ogqBtXZhH27HMxH2Z/c/BC28PIhcbA89QMcWANe80gl8h7GaOB6O1VgPx5uw/XjA1C X2ng6ZvIq8iYg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vates.tech; s=mte1; t=1774520361; x=1774780861; i=teddy.astie@vates.tech; bh=apVr+6Zdzv3stI5wR/5aOupZbVz/jF2AjrrLVrCKY48=; h=From:Subject:To:Cc:Message-Id:Feedback-ID:Date:MIME-Version: Content-Type:Content-Transfer-Encoding:CC:Date:Subject:From; b=t6bJhkVQb+xkg8PPE9cgKrn+h4Cb1YjI8iYgU044yjmUTzgOHhqmh1JA6PVXE3S6i skrVdlQ7Ca2KucLiQauOxbyiA0MlfBdApcX/gTt1ZfZbNd5PYrgwUAJ3MiRrqq64fP IRAW7hNmU3WRK46wiHvyjIx+ZZAjVYF3p8s5ScLi23CstAVnXst5LXnWlQSgTAYMFm y2ipsSrHGU7xOTh/madCFe0OGuM32WczvkoLP19SFDPP2HqUFWM1gDZH9toWNr/QFY fqIFlcCFhqzcwiqrYjK8SY+JAH3CIRQiDKPzv+BlQc6gW4TQP1/TLWZwaq/icAkt85 KKV0/evorIrnw== From: "Teddy Astie" Subject: =?utf-8?Q?[RFC=20PATCH]=20x86/intel:=20Add=20recent=20CPU=20models=20model-specific=20LBRs?= X-Mailer: git-send-email 2.52.0 X-Bm-Disclaimer: Yes X-Bm-Milter-Handled: 4ffbd6c1-ee69-4e1b-aabd-f977039bd3e2 X-Bm-Transport-Timestamp: 1774520360593 To: xen-devel@lists.xenproject.org Cc: "Teddy Astie" , "Jan Beulich" , "Andrew Cooper" , "=?utf-8?Q?Roger=20Pau=20Monn=C3=A9?=" Message-Id: <888b0df36c6706de9d7ec1c5c4cc229297699670.1774519884.git.teddy.astie@vates.tech> X-Native-Encoded: 1 X-Report-Abuse: =?UTF-8?Q?Please=20forward=20a=20copy=20of=20this=20message,=20including=20all=20headers,=20to=20abuse@mandrill.com.=20You=20can=20also=20report=20abuse=20here:=20https://mandrillapp.com/contact/abuse=3Fid=3D30504962.447310448c7741dbb43bce180333537a?= X-Mandrill-User: md_30504962 Feedback-ID: 30504962:30504962.20260326:md Date: Thu, 26 Mar 2026 10:19:21 +0000 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-purgate-ID: tlsNG-33051d/1774520363-EAA8372C-53EE28CD/0/0 X-purgate-type: clean X-purgate-size: 2326 X-ZohoMail-DKIM: pass (identity @mandrillapp.com) (identity teddy.astie@vates.tech) X-ZM-MESSAGEID: 1774520388979154100 Content-Type: text/plain; charset="utf-8" Add all CPU models that supports these MSR as they are defined in February = 2026 SDM. It uses the same list that span from Skylake to latest CPU models as a part= of MSRs in the 6th=E2=80=9413th generation Intel=C2=AE Core=E2=84=A2 proce= ssors, 1st=E2=80=945th generation Intel=C2=AE Xeon=C2=AE Scalable processor fa= milies, Intel=C2=AE Core=E2=84=A2 Ultra 7 processors, 8th generation Intel=C2= =AE Core=E2=84=A2 i3 processors, Intel=C2=AE Xeon=C2=AE E processors, Intel=C2=AE Xeon=C2=AE= 6 P-Core processors, Intel=C2=AE Xeon=C2=AE 6 E-Core processors, and Intel=C2=AE= Series 2 Core=E2=84=A2 Ultra processors Signed-off-by: Teddy Astie --- Currently, none of these MSR are exposed on these CPUs, leading to BSOD [1] in Windows when it is supposedly trying to debug some program. I guess [2] is also caused by these missing MSRs. [1] https://xcp-ng.org/forum/topic/12008/application-on-vm-causing-bsod [2] https://lore.kernel.org/xen-devel/ced16fca-3b55-40a1-a7e2-ffadd9707394@= vates.tech/ xen/arch/x86/hvm/vmx/vmx.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/xen/arch/x86/hvm/vmx/vmx.c b/xen/arch/x86/hvm/vmx/vmx.c index 82c55f49ae..98a25ce301 100644 --- a/xen/arch/x86/hvm/vmx/vmx.c +++ b/xen/arch/x86/hvm/vmx/vmx.c @@ -541,10 +541,26 @@ static const struct lbr_info *__init get_model_specif= ic_lbr(void) case 0x8c: case 0x8d: /* Tremont */ case 0x86: + /* Saphire Rapids */ + case 0x8f: /* Kaby Lake */ case 0x8e: case 0x9e: + /* Alder Lake */ + case 0x97: case 0x9a: /* Comet Lake */ case 0xa5: case 0xa6: + /* Meteor Lake */ + case 0xaa: + /* Granite Rapids */ + case 0xad: case 0xae: + /* Sierra Forest */ + case 0xaf: + /* Raptor Lake */ + case 0xba: case 0xb7: case 0xbf: + /* Lunar Lake */ + case 0xbd: + /* Emerald Rapids */ + case 0xcf: return sk_lbr; /* Atom */ case 0x1c: case 0x26: case 0x27: case 0x35: case 0x36: --=20 2.52.0 -- Teddy Astie | Vates XCP-ng Developer XCP-ng & Xen Orchestra - Vates solutions web: https://vates.tech