Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 0557CD6CFA3 for ; Thu, 22 Jan 2026 18:17:12 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.1211804.1523265 (Exim 4.92) (envelope-from ) id 1vizEg-0008VG-Vp; Thu, 22 Jan 2026 18:16:50 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 1211804.1523265; Thu, 22 Jan 2026 18:16:50 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1vizEg-0008V9-TF; Thu, 22 Jan 2026 18:16:50 +0000 Received: by outflank-mailman (input) for mailman id 1211804; Thu, 22 Jan 2026 18:16:50 +0000 Received: from se1-gles-flk1-in.inumbo.com ([94.247.172.50] helo=se1-gles-flk1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1vizEg-0008V3-4d for xen-devel@lists.xenproject.org; Thu, 22 Jan 2026 18:16:50 +0000 Received: from mail137-14.atl71.mandrillapp.com (mail137-14.atl71.mandrillapp.com [198.2.137.14]) by se1-gles-flk1.inumbo.com (Halon) with ESMTPS id 810eb9d4-f7be-11f0-9ccf-f158ae23cfc8; Thu, 22 Jan 2026 19:16:43 +0100 (CET) Received: from pmta07.mandrill.prod.atl01.rsglab.com (localhost [127.0.0.1]) by mail137-14.atl71.mandrillapp.com (Mailchimp) with ESMTP id 4dxq5Q17plz705dyx for ; Thu, 22 Jan 2026 18:16:42 +0000 (GMT) Received: from [37.26.189.201] by mandrillapp.com id ecdb8f901ab34e0a87328af724903adc; Thu, 22 Jan 2026 18:16:42 +0000 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" X-Inumbo-ID: 810eb9d4-f7be-11f0-9ccf-f158ae23cfc8 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mandrillapp.com; s=mte1; t=1769105802; x=1769375802; bh=JoYuU3kUMVAPly9sxksBrdZ8lh3xNFymYZevUba/wUE=; h=From:Subject:Message-Id:To:Cc:References:In-Reply-To:Feedback-ID: Date:MIME-Version:Content-Type:Content-Transfer-Encoding:CC:Date: Subject:From; b=YeyXRfD+KpwEGi/ICOiElW1uQkB67mDZSVORMFJqEadZLfSg8GgqWKpOebJAkafOZ pQcshxbfUeTHBmWIiHvlz0urXq0iIilIci159PDQCjmTKrfcdRspwf0aegB3jSTlLi IlNnWgCIOufSOD4H0AXd4xVKotJDM4Bq5WcxXw891XsWZcTB8dKdZjndWA6Y4nad9v USiIZWqmwwCw4IoZPAEosI0t43SNXdK/9NBDnylWdGtd3vKNX1y0v9d0EvEi4h9Zei E1v7gxXMwalmfZY7rUpsa7Lno66nre7P1M6oKpd32IkLJ3IeN71agtfh9nrdntxLFb py6zpsLqIwbYA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vates.tech; s=mte1; t=1769105802; x=1769366302; i=teddy.astie@vates.tech; bh=JoYuU3kUMVAPly9sxksBrdZ8lh3xNFymYZevUba/wUE=; h=From:Subject:Message-Id:To:Cc:References:In-Reply-To:Feedback-ID: Date:MIME-Version:Content-Type:Content-Transfer-Encoding:CC:Date: Subject:From; b=mPDjMIR61UdDZNUzidRzPONVI9Dy+zPnQi3x9B5mj+WCgga0VA6ENeM3p1oTClV47 dVLMtM0NuG5xlxt3IIaqZ2CNcSSnlLPNVsOqQ/vZy+iGWLyErfTcfuZC0eIVeTq4ik T1t/Mitc686zr6S7dGBaCx9/rePxFpVh9eGg/rYBhwDiGWp271wIqVlqRBoKNEjzOA 8UrUHTE04J21zvUDsQUYODLSP2iIN0WEv1V5QqckaXxAQuZyyNQ6ZhkjH3fkQXeb+z 19C7RLHfHcSTWeKYWiJ3ZflrZGJk+Idntiws+TIciO0SAu6zO3gYcjQcFu3gha3bQH RnPn431S+8dEA== From: "Teddy Astie" Subject: =?utf-8?Q?Re:=20[PATCH=200/4]=20x86:=20Drop=20cross-vendor=20support?= X-Bm-Disclaimer: Yes X-Bm-Milter-Handled: 4ffbd6c1-ee69-4e1b-aabd-f977039bd3e2 X-Bm-Transport-Timestamp: 1769105800692 Message-Id: <26c416ea-1c4b-464a-bcb9-d34f0600eaac@vates.tech> To: "Alejandro Vallejo" , "Andrew Cooper" , xen-devel@lists.xenproject.org Cc: "Oleksii Kurochko" , "Community Manager" , "Jan Beulich" , "=?utf-8?Q?Roger=20Pau=20Monn=C3=A9?=" , "Jason Andryuk" References: <20260122164943.20691-1-alejandro.garciavallejo@amd.com> <3421e525-fb04-4306-9320-4fa359c2ee28@citrix.com> In-Reply-To: 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.ecdb8f901ab34e0a87328af724903adc?= X-Mandrill-User: md_30504962 Feedback-ID: 30504962:30504962.20260122:md Date: Thu, 22 Jan 2026 18:16:42 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Le 22/01/2026 =C3=A0 18:44, Alejandro Vallejo a =C3=A9crit=C2=A0: > On Thu Jan 22, 2026 at 6:10 PM CET, Andrew Cooper wrote: >> On 22/01/2026 4:49 pm, Alejandro Vallejo wrote: >>> Open question unrelated to the series: Does it make sense to conditiona= lise the >>> MSR handlers for non intercepted MSRs on HVM_FEP? >> >> I'm not quite sure what you're asking here. >> >> ~Andrew > > The handlers for LSTAR and the like are dead code with !CONFIG_HVM_FEP as= far > as I can tell. The question I'm asking is whether there is another code p= ath > that might invoke MSR handlers for non-intercepted MSRs. I can't see it, = but > I'm not sure. > > If there isn't I'm considering (conditionally) getting rid of them. > I think you can enter this path by making the guest execute directly or indirectly a rdmsr in a emulated path (there are some cases like certain cases of real mode or maybe vm introspection). I don't think that FEP is the only way to do that. > Cheers, > Alejandro > -- Teddy Astie | Vates XCP-ng Developer XCP-ng & Xen Orchestra - Vates solutions web: https://vates.tech