x86/msr: Virtualise MSR_PLATFORM_ID properly
authorAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 30 Apr 2019 11:07:04 +0000 (12:07 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Thu, 20 Feb 2020 17:29:50 +0000 (17:29 +0000)
commit691265f96097d4fe3e46ff4267451d49b30143e6
tree826f227012108687a63f97a7000bae1e5aaa9e48
parent9004d93b68d170f7c3910c46030c095d453bcef5
x86/msr: Virtualise MSR_PLATFORM_ID properly

This is an Intel-only, read-only MSR related to microcode loading.  Expose it
in similar circumstances as the PATCHLEVEL MSR.

This should have been alongside c/s 013896cb8b2 "x86/msr: Fix handling of
MSR_AMD_PATCHLEVEL/MSR_IA32_UCODE_REV"

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/msr.c