All of lore.kernel.org
 help / color / mirror / Atom feed
From: Wei Liu <wl@xen.org>
To: Jan Beulich <jbeulich@suse.com>
Cc: "xen-devel@lists.xenproject.org" <xen-devel@lists.xenproject.org>,
	"Andrew Cooper" <andrew.cooper3@citrix.com>,
	"Wei Liu" <wl@xen.org>, "Roger Pau Monné" <roger.pau@citrix.com>
Subject: Re: [PATCH v2 2/4] x86: clobber registers in switch_stack_and_jump() when !LIVEPATCH
Date: Tue, 15 Dec 2020 16:28:49 +0000	[thread overview]
Message-ID: <20201215162849.khcagkpxe3ccnohj@liuwe-devbox-debian-v2> (raw)
In-Reply-To: <28db518c-da59-8e56-b8dc-ccc814f91131@suse.com>

On Tue, Dec 15, 2020 at 05:12:12PM +0100, Jan Beulich wrote:
> In order to have the same effect on registers as a call to
> check_for_livepatch_work() may have, clobber all call-clobbered
> registers in debug builds.
> 
> Signed-off-by: Jan Beulich <jbeulich@suse.com>

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


  reply	other threads:[~2020-12-15 16:29 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-15 16:09 [PATCH v2 0/4] x86: XSA-348 follow-up Jan Beulich
2020-12-15 16:11 ` [PATCH v2 1/4] x86: verify function type (and maybe attribute) in switch_stack_and_jump() Jan Beulich
2020-12-15 16:28   ` Wei Liu
2020-12-21 16:23   ` Julien Grall
2020-12-15 16:12 ` [PATCH v2 2/4] x86: clobber registers in switch_stack_and_jump() when !LIVEPATCH Jan Beulich
2020-12-15 16:28   ` Wei Liu [this message]
2020-12-15 16:12 ` [PATCH v2 3/4] x86/PV: avoid double stack reset during schedule tail handling Jan Beulich
2020-12-15 16:29   ` Wei Liu
2020-12-15 16:13 ` [PATCH v2 4/4] livepatch: adjust a stale comment Jan Beulich
2020-12-15 16:34   ` Konrad Rzeszutek Wilk

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=20201215162849.khcagkpxe3ccnohj@liuwe-devbox-debian-v2 \
    --to=wl@xen.org \
    --cc=andrew.cooper3@citrix.com \
    --cc=jbeulich@suse.com \
    --cc=roger.pau@citrix.com \
    --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.