All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH RESEND v2 0/7] x86/alternatives: Support for automatic padding calculations
@ 2018-02-26 11:34 Andrew Cooper
  2018-02-26 11:34 ` [PATCH v2 1/7] x86/alt: Drop unused alternative infrastructure Andrew Cooper
                   ` (6 more replies)
  0 siblings, 7 replies; 26+ messages in thread
From: Andrew Cooper @ 2018-02-26 11:34 UTC (permalink / raw)
  To: Xen-devel; +Cc: Andrew Cooper

[ Resend properly numbered this time. ]

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.

This series depends on Roger's "x86/clang: allow integrated assembler usage"
and has been tested with a mainline version of clang.

http://xenbits.xen.org/gitweb/?p=people/andrewcoop/xen.git;a=shortlog;h=refs/heads/alternatives-v2

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 .nop directive when available

 xen/arch/x86/Rules.mk                 |   8 ++
 xen/arch/x86/alternative.c            |  48 ++++++++---
 xen/arch/x86/x86_64/compat/entry.S    |  26 +++---
 xen/arch/x86/x86_64/entry.S           |  20 +----
 xen/include/asm-x86/alternative-asm.h | 113 +++++++++++++++++++-------
 xen/include/asm-x86/alternative.h     | 148 +++++++++++++++++++---------------
 xen/include/asm-x86/asm_defns.h       |  32 +++-----
 xen/include/asm-x86/nops.h            |   7 --
 xen/include/asm-x86/spec_ctrl_asm.h   |  19 ++---
 9 files changed, 244 insertions(+), 177 deletions(-)

-- 
2.1.4


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

^ permalink raw reply	[flat|nested] 26+ messages in thread

end of thread, other threads:[~2018-03-05  8:33 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-02-26 11:34 [PATCH RESEND v2 0/7] x86/alternatives: Support for automatic padding calculations Andrew Cooper
2018-02-26 11:34 ` [PATCH v2 1/7] x86/alt: Drop unused alternative infrastructure Andrew Cooper
2018-02-26 11:34 ` [PATCH v2 2/7] x86/alt: Clean up struct alt_instr and its users Andrew Cooper
2018-02-26 11:35 ` [PATCH v2 3/7] x86/alt: Clean up the assembly used to generate alternatives Andrew Cooper
2018-02-26 14:09   ` Roger Pau Monné
2018-02-28 15:59   ` Jan Beulich
2018-03-01 12:44   ` Wei Liu
2018-02-26 11:35 ` [PATCH v2 4/7] x86/asm: Remove opencoded uses of altinstruction_entry Andrew Cooper
2018-02-26 11:35 ` [PATCH v2 5/7] x86/alt: Support for automatic padding calculations Andrew Cooper
2018-02-28 16:16   ` Jan Beulich
2018-02-28 17:26     ` Andrew Cooper
2018-03-01  7:26       ` Jan Beulich
2018-02-26 11:35 ` [PATCH v2 6/7] x86/alt: Drop explicit padding of origin sites Andrew Cooper
2018-02-26 11:35 ` [PATCH v2 7/7] x86/build: Use new .nop directive when available Andrew Cooper
2018-02-26 12:31   ` Roger Pau Monné
2018-02-26 13:08     ` Andrew Cooper
2018-02-26 14:27       ` Roger Pau Monné
2018-02-28 16:22   ` Jan Beulich
2018-02-28 17:45     ` Andrew Cooper
2018-03-01  7:28       ` Jan Beulich
2018-03-01 10:36         ` Roger Pau Monné
2018-03-01 10:54           ` Jan Beulich
2018-03-01 16:58             ` Andrew Cooper
2018-03-02  7:10               ` Jan Beulich
2018-03-02 19:34                 ` Andrew Cooper
2018-03-05  8:33                   ` Jan Beulich

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.