x86/msr: Virtualise MSR_PLATFORM_ID properly
authorAndrew Cooper <andrew.cooper3@citrix.com>
Thu, 5 Mar 2020 10:38:13 +0000 (11:38 +0100)
committerJan Beulich <jbeulich@suse.com>
Thu, 5 Mar 2020 10:38:13 +0000 (11:38 +0100)
commit6bc54c0696c0f6f639598363d284c7188a9e20ae
tree3fc607907736521993ec0c5e42178f3046235256
parentf9e2a60b393315c08515af4156540d0e94789cbc
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>
master commit: 691265f96097d4fe3e46ff4267451d49b30143e6
master date: 2020-02-20 17:29:50 +0000
xen/arch/x86/msr.c