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

Re: [PATCH 4/8] x86/pv: handle reads to the PAT MSR


  • To: Roger Pau Monne <roger.pau@xxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
  • Date: Tue, 18 Aug 2020 14:50:24 +0100
  • Authentication-results: esa3.hc3370-68.iphmx.com; dkim=none (message not signed) header.i=none
  • Cc: Jan Beulich <jbeulich@xxxxxxxx>, Wei Liu <wl@xxxxxxx>
  • Delivery-date: Tue, 18 Aug 2020 13:50:33 +0000
  • Ironport-sdr: q2qXaAqcSfgdVZsEZGrjPqSoAB0q0jA/WSBafc+SR00ReBGotJsw3pUYrhZAJTIxyZPe0+wxN6 31oCF+AWEfUGQ2s/2AZJQIUo75psxvjnQhGhhwUyDusZNPCT3FcSYkYs2Co7bJ9W1NCO/50PEF liwdSVcJYHvtPxRo10ONsEAMJHcvUlmWai3ZHONT9mvrjGVFmEwl2Yr3dptolrqccLl1PbdaXv CEo3F5qvIr6cZtMB26VDb1uI6gIquNIuUQVkKLstXA21Nj+Ffp3/gM4xxp6u+c0LtWl6D/gITy 7gc=
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On 17/08/2020 16:57, Roger Pau Monne wrote:
> The value in the PAT MSR is part of the ABI between Xen and PV guests,
> and there's no reason to not allow a PV guest to read it.

This is faster than using RDMSR to find the constant.

> Signed-off-by: Roger Pau Monné <roger.pau@xxxxxxxxxx>

Acked-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>

(Can fix up on commit)



 


Rackspace

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