[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH for-4.15 0/3] x86/msr: Fixes for XSA-351


  • To: Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
  • Date: Tue, 16 Mar 2021 16:18:41 +0000
  • Authentication-results: esa5.hc3370-68.iphmx.com; dkim=none (message not signed) header.i=none
  • Cc: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Jan Beulich <JBeulich@xxxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>, Boris Ostrovsky <boris.ostrovsky@xxxxxxxxxx>, Ian Jackson <iwj@xxxxxxxxxxxxxx>
  • Delivery-date: Tue, 16 Mar 2021 16:19:19 +0000
  • Ironport-hdrordr: A9a23:8lR+Pqg5dmupob9vJkJu5o3vynBQXj4ji2hD6mlwRA09T+Wzva mV8sgz/xnylToXRTUcgtiGIqaNWjfx8pRy7IkXM96ZLW7bkUGvK5xv6pan/i34F0TFh4pg/I ppbqQWMr3NJHdgi8KS2mWFOvIB5PXCz6yyn+fZyB5WPGRXQoVt9R1wBAreMmAefngkObMDGJ CR5tVKqlObEBx9BKmGL0IIQvTZoJnznI/mCCR2YSIP0hWEjj+j9dfBciSw4xF2aVxy6IZn1W DElgDjj5/T0c2G9g==
  • Ironport-sdr: P3HDpFx97VuZkhun39VBuWLw8ueXFh3aqbIIpafB+iRN7D4Z2dbRuNZm6M/yDqzNduKmCFKYKS 0zSCLPtGNlFqaPkLl5IFE3wFshwhLS91k224IT8L/0LhCkPTO4682Pe3ctGYa3fWyG9J+daJg+ NFazLYr5Z7e5WplqV9557kTJpQZV8RZQHjUAY2hiPuAv5CBsBqCfaoV44QBxx/XVIzNkyV3P8U mZNufYDbeGbxhJrxLg6nEj7qFikycVm7j/SZsVfeu9JhTOZiPzHNs+If6j2g5LuG3uckMelSNt 7N8=
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

This is slightly complicated.  Patches 1 and 2 rearrange the code to look and
behave more like 4.14, and patch 3 fixes a Solaris (and turbostat) bug in a
manner which can be backported to all security trees.

Andrew Cooper (3):
  Revert "x86/msr: drop compatibility #GP handling in guest_{rd,wr}msr()"
  x86/msr: Forward port XSA-351 changes from 4.14
  x86/msr: Fix Solaris and turbostat following XSA-351

 xen/arch/x86/msr.c              | 78 +++++++++++++++++++++++++++++++++++++++++
 xen/include/asm-x86/msr-index.h | 39 +++++++++++++++++++++
 2 files changed, 117 insertions(+)

-- 
2.11.0




 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.