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

Re: [PATCH 3/4] x86/tsx: Remove opencoded MSR_ARCH_CAPS check


  • To: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
  • From: Jan Beulich <jbeulich@xxxxxxxx>
  • Date: Wed, 17 May 2023 16:38:20 +0200
  • 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=DUay6O560edvbo46b5zeVc1Tw09tWHBMgxpuGuUvLrY=; b=hCqDK9l5Dl5pw3QLkgve932EeTylzZnrtwYIRFtwLAXXO13uWKxc14IR6ZwrQ+GpgxLWx7PYrmwia4gfSsreCEmdp7SG8pwR7/6P7Wzk0DbQjq0XAumJbqsY4EzZltrx6CmYS90Dux+bfHf5iGrDyvdyVwWqPzigb8rmJ6C3pKOmEC0rR+JpG0uvBaOjz6JyP2f1R1cHBtyz7a/PTdE5j9VlttEc4m+rs5jyPQBmWLaQ8scSWJUhs0XUDoUeJYIiXdFebh+nK8yXNoxHVEkMLGCJcI0ttqQwCeZfMmgrWqayp9na+0jMBOZBm2JKmvcA3viIhEiK4D3nuAylKtHEgw==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=BP1uAWhzOnAwZ6/2RlTT41OIJgBtjejzt049ljIbTR7Ish/o+80KfMblza3Hd+4L0G4IlYP7DrnpXzXJrI523ehx5ARI9F7X1y3k1bJxL2xD4PSzU7vhQYILKqEhztqZWoqLl/zKiocTBGVST8Q+x99w7lUVSf0gwlA7phio2kIV+JO2NoHYVi1UhjaApx1dDT9Gxe6YCIPGuzou43/JU1LFejrGeEh2tvoZSMIgxNXAmXIJOuWLjxSfYTAkZZaf/RnqHG7Oo7/ACvhlq5XEIlZSjIHMYSxr8N3VgZT7oiLlUFhGNjYbpIz61vdZJuUKQcnHMImYW02q9biPn0EXSw==
  • 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: Wed, 17 May 2023 14:38:31 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On 16.05.2023 16:53, Andrew Cooper wrote:
> The current cpu_has_tsx_ctrl tristate is serving double pupose; to signal the
> first pass through tsx_init(), and the availability of MSR_TSX_CTRL.
> 
> Drop the variable, replacing it with a once boolean, and altering
> cpu_has_tsx_ctrl to come out of the feature information.
> 
> No functional change.
> 
> Signed-off-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>

Reviewed-by: Jan Beulich <jbeulich@xxxxxxxx>




 


Rackspace

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