From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1D8F33AE1A5 for ; Mon, 13 Apr 2026 08:53:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776070438; cv=none; b=pvdzqGuD21al2a5NkPmn63ZuLLT0fh2OPkv/L1wxRrFSIj8dwfk58TJ4/GqhbYgm/7Ur0q1pGqWTBoIddTsidF3AdXSMnDPiCXASXie1OwFjBmMZFmUns9Rg64DDtmBzHoWJQ5C3fgM0K9ULwGgwMa3iG48cd1ckeNwQt3EVqXU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776070438; c=relaxed/simple; bh=P2jv5I+RETiflwS6hMGbSiQoAu2KQfjeJkAtD0i+IVY=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition; b=a2iIwkA2uLkxGvNPhKePo4lVc3Qhc4+o/MhVZF1YV+mm+c93TMeEBGJKNgTHHHXczbT67m2fHh5lSkFdbXUY0pJFAbcfKJn/PJzg1Wy9CkWzUL+ZvZiC7F9SIHPgIO8LrDKDqH0AW+BMA7/Fl0cdUbwgBc0UKUkTzDi+EIRziHE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Ov4KW4z+; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Ov4KW4z+" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6783AC2BCAF; Mon, 13 Apr 2026 08:53:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1776070437; bh=P2jv5I+RETiflwS6hMGbSiQoAu2KQfjeJkAtD0i+IVY=; h=Date:From:To:Cc:Subject:From; b=Ov4KW4z+7UZgNSjDi/2FDPiBcG+SWTImhccWpJpf4ZNNUWiGb7c7COdL9fHsIELYL PJ3HkzJt3jSFPxC1o/YguPIpbvazWfDvHNxa7QGgqxOOrx/g78AYOG991fB8MNnyja +isAmB5Ci7Ps73vTfb7V8urfEOWrFGmDLNg7VOTmtNHzN06ZBtbpiDvyEOvATc90+r inzs4WKBaDQEbvL5zaT/BpArxWDd24z43lkw3+zPLZQcGa/ReOeGsm8AU8vgBsgGqW EiFYJamtgNepmPpQ8DVwXv775mlGn+K5eIH/t6QmI5TNf1n0EXTZijlGHi9ZxA/1U4 6kEGKLh6Lw/Ng== Date: Mon, 13 Apr 2026 10:53:53 +0200 From: Ingo Molnar To: Linus Torvalds Cc: linux-kernel@vger.kernel.org, the arch/x86 maintainers , Peter Zijlstra , Andrew Morton Subject: [GIT PULL] x86/asm changes for v7.1 Message-ID: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Linus, Please pull the latest x86/asm Git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-asm-2026-04-13 for you to fetch changes up to 3b19e22cffe61bcdf10ee5e7584cfa3c1c54dc92: x86/asm updates for v7.1, by Uros Bizjak: - Remove unnecessary "memory" clobbers from FS/GS base (read-) accessors - Remove unnecessary "memory" clobber from savesegment() - Use ASM_INPUT_RM in __loadsegment_fs() - Implement loadsegment()/savesegment() macros with static inline helpers - Use savesegment() for segment register reads in ELF core dump - Use savesegment() in __show_regs() instead of inline asm - Use correct type for 'gs' variable in __show_regs() to avoid zero-extension - Clean up 'sel' variable usage in do_set_thread_area() Thanks, Ingo ------------------> Uros Bizjak (8): x86/asm/fsgsbase: Remove unnecessary "memory" clobbers from FS/GS base (read-) accessors x86/asm/segment: Remove unnecessary "memory" clobber from savesegment() x86/asm/segment: Use ASM_INPUT_RM in __loadsegment_fs() x86/asm/segment: Implement loadsegment()/savesegment() macros with static inline helpers x86/elf: Use savesegment() for segment register reads in ELF core dump x86/process/64: Use savesegment() in __show_regs() instead of inline asm x86/process/32: Use correct type for 'gs' variable in __show_regs() to avoid zero-extension x86/tls: Clean up 'sel' variable usage in do_set_thread_area() arch/x86/include/asm/elf.h | 9 +++---- arch/x86/include/asm/fsgsbase.h | 4 +-- arch/x86/include/asm/segment.h | 59 +++++++++++++++++++++++++---------------- arch/x86/kernel/process_32.c | 2 +- arch/x86/kernel/process_64.c | 8 +++--- arch/x86/kernel/tls.c | 4 ++- 6 files changed, 50 insertions(+), 36 deletions(-)