From: Andrew Cooper Date: Tue, 10 Jul 2018 13:01:29 +0000 (+0100) Subject: x86/msr: Drop stale comment for vcpu_msrs.spec_ctrl X-Git-Tag: archive/raspbian/4.14.0+80-gd101b417b7-1+rpi1^2~63^2~3597 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=a60de1b9f80681859b845f35c1c0e191cddb0b01;p=xen.git x86/msr: Drop stale comment for vcpu_msrs.spec_ctrl 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é --- 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;