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

Re: [PATCH 4/8] x86/spec-ctrl: Drop use_spec_ctrl boolean


  • To: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
  • From: Jan Beulich <jbeulich@xxxxxxxx>
  • Date: Wed, 26 Jan 2022 17:54:58 +0100
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; 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=7KACc+NqMAkGAFUe0+VlyybcigpM+knPh5JmP0EmPjE=; b=X4WBOJKtJ/H5XgAOchfzc4V2NOgLK9SrTBvbWz2bTd60hcOnV1Cr+mHqLZvPgPbU1bf21VbYrMSKOX2lbEr/4FkQ/sYtfSLrlEaVsr30bFIDdVQpIMueb7/WqWBp4AbGIU3N+SoqEpT1L/5IADTYpJ/6xV/sR6u3Bvi934oyjaaXCs5puT2UDBxijf5oZuBxEqWlCt/mC6kBtbMf9fOt4QVn6ts8Ab2CR31IMKFbUQPAaTb5nDhTSxslrSfqYfgVcaqugwlZkOMHaA4o5aqU9JCrIdkPNSk31wrv1V/4K2ALrqj6i0I4TUKL9XalFFPBWYYdwwdRSEaPOMb4JNISvg==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=oUK2hXGlvx5APjPMnqdqaJTx/DzIurm67HCteZf8i3J0X5qf7MnYCXvUffYyVcbQEtf+RRksKAmjl1filQqKPrs0bQ+w0byb3/rb/1z0DQJM+P5oBt02d6IdPmbhvlAZRUK6E0tX1a7zaWoEM9gTzSgbtOZ0/yxZhnPBnmuvGpGe42+2rpcJwLMRoTdIeuQoNkjRdAwaXLmdd01k/XBRWqpdEp/+dfKsjh88SfVlBt3kRXVXHLkWi+6oHiZsJ6oYI/UOLJOoj6nSTAkr5ArbZDDnX5rj68DAyG0k5jlAjm4HbgeMFLD/+ar7Bowk/zKHTUxosP/IgNPRLkvxEQqo2g==
  • 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, 26 Jan 2022 16:55:06 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On 26.01.2022 09:44, Andrew Cooper wrote:
> Several bugfixes have reduced the utility of this variable from it's original
> purpose, and now all it does is aid in the setup of SCF_ist_wrmsr.
> 
> Simplify the logic by drop the variable, and doubling up the setting of
> SCF_ist_wrmsr for the PV and HVM blocks, which will make the AMD SPEC_CTRL
> support easier to follow.  Leave a comment explaining why SCF_ist_wrmsr is
> still necessary for the VMExit case.
> 
> 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®.