[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2 04/10] x86/cpu-policy: MSR_ARCH_CAPS feature names
- To: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
- From: Jan Beulich <jbeulich@xxxxxxxx>
- Date: Wed, 24 May 2023 16:56:52 +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=LNlnr0yZ83DXomo0p/RPSp3MCGoXzjUP6EIcRAG2XGk=; b=dE+orfZVP2Vb/pLSCwEcQkSfrcl1Rwx/sA6UQqxA1XbnLIHRPfK1zX9UiahsxdGB0RhVjzPBnC9EoOtxwFEVxLBraqEAYgd6spSFbnDF77aS2H6jf+exJk1h9BcjkBrsqlF/opU/mnL3jY/P4Nk33mqNp+rq5XLMgLHY40Y3UiFWJljJ8sPGJiV66dvUnW/5RX6P3n9wW+cy3aX3A7jbJ/mR0x8gobbBJB0EzM/nCdABVpFA6xeK45sy+xLkXmPM5bYoyxIhtu3D+jPNHn82ogunR1SDg3t20QyI6bztk3jZlqB6Hp8MtGT+T2pZGtOT+2r/AP5pouBsmTAaTfDV4w==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=K1xl3fcCDO91g/lo+Jjh79g5WyjUdWEivVqjORrmoLzpevIzDtV+L42wgR9uQ0I+oe+rDb4ZwnEHDgM59bZM+6UKcRfPJtuOxHxkFT3j/eyNy/cx49MIPXKMFw28AiHYQrLUrolJS+BJbeHxtq2++nGuw+EQLIdSTyY8giGTsYoXb7Vr0PP5GwuGlP+9QezKGjMNGN4f/vWD1u8DqIJS3KJqi5qw6vVvlzrvdkRXwOlpgi9GmxmyNJ+Fo2v88XmmpIxrFse8gVA7vTBVz74+lshHoB/KF8QnMP9q5d7TAauMcxi1U3RBHXhyQ4IaS5l8c9YBLFR0P1Ywbg3CLlBnSg==
- 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, 24 May 2023 14:57:31 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
On 24.05.2023 13:25, Andrew Cooper wrote:
> Seed the default visibility from the dom0 special case, which for the most
> part just exposes the *_NO bits. EIBRS is the one non-*_NO bit, which is
> "just" a status bit to the guest indicating a change in implemention of IBRS
> which is already fully supported.
>
> Insert a block dependency from the ARCH_CAPS CPUID bit to the entire content
> of the MSR. This is because MSRs have no structure information similar to
> CPUID, and used by x86_cpu_policy_clear_out_of_range_leaves(), in order to
> bulk-clear inaccessable words.
>
> The overall CPUID bit is still max-only, so all of MSR_ARCH_CAPS is hidden in
> the default policies.
>
> Signed-off-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
Reviewed-by: Jan Beulich <jbeulich@xxxxxxxx>
|