From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PULL_REQUEST,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 302E8C433DF for ; Mon, 12 Oct 2020 11:06:05 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id C84D92072D for ; Mon, 12 Oct 2020 11:06:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387815AbgJLLGD (ORCPT ); Mon, 12 Oct 2020 07:06:03 -0400 Received: from mx2.suse.de ([195.135.220.15]:38958 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387594AbgJLLGC (ORCPT ); Mon, 12 Oct 2020 07:06:02 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id B279DAC24; Mon, 12 Oct 2020 11:06:01 +0000 (UTC) Date: Mon, 12 Oct 2020 13:05:57 +0200 From: Borislav Petkov To: Linus Torvalds Cc: x86-ml , lkml Subject: [GIT PULL] x86/asm updates for v5.10 Message-ID: <20201012110557.GK25311@zn.tnic> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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