From a60de1b9f80681859b845f35c1c0e191cddb0b01 Mon Sep 17 00:00:00 2001 From: Andrew Cooper Date: Tue, 10 Jul 2018 14:01:29 +0100 Subject: [PATCH] x86/msr: Drop stale comment for vcpu_msrs.spec_ctrl MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit More than the bottom two bits are now defined, and the MSR policy work has shown that using non-architectural representations turns out to be problematic for more than just asm code. As the architectural representation is the expected default, we don't need to justify why we are using it. Signed-off-by: Andrew Cooper Acked-by: Jan Beulich Reviewed-by: Roger Pau Monné --- xen/include/asm-x86/msr.h | 5 ----- 1 file changed, 5 deletions(-) diff --git a/xen/include/asm-x86/msr.h b/xen/include/asm-x86/msr.h index 3a2c799c2d..9b4e4e07f1 100644 --- a/xen/include/asm-x86/msr.h +++ b/xen/include/asm-x86/msr.h @@ -287,11 +287,6 @@ struct vcpu_msrs { /* 0x00000048 - MSR_SPEC_CTRL */ struct { - /* - * Only the bottom two bits are defined, so no need to waste space - * with uint64_t at the moment, but use uint32_t for the convenience - * of the assembly code. - */ uint32_t raw; } spec_ctrl; -- 2.30.2