[GIT PULL] x86/asm updates for v5.10

From: Borislav Petkov
Date: Mon Oct 12 2020 - 07:06:04 EST


Hi Linus,

please pull two asm wrapper fixes.

Thx.

---

The following changes since commit f75aef392f869018f78cfedf3c320a6b3fcfda6b:

Linux 5.9-rc3 (2020-08-30 16:01:54 -0700)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git tags/x86_asm_for_v5.10

for you to fetch changes up to aa5cacdc29d76a005cbbee018a47faa6e724dd2d:

x86/asm: Replace __force_order with a memory clobber (2020-10-01 10:31:48 +0200)

----------------------------------------------------------------
* Use XORL instead of XORQ to avoid a REX prefix and save some bytes in
the .fixup section, by Uros Bizjak.

* Replace __force_order dummy variable with a memory clobber to fix LLVM
requiring a definition for former and to prevent memory accesses from
still being cached/reordered, by Arvind Sankar.

----------------------------------------------------------------
Arvind Sankar (1):
x86/asm: Replace __force_order with a memory clobber

Uros Bizjak (1):
x86/uaccess: Use XORL %0,%0 in __get_user_asm()

arch/x86/boot/compressed/pgtable_64.c | 9 ---------
arch/x86/include/asm/special_insns.h | 28 +++++++++++++++-------------
arch/x86/include/asm/uaccess.h | 2 +-
arch/x86/kernel/cpu/common.c | 4 ++--
4 files changed, 18 insertions(+), 25 deletions(-)

--
Regards/Gruss,
Boris.

SUSE Software Solutions Germany GmbH, GF: Felix Imendörffer, HRB 36809, AG Nürnberg