[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v2 4/4] x86/cpuid: Advertise SERIALIZE by default to guests


  • To: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
  • From: Jan Beulich <jbeulich@xxxxxxxx>
  • Date: Thu, 16 Dec 2021 17:48:43 +0100
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=suse.com; dmarc=pass action=none header.from=suse.com; dkim=pass header.d=suse.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=TqfQa9/wCrVuMkcpcsVM8531BUDQnVWVKZxdU3YhBW4=; b=B+bfYG4tTvzBZJR5I8cQnJFQ86Ax6wnIIgSj4Sjh3GyhJ8TCUSBBUU5mvjTA+g3okLfcQtMHa9w0jrHM0DvOnAuxiK7+IUyopeaKsf6mmz73ylQDd+jNxsFBFwNNMe0Gdi6s52KWIZZ0mb/IaM4I8j77QzmOMwm1I14+mOPodcPITmI6vQySFZIHPyclQ7/DOeMWC8BEZr0ER53ftCpzrk+WBiA39ieioFw4scTkA+ITl2/ETnyNs5r0nuwTs0GGQ9JWRKSKE0MnaUZCwUM0LiT+pSPZ2LLwwbD8NCAcaui+SfIj4oOoleEUcX3li/X1h4HWNk1VRtWYCAH1tHEJFQ==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=fHpE1GTRSj8cH4AH9tM3bZJZPq2xxJ1k7krHw/nQtL6ia/21V53eILK7EopM55VPCzq7LbtAxDI1GJqsVLFLA3QPVTs+kJr+WVNIBVR19N1FeFx+OSYeinAPCbe1u/9B1rkA/09jvxt1SpbQZW+hnEpLr1Rg0NPBn5jdgA4wPwAEhtP/hA9L8PebDcUb+5ZNMDQfTZwOTByjWkeFIIMll6hbu0b02hBD7mznttfzP0heZ+9rqtetZBuA6Dfx8BcXlHziJx03x1mVTZvqrOmxPugBBjXh3Z+QuT3spYInBff+lmOUX6UXmWcHqUiFbzYtz8vHay+O3cFL/bAruIlFYA==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com;
  • Cc: Roger Pau Monné <roger.pau@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>, Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Thu, 16 Dec 2021 16:49:05 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On 15.12.2021 23:21, Andrew Cooper wrote:
> I've played with SERIALIZE, TSXLDTRK, MOVDIRI and MOVDIR64 on real hardware,
> and they all seem fine, including emulation support.
> 
> SERIALIZE exists specifically to have a userspace usable serialising operation
> without other side effects.  (The only other two choices are CPUID which is a
> VMExit under virt and clobbers 4 registers, and IRET-to-self which very slow
> and consumes content from the stack.)
> 
> TSXLDTRK is a niche TSX feature, and TSX itself is niche outside of demos of
> speculative sidechannels.  Leave the feature opt-in until a usecase is found,
> in an effort to preempt the multiple person years of effort it has taken to
> mop up TSX issues impacting every processor line.
> 
> MOVDIRI and MOVDIR64 are harder to judge.  They're architectural building
> blocks towards ENQCMD{,S} without obvious usecases on their own.  They're of
> no use to domains without PCI devices, so leave them opt-in for now.
> 
> Signed-off-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>

Acked-by: Jan Beulich <jbeulich@xxxxxxxx>




 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.