All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Roger Pau Monné" <roger.pau@citrix.com>
To: Andrew Cooper <andrew.cooper3@citrix.com>
Cc: <xen-devel@lists.xenproject.org>, Jan Beulich <jbeulich@suse.com>,
	Wei Liu <wl@xen.org>
Subject: Re: [PATCH 4/8] x86/pv: handle reads to the PAT MSR
Date: Tue, 18 Aug 2020 16:11:50 +0200	[thread overview]
Message-ID: <20200818141150.GN828@Air-de-Roger> (raw)
In-Reply-To: <ce957bd1-a0b7-a68a-68ed-2b6756809779@citrix.com>

On Tue, Aug 18, 2020 at 02:50:24PM +0100, Andrew Cooper wrote:
> 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@citrix.com>
> 
> Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
> 
> (Can fix up on commit)

Sure, I didn't write it down because I assumed it would be obvious,
but worth writing down.

Thanks, Roger.


  reply	other threads:[~2020-08-18 14:12 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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é [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200818141150.GN828@Air-de-Roger \
    --to=roger.pau@citrix.com \
    --cc=andrew.cooper3@citrix.com \
    --cc=jbeulich@suse.com \
    --cc=wl@xen.org \
    --cc=xen-devel@lists.xenproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.