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

Re: [PATCH 2/6] x86/boot: Adjust MSR_ARCH_CAPS handling for the Host policy


  • To: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
  • From: Jan Beulich <jbeulich@xxxxxxxx>
  • Date: Tue, 16 May 2023 13:47:19 +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=ntFgvsi7fESsY3d6UJGHVwwDUUmBEPxVNBJ8W6AJWB8=; b=mZJDQ6tsrWWCfPBald12ViR8OMJpq2IZuWssZ3OiBEs/TgbfDVraTFYEkBsk4Hk7qfEq2W87dfXvrhUDSbZiIaWqzSNgqqn05l0ZtdnNbducse3h9a0WmvHOLezR9Co70WcacQ45sezhJU+7cTHDZJCO6oi/angl87bm9U3eMU9fSdrFS75yjilSutWxRTiQcishQNP3tSAPaeibXsTy0My6fkr5yH69++KhXg5ktN+J7U6z92P8KxUYvM/0GL4iNYd/AJrulCaXCqxDMUVgdapTePtvh9ocOuGdw5gaEonoYJijUoeG1z6EmVqRWIyKwSeiOWIKbLAXr413nEaMkA==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=c5DW2ykdH9B1FKtuEWwxfaKiUIVVA54QfEnAbwsDMwyVR9cEQp95QFgQDi/sLn+NjrsdGpe1EuYXvtCOK/ZyhJuHMJzOUKdE66FttGovE4fchR0CawbdmRTAwVTOWql2YKA6tEWOzrna++iarXylvTB82RZ6QOsNfwIHFdkEIbyokNMjm6elFwoBouJBpUQsoJQtgVMmJ+MlNnwKcQUTRuODbDUbLI8LdMo59ujYdURrWuPFbcC+VZuokv7CfV5VYSuinMqtO9dPk4vKi8BT8wK+UCsj0/T3BtnspdNjoBTr8t9ZV8iJGD5UMBUnu7L/osF2W9pI/ruS+3mqjURDOw==
  • 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: Tue, 16 May 2023 11:47:32 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On 15.05.2023 16:42, Andrew Cooper wrote:
> We are about to move MSR_ARCH_CAPS into featureset, but the order of
> operations (copy raw policy, then copy x86_capabilitiles[] in) will end up
> clobbering the ARCH_CAPS value currently visible in the Host policy.
> 
> To avoid this transient breakage, read from raw_cpu_policy rather than
> modifying it in place.  This logic will be removed entirely in due course.
> 
> 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®.