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

Re: [PATCH v2 4/8] x86: Initial support for WRMSRNS


  • To: Andrew Cooper <Andrew.Cooper3@xxxxxxxxxx>
  • From: Jan Beulich <jbeulich@xxxxxxxx>
  • Date: Thu, 12 Jan 2023 16:11:13 +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=s/iseJp9/k6CNN8jq1PHuSQPPN3JG/b5ahqOgQKVN0w=; b=EaoRJJsFgz6+nCJllJ3Iufrxrb6eDwDZBHIDBgC/HID25iEXO/YUd7yoDBBwuITVO2KP5f7BJVUddVzuJsoWuAmICmjtJfnkjFojHgZC+3J3OY0Fb17V4K8bsQXWj/vqoLHhCd/2QpiRxnzNZBdE87by1lTuzlMnWDgZiKJHZdCGl33cEzmlazYj1rd7aWNlSgpABS9ax9GP5gE1JJyQZG/uZWPtnGFDPtRgHF1ZvbXIjAzqch0CfKnS4eMBAFEVJiTrKkcVg4wOfyzs1kjZI/vnRNxTS0Xy6bvfBqggQ7l5v8fQxRusM38ILUSB9+/+4ecxohszrhWO6mGXPmsdfQ==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bp0z1NsmVxnz3F9l+1K5a9hswCCRWph4PNgAi0cubC7sEx0FN2Sl9owKW6IKF14qgJZDMjJ8pnY3dKLVn4Pth2tU4BWAKTt7ozY1GFcvKiMIw2zeEtsxjxO9xdUjKRJSf6gcAUDNOY09ZHMaTUPjczg3HZUPD9jqfE4IwSA9ecYexpoakB7vAmRy0Zo3D94kKCIzXNf7NTaAYn5zt9cjQBzo+RIt2uh+TOgPuVCdVPhLMSv28EeKSFNNXjnLL2i/dbZAwW6AZnzxQ+MEsYXx+VMSNn7708vdOwCr/TP+pP9IwN0xSyd66hoP/HzJszAXD4TPFhsVQOSGxog9MohIbw==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com;
  • Cc: Roger Pau Monne <roger.pau@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>, Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Thu, 12 Jan 2023 15:11:26 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On 12.01.2023 14:58, Andrew Cooper wrote:
> On 12/01/2023 12:58 pm, Jan Beulich wrote:
>> Do you have any indications towards a CS prefix being the least risky
>> one to use here (or in general)?
> 
> Yes.
> 
> Remember it's the prefix recommended for, and used by,
> -mbranches-within-32B-boundaries to work around the Skylake jmp errata.
> 
> And based on this justification, its also the prefix we use for padding
> on various jmp/call's for retpoline inlining purposes.

While I'm okay with the reply, I'd like to point out that in those cases
address or operand size prefix simply could not have been used, for the
insns in question having explicit operands which would be affected. Which
is unlike the case here.

Jan



 


Rackspace

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