x86/msr: Disallow access to Processor Trace MSRs
authorAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 19 Jun 2020 11:14:32 +0000 (12:14 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 26 Jun 2020 15:34:02 +0000 (16:34 +0100)
commitbcdfbb70fca579baa04f212c0936b77919bdae11
tree513dc5071f8b4143e21e1553436db51408c34a8b
parent40b532fbdcb2095da7152a1d08d9f0288524c223
x86/msr: Disallow access to Processor Trace MSRs

We do not expose the feature to guests, so should disallow access to the
respective MSRs.  For simplicity, drop the entire block of MSRs, not just the
subset which have been specified thus far.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Wei Liu <wl@xen.org>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
Release-acked-by: Paul Durrant <paul@xen.org>
xen/arch/x86/msr.c
xen/include/asm-x86/msr-index.h