From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.11]) (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 C7BFAC8F0 for ; Mon, 9 Feb 2026 21:09:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.11 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770671370; cv=none; b=fxMNJ3aOlnA/kIk4yC12kvXUNcTkxmTCBs3wtnitXfY3FMgnjKceUxak97sXpywJ7lr4JQfrYYY54BQC9bFb3YM9DZTzvrGBhh5k2IXa52rzjUeg7Zp9NFvpyQpmzHyfS9MNs3e48OLtyGX79I6I7zLjVhV+42IlUkIFIYfzTKk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770671370; c=relaxed/simple; bh=7TnYy5lh5uMxjOk8w15Bpda6pj0f++5IxtnIPOFwx70=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=ko+igPkaLV68raNAR6T190/aaGQ/MwhLmI+lAlnc0R6vbrjlLqwpDZV5cg6kcL4x45qeT1E0GLif6QTqWbTi8pf5923h19ZanW0qbuEGlHI3ddcQesNAWRFLov6JWfnupK7GMLEaVVRNRD08Izx1t36mnTiVNmLaIi5/rBo2EP0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com; spf=pass smtp.mailfrom=linux.intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=iPNTjduC; arc=none smtp.client-ip=198.175.65.11 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="iPNTjduC" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1770671369; x=1802207369; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=7TnYy5lh5uMxjOk8w15Bpda6pj0f++5IxtnIPOFwx70=; b=iPNTjduC1MRgYLBiRc/jNesD6Pk82dtNdwV064RLvaZihKoC//wwBVJQ D9e1soB9VzP+wQsJB/LEi8TabWSyWnKIBj958B74KgZeic0Pk+N9sUM0a TvOV5V1IQ8d5loIZJHH/8Hph3OkjzoLrzHCbG+JW5dQNEzHBuNwhfAoEW n1BioU3k7jSJ7H1F4PdFpVVB2WAXqsujNlZvIDXh6gLdwrhxiJAKYWtfH luY4fXAKjoBxIKoWwtVyCjb3RUbNL9VwLPlBekwiImW2UqUuDzFH2lPaJ mhk7x3OHlUPdK8qQX48OkLaIc4R7F5jDINPeTnOjlK0+/C8PlI8Rqs3rE A==; X-CSE-ConnectionGUID: yh55H+bmSJKbJkQdQVG71w== X-CSE-MsgGUID: 62z8sTFcSlCqbylV9PtJfg== X-IronPort-AV: E=McAfee;i="6800,10657,11696"; a="82113952" X-IronPort-AV: E=Sophos;i="6.21,282,1763452800"; d="scan'208";a="82113952" Received: from orviesa005.jf.intel.com ([10.64.159.145]) by orvoesa103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Feb 2026 13:09:28 -0800 X-CSE-ConnectionGUID: gL/8p3GaT1+PdS4luaLPpw== X-CSE-MsgGUID: d1Nnfre6TlqnkmMOKbVwag== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.21,282,1763452800"; d="scan'208";a="216680569" Received: from smtp.ostc.intel.com ([10.54.29.231]) by orviesa005-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Feb 2026 13:09:28 -0800 Received: from ray2.sr71.net (unknown [10.125.108.24]) by smtp.ostc.intel.com (Postfix) with ESMTP id C987C6372; Mon, 9 Feb 2026 13:09:27 -0800 (PST) From: Dave Hansen To: torvalds@linux-foundation.org Cc: x86@kernel.org, linux-kernel@vger.kernel.org, Dave Hansen Subject: [GIT PULL] x86/entry for 7.0-rc1 Date: Mon, 9 Feb 2026 13:09:24 -0800 Message-Id: <20260209210924.2330728-1-dave.hansen@linux.intel.com> X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Hi Linus, Please pull some x86/entry changes for 7.0-rc1. This is entirely composed of a set of long overdue VDSO cleanups. They makes the VDSO build much more logical and zap quite a bit of old cruft. It also results in a coveted net-code-removal diffstat. There have been a few bumps along the way with this series, thus the bug fixes on top. But nothing too scary. -- The following changes since commit 0f61b1860cc3f52aef9036d7235ed1f017632193: Linux 6.19-rc5 (2026-01-11 17:03:14 -1000) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git tags/x86_entry_for_7.0-rc1 for you to fetch changes up to ce9b1c10c3f1c723c3cc7b63aa8331fdb6c57a04: x86/entry/vdso: Add vdso2c to .gitignore (2026-01-27 23:27:51 +0100) ---------------------------------------------------------------- * VDSO rework and cleanups ---------------------------------------------------------------- Borislav Petkov (AMD) (1): x86/entry/vdso: Add vdso2c to .gitignore H. Peter Anvin (13): x86/entry/vdso: Rename vdso_image_* to vdso*_image x86/entry/vdso: Move vdso2c to arch/x86/tools x86/entry/vdso: Refactor the vdso build x86/entry/vdso32: Don't rely on int80_landing_pad for adjusting ip x86/entry/vdso32: Remove SYSCALL_ENTER_KERNEL macro in sigreturn.S x86/entry/vdso32: Remove open-coded DWARF in sigreturn.S x86/entry/vdso: Include GNU_PROPERTY and GNU_STACK PHDRs x86/vdso: Abstract out vdso system call internals x86/cpufeature: Replace X86_FEATURE_SYSENTER32 with X86_FEATURE_SYSFAST32 x86/entry/vdso32: When using int $0x80, use it directly x86/entry/vdso: Update the object paths for "make vdso_install" x86/entry/vdso: Fix filtering of vdso compiler flags x86/entry/vdso/selftest: Update location of vgetrandom-chacha.S Lukas Bulwahn (1): MAINTAINERS: Adjust vdso file entry in INTEL SGX Nathan Chancellor (1): x86/entry/vdso32: Omit '.cfi_offset eflags' for LLVM < 16 MAINTAINERS | 2 +- arch/x86/Kconfig.cpufeatures | 8 + arch/x86/Makefile | 8 +- arch/x86/entry/syscall_32.c | 2 +- arch/x86/entry/vdso/.gitignore | 11 +- arch/x86/entry/vdso/Makefile | 162 +-------------------- arch/x86/entry/vdso/common/Makefile.include | 89 +++++++++++ arch/x86/entry/vdso/{vdso-note.S => common/note.S} | 5 +- arch/x86/entry/vdso/{ => common}/vclock_gettime.c | 0 arch/x86/entry/vdso/{ => common}/vdso-layout.lds.S | 38 +++-- arch/x86/entry/vdso/{ => common}/vgetcpu.c | 0 arch/x86/entry/vdso/vdso32/Makefile | 24 +++ arch/x86/entry/vdso/vdso32/note.S | 19 +-- arch/x86/entry/vdso/vdso32/sigreturn.S | 160 ++++++-------------- arch/x86/entry/vdso/vdso32/system_call.S | 22 ++- arch/x86/entry/vdso/vdso32/vclock_gettime.c | 5 +- arch/x86/entry/vdso/vdso32/vdso32.lds.S | 2 +- arch/x86/entry/vdso/vdso32/vgetcpu.c | 4 +- arch/x86/entry/vdso/vdso64/Makefile | 46 ++++++ arch/x86/entry/vdso/vdso64/note.S | 1 + arch/x86/entry/vdso/vdso64/vclock_gettime.c | 1 + .../entry/vdso/{vdso.lds.S => vdso64/vdso64.lds.S} | 2 +- arch/x86/entry/vdso/{ => vdso64}/vdsox32.lds.S | 2 +- arch/x86/entry/vdso/vdso64/vgetcpu.c | 1 + .../entry/vdso/{ => vdso64}/vgetrandom-chacha.S | 0 arch/x86/entry/vdso/{ => vdso64}/vgetrandom.c | 2 +- arch/x86/entry/vdso/{ => vdso64}/vsgx.S | 0 arch/x86/entry/vdso/vma.c | 24 ++- arch/x86/include/asm/cpufeatures.h | 2 +- arch/x86/include/asm/dwarf2.h | 1 + arch/x86/include/asm/elf.h | 2 +- arch/x86/include/asm/vdso.h | 6 +- arch/x86/include/asm/vdso/gettimeofday.h | 108 +------------- arch/x86/include/asm/vdso/sys_call.h | 105 +++++++++++++ arch/x86/kernel/asm-offsets.c | 6 + arch/x86/kernel/cpu/centaur.c | 3 - arch/x86/kernel/cpu/common.c | 8 + arch/x86/kernel/cpu/intel.c | 4 +- arch/x86/kernel/cpu/zhaoxin.c | 4 +- arch/x86/kernel/fred.c | 2 +- arch/x86/kernel/process_64.c | 6 +- arch/x86/kernel/signal_32.c | 4 +- arch/x86/tools/.gitignore | 1 + arch/x86/tools/Makefile | 15 +- arch/x86/{entry/vdso => tools}/vdso2c.c | 0 arch/x86/{entry/vdso => tools}/vdso2c.h | 0 arch/x86/xen/setup.c | 28 ++-- arch/x86/xen/smp_pv.c | 5 +- arch/x86/xen/xen-ops.h | 1 - tools/testing/selftests/vDSO/vgetrandom-chacha.S | 2 +- 50 files changed, 459 insertions(+), 494 deletions(-) create mode 100644 arch/x86/entry/vdso/common/Makefile.include rename arch/x86/entry/vdso/{vdso-note.S => common/note.S} (62%) rename arch/x86/entry/vdso/{ => common}/vclock_gettime.c (100%) rename arch/x86/entry/vdso/{ => common}/vdso-layout.lds.S (77%) rename arch/x86/entry/vdso/{ => common}/vgetcpu.c (100%) create mode 100644 arch/x86/entry/vdso/vdso32/Makefile create mode 100644 arch/x86/entry/vdso/vdso64/Makefile create mode 100644 arch/x86/entry/vdso/vdso64/note.S create mode 100644 arch/x86/entry/vdso/vdso64/vclock_gettime.c rename arch/x86/entry/vdso/{vdso.lds.S => vdso64/vdso64.lds.S} (94%) rename arch/x86/entry/vdso/{ => vdso64}/vdsox32.lds.S (92%) create mode 100644 arch/x86/entry/vdso/vdso64/vgetcpu.c rename arch/x86/entry/vdso/{ => vdso64}/vgetrandom-chacha.S (100%) rename arch/x86/entry/vdso/{ => vdso64}/vgetrandom.c (91%) rename arch/x86/entry/vdso/{ => vdso64}/vsgx.S (100%) create mode 100644 arch/x86/include/asm/vdso/sys_call.h rename arch/x86/{entry/vdso => tools}/vdso2c.c (100%) rename arch/x86/{entry/vdso => tools}/vdso2c.h (100%)