All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/8] x86: switch default MSR behavior
@ 2020-08-17 15:57 Roger Pau Monne
  2020-08-17 15:57 ` [PATCH 1/8] x86/vmx: handle writes to MISC_ENABLE MSR Roger Pau Monne
                   ` (8 more replies)
  0 siblings, 9 replies; 21+ messages in thread
From: Roger Pau Monne @ 2020-08-17 15:57 UTC (permalink / raw)
  To: xen-devel
  Cc: Roger Pau Monne, Jun Nakajima, Kevin Tian, Jan Beulich,
	Andrew Cooper, Wei Liu

Hello,

The current series attempts to change the current MSR default handling
behavior, which is to silently drop writes to writable MSRs, and allow
reading any MSR not explicitly handled.

After this series access to MSRs not explicitly handled will trigger a
#GP fault. I've tested this series with osstest and it doesn't introduce
any regression, at least on the boxes selected for testing:

http://logs.test-lab.xenproject.org/osstest/logs/152602/

Thanks, Roger.

Andrew Cooper (1):
  x86/hvm: Disallow access to unknown MSRs

Roger Pau Monne (7):
  x86/vmx: handle writes to MISC_ENABLE MSR
  x86/svm: silently drop writes to SYSCFG and related MSRs
  x86/pv: handle writes to the EFER MSR
  x86/pv: handle reads to the PAT MSR
  x86/pv: allow reading APIC_BASE MSR
  x86/pv: allow reading FEATURE_CONTROL MSR
  x86/pv: disallow access to unknown MSRs

 xen/arch/x86/hvm/svm/svm.c     | 21 +++++++++--
 xen/arch/x86/hvm/vmx/vmx.c     | 20 ++++++----
 xen/arch/x86/pv/emul-priv-op.c | 68 +++++++++++++++++++++++++---------
 3 files changed, 79 insertions(+), 30 deletions(-)

-- 
2.28.0



^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2020-08-27 15:14 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-08-17 15:57 [PATCH 0/8] x86: switch default MSR behavior Roger Pau Monne
2020-08-17 15:57 ` [PATCH 1/8] x86/vmx: handle writes to MISC_ENABLE MSR Roger Pau Monne
2020-08-18 14:57   ` Andrew Cooper
2020-08-17 15:57 ` [PATCH 2/8] x86/svm: silently drop writes to SYSCFG and related MSRs Roger Pau Monne
2020-08-18 14:53   ` Andrew Cooper
2020-08-19 15:07     ` Roger Pau Monné
2020-08-27 15:13     ` Jan Beulich
2020-08-17 15:57 ` [PATCH 3/8] x86/pv: handle writes to the EFER MSR Roger Pau Monne
2020-08-18 13:46   ` Andrew Cooper
2020-08-17 15:57 ` [PATCH 4/8] x86/pv: handle reads to the PAT MSR Roger Pau Monne
2020-08-18 13:50   ` Andrew Cooper
2020-08-18 14:11     ` Roger Pau Monné
2020-08-17 15:57 ` [PATCH 5/8] x86/pv: allow reading APIC_BASE MSR Roger Pau Monne
2020-08-18 14:31   ` Andrew Cooper
2020-08-17 15:57 ` [PATCH 6/8] x86/pv: allow reading FEATURE_CONTROL MSR Roger Pau Monne
2020-08-18 14:09   ` Andrew Cooper
2020-08-17 15:57 ` [PATCH 7/8] x86/pv: disallow access to unknown MSRs Roger Pau Monne
2020-08-18 14:24   ` Andrew Cooper
2020-08-17 15:57 ` [PATCH 8/8] x86/hvm: Disallow " Roger Pau Monne
2020-08-18 14:17   ` Andrew Cooper
2020-08-18 13:58 ` [PATCH 9/8] x86/msr: Drop compatibility #GP handling in guest_{rd, wr}msr() Andrew Cooper

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.