All of lore.kernel.org
 help / color / mirror / Atom feed
From: Wei Liu <wl@xen.org>
To: Roger Pau Monne <roger.pau@citrix.com>
Cc: Wei Liu <wl@xen.org>, George Dunlap <george.dunlap@eu.citrix.com>,
	Andrew Cooper <andrew.cooper3@citrix.com>,
	Tim Deegan <tim@xen.org>, Jan Beulich <jbeulich@suse.com>,
	xen-devel@lists.xenproject.org
Subject: Re: [Xen-devel] [PATCH v3 5/7] x86/tlb: introduce a flush guests TLB flag
Date: Thu, 6 Feb 2020 12:59:07 +0000	[thread overview]
Message-ID: <20200206125907.5sr2egtkvq5qggks@debian> (raw)
In-Reply-To: <20200127181115.82709-6-roger.pau@citrix.com>

On Mon, Jan 27, 2020 at 07:11:13PM +0100, Roger Pau Monne wrote:
> Introduce a specific flag to request a HVM guest TLB flush, which is
> an ASID/VPID tickle that forces a linear TLB flush for all HVM guests.
> 
> This was previously unconditionally done in each pre_flush call, but
> that's not required: HVM guests not using shadow don't require linear
> TLB flushes as Xen doesn't modify the guest page tables in that case
> (ie: when using HAP).
> 
> Modify all shadow code TLB flushes to also flush the guest TLB, in
> order to keep the previous behavior. I haven't looked at each specific
> shadow code TLB flush in order to figure out whether it actually
> requires a guest TLB flush or not, so there might be room for
> improvement in that regard.
> 
> Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>

Reviewed-by: Wei Liu <wl@xen.org>

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

  reply	other threads:[~2020-02-06 12:59 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-27 18:11 [Xen-devel] [PATCH v3 0/7] x86: improve assisted tlb flush and use it in guest mode Roger Pau Monne
2020-01-27 18:11 ` [Xen-devel] [PATCH v3 1/7] x86/tlb: fix NEED_FLUSH return type Roger Pau Monne
2020-01-28 14:17   ` Wei Liu
2020-02-03 11:48     ` Jan Beulich
2020-01-27 18:11 ` [Xen-devel] [PATCH v3 2/7] x86/hvm: allow ASID flush when v != current Roger Pau Monne
2020-02-06 11:15   ` Wei Liu
2020-01-27 18:11 ` [Xen-devel] [PATCH v3 3/7] x86/paging: add TLB flush hooks Roger Pau Monne
2020-02-05 20:52   ` Wei Liu
2020-01-27 18:11 ` [Xen-devel] [PATCH v3 4/7] x86/hap: improve hypervisor assisted guest TLB flush Roger Pau Monne
2020-02-06 11:23   ` Wei Liu
2020-01-27 18:11 ` [Xen-devel] [PATCH v3 5/7] x86/tlb: introduce a flush guests TLB flag Roger Pau Monne
2020-02-06 12:59   ` Wei Liu [this message]
2020-01-27 18:11 ` [Xen-devel] [PATCH v3 6/7] x86/tlb: allow disabling the TLB clock Roger Pau Monne
2020-02-06 13:31   ` Wei Liu
2020-02-06 13:46     ` Roger Pau Monné
2020-01-27 18:11 ` [Xen-devel] [PATCH v3 7/7] x86/tlb: use Xen L0 assisted TLB flush when available Roger Pau Monne
2020-01-28 14:17   ` Wei Liu
2020-01-28 14:57     ` Roger Pau Monné
2020-01-28 16:24       ` Wei Liu
2020-01-28 17:16         ` Roger Pau Monné
2020-01-28 17:20           ` Andrew Cooper
2020-01-28 17:38             ` Roger Pau Monné
2020-02-06 13:49   ` Wei Liu
2020-02-06 14:09     ` Roger Pau Monné
2020-02-06 14:46       ` Jan Beulich
2020-02-06 15:37         ` Roger Pau Monné
2020-02-05 16:14 ` [Xen-devel] [PATCH v3 0/7] x86: improve assisted tlb flush and use it in guest mode Roger Pau Monné
2020-02-05 16:44   ` Jan Beulich

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=20200206125907.5sr2egtkvq5qggks@debian \
    --to=wl@xen.org \
    --cc=andrew.cooper3@citrix.com \
    --cc=george.dunlap@eu.citrix.com \
    --cc=jbeulich@suse.com \
    --cc=roger.pau@citrix.com \
    --cc=tim@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.