[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 5/8] x86/spec-ctrl: Introduce new has_spec_ctrl boolean
- To: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
- From: Jan Beulich <jbeulich@xxxxxxxx>
- Date: Wed, 26 Jan 2022 17:57:41 +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=ZxbyjWi9KmySIm/kbMqSMYbFAQAJeCxR43U3kmXX1l4=; b=m4qkC91Qk/PMEghwRGNHs0nwmflE89YVBjrB5FrKkFIxHu1QdJcsF9dYw7VhUnzAnVkQOT4Y4Fd/SmmDnU3VqdYroe6jyh+H1RVMHHp4WizNveYZJhOqiVvz+4EBg3PaXz/VsU2rRulFasW9VqLWMt8t60Qowlbo06sI1j+4xylsIn3DesZ8/8AkP0PCSIscPyYhsFsXlsXCIPHIAhZEuqRqNC86RL3ZJny7bSdmR0fm9FGcJIKZElWKT5U8y0KYrSZfaKoMWddJcvoIRmm49yXCOL7qx33DzIB5YVbArS8N9UEgj81lWvXze5LPs+sPt5uuzSsPdV+uDEeY2qC4oA==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=FyVLO6PHST3VAao2/6KLmUR8i76rEAA9EtT+G9VjXjp/WLEtqE6fABYyPeVSz/2V+0rrm42LjBO9KnGSHkars9B45OcLklN7IyZuirItjLVwdMKLFOuhYIfuHfieItJhxQXglpwv9b6hro4vitlDwIK4MAt0a9ziI9xfePVYH1Mu9zKfjzFl2b9h9y9birfxgcfYh+UH/dtqEnza7Up2Mc4RbuK5Y0EF5JeHgIiSry1yB5olQpSjw+SszxoTrcZD5rAwhx0JlON+uUk9QhLx//0bbluh7xvBxO40bERl5FFqD2BpV0bKdswMwMD1Skq97Z9D3lJG2VqCdXYbxxXA6w==
- 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:57:51 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
On 26.01.2022 09:44, Andrew Cooper wrote:
> Most MSR_SPEC_CTRL setup will be common between Intel and AMD. Instead of
> opencoding an OR of two features everywhere, introduce has_spec_ctrl instead.
>
> Reword the comment above the Intel specific alternatives block to highlight
> that it is Intel specific, and pull the setting of default_xen_spec_ctrl.IBRS
> out because it will want to be common.
>
> No functional change.
>
> Signed-off-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
Reviewed-by: Jan Beulich <jbeulich@xxxxxxxx>
|