From: Andrew Cooper <andrew.cooper3@citrix.com>
To: Xen-devel <xen-devel@lists.xen.org>
Cc: Andrew Cooper <andrew.cooper3@citrix.com>
Subject: [PATCH v3 0/7] x86/alternatives: Support for automatic padding calculations
Date: Wed, 7 Mar 2018 15:51:29 +0000 [thread overview]
Message-ID: <1520437896-29359-1-git-send-email-andrew.cooper3@citrix.com> (raw)
This is the end result of a lot of work I started during the Spectre/Meltdown
embargo window, and deferred because it was taking too long. It finally
resolves the explict padding calculations for the SPEC_CTRL alternatives.
The only changes from v3 are in patches 5 and 7.
http://xenbits.xen.org/gitweb/?p=people/andrewcoop/xen.git;a=shortlog;h=refs/heads/alternatives-v3
Andrew Cooper (7):
x86/alt: Drop unused alternative infrastructure
x86/alt: Clean up struct alt_instr and its users
x86/alt: Clean up the assembly used to generate alternatives
x86/asm: Remove opencoded uses of altinstruction_entry
x86/alt: Support for automatic padding calculations
x86/alt: Drop explicit padding of origin sites
x86/build: Use new .nops directive when available
xen/arch/x86/Rules.mk | 8 ++
xen/arch/x86/alternative.c | 62 ++++++++++----
xen/arch/x86/x86_64/compat/entry.S | 26 ++----
xen/arch/x86/x86_64/entry.S | 20 +----
xen/include/asm-x86/alternative-asm.h | 106 ++++++++++++++++-------
xen/include/asm-x86/alternative.h | 154 +++++++++++++++++++---------------
xen/include/asm-x86/asm_defns.h | 34 +++-----
xen/include/asm-x86/nops.h | 7 --
xen/include/asm-x86/spec_ctrl_asm.h | 19 ++---
9 files changed, 250 insertions(+), 186 deletions(-)
--
2.1.4
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel
next reply other threads:[~2018-03-07 15:51 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-03-07 15:51 Andrew Cooper [this message]
2018-03-07 15:51 ` [PATCH v3 1/7] x86/alt: Drop unused alternative infrastructure Andrew Cooper
2018-03-07 15:51 ` [PATCH v3 2/7] x86/alt: Clean up struct alt_instr and its users Andrew Cooper
2018-03-07 15:51 ` [PATCH v3 3/7] x86/alt: Clean up the assembly used to generate alternatives Andrew Cooper
2018-03-07 15:51 ` [PATCH v3 4/7] x86/asm: Remove opencoded uses of altinstruction_entry Andrew Cooper
2018-03-07 15:51 ` [PATCH v3 5/7] x86/alt: Support for automatic padding calculations Andrew Cooper
2018-03-08 15:42 ` Jan Beulich
2018-03-08 16:23 ` Andrew Cooper
2018-03-08 16:49 ` Jan Beulich
2018-03-08 16:52 ` Andrew Cooper
2018-03-07 15:51 ` [PATCH v3 6/7] x86/alt: Drop explicit padding of origin sites Andrew Cooper
2018-03-07 15:51 ` [PATCH v3 7/7] x86/build: Use new .nops directive when available Andrew Cooper
2018-03-08 15:53 ` Jan Beulich
2018-03-08 16:48 ` Andrew Cooper
2018-03-08 16:56 ` 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=1520437896-29359-1-git-send-email-andrew.cooper3@citrix.com \
--to=andrew.cooper3@citrix.com \
--cc=xen-devel@lists.xen.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).