[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH v3 0/2] SSBD via LS_CFG
This series of patches is for enabling SSBD via the LS_CFG MSR for family 15h-17h. The first patch make it so that the information is correctly displayed on boot. The last patch is for further enablement for Xen switching SSBD on or off internally, or for further control of SSBD for guests via the VIRT_SPEC_CTRL. Note: Patch 1 is standalone and just improves reporting of SSBD in the init print statements. Patch 2 is intended for a later date when there's a C ALTERNATIVE (which I've talked to Andy about some) and will most likely get rolled into series of patches for giving HVM guests control of SSBD when it's only available via LS_CFG. v1 -> v2: - changed some variable types - updated ssbd_amd_ls_cfg_set_nonsmt function - changed sbd_amd_ls_cfg_init to a presmp_initcall - deleted ssbd_amd_ls_cfg_set_init due to ^ and it happening later in the boot - various smaller cleanups v2 -> v3: - moved the SSBD_AMD_LS_CFG synthetic feature from patch 1 to 2 and added ssbd_amd_ls_cfg_av for it's use in patch 1 - in patch 2, only set SSBD_AMD_LS_CFG once everything is known to be ready/good - since it's later in the boot process due to a v1 change, use nr_sockets - various smaller changes/cleanups from Jan's feedback Brian Woods (2): x86/spec-ctrl: add AMD SSBD LS_CFG in init print x86/spec-ctrl: add support for modifying SSBD via LS_CFG MSR xen/arch/x86/cpu/amd.c | 15 ++-- xen/arch/x86/smpboot.c | 3 + xen/arch/x86/spec_ctrl.c | 180 +++++++++++++++++++++++++++++++++++++- xen/include/asm-x86/cpufeatures.h | 1 + xen/include/asm-x86/spec_ctrl.h | 5 ++ 5 files changed, 195 insertions(+), 9 deletions(-) -- 2.11.0 _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |