Skip to contentSkip to conversation

x86/vdso for v6.3-rc1

GIT PULL Merged Borislav Petkov 2 participants 2 messages Feb 20, 2023 – Feb 21, 2023

lore
Share & tools
lore
#0 lore raw

Hi Linus,

please pull a bunch of x86 vdso improvements for 6.3.

Thx.

---

The following changes since commit 2241ab53cbb5cdb08a6b2d4688feb13971058f65:

Linux 6.2-rc5 (2023-01-21 16:27:01 -0800)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git tags/x86_vdso_for_v6.3_rc1

for you to fetch changes up to dac0da428f8dfb23666ab4ea54a7768c152b857a:

x86/vdso: Fix -Wmissing-prototypes warnings (2023-02-07 18:23:17 +0100)

----------------------------------------------------------------
- Add getcpu support for the 32-bit version of the vDSO

- Some smaller fixes

----------------------------------------------------------------
Borislav Petkov (AMD) (1):
x86/vdso: Fix -Wmissing-prototypes warnings

Brian Gerst (1):
x86/vdso: Move VDSO image init to vdso2c generated code

Sebastian Andrzej Siewior (4):
x86/cpu: Provide the full setup for getcpu() on x86-32 x86/vdso: Provide getcpu for x86-32.
selftests: Emit a warning if getcpu() is missing on 32bit x86/vdso: Fake 32bit VDSO build on 64bit compile for vgetcpu

 arch/x86/entry/vdso/Makefile                  |  3 ++-
 arch/x86/entry/vdso/vdso2c.h                  |  6 ++++++
 arch/x86/entry/vdso/vdso32-setup.c            |  9 ---------
 arch/x86/entry/vdso/vdso32/fake_32bit_build.h | 25 +++++++++++++++++++++++++
 arch/x86/entry/vdso/vdso32/vclock_gettime.c   | 27 +--------------------------
 arch/x86/entry/vdso/vdso32/vdso32.lds.S       |  1 +
 arch/x86/entry/vdso/vdso32/vgetcpu.c          |  3 +++
 arch/x86/entry/vdso/vgetcpu.c                 |  3 +--
 arch/x86/entry/vdso/vma.c                     | 19 ++++---------------
 arch/x86/include/asm/processor.h              |  1 -
 arch/x86/include/asm/segment.h                |  8 ++++----
 arch/x86/include/asm/vdso.h                   |  2 +-
 arch/x86/include/asm/vdso/gettimeofday.h      |  2 ++
 arch/x86/include/asm/vdso/processor.h         |  4 ++++
 arch/x86/kernel/cpu/common.c                  |  5 +----
 tools/testing/selftests/x86/test_vsyscall.c   |  7 ++-----
 16 files changed, 57 insertions(+), 68 deletions(-)
 create mode 100644 arch/x86/entry/vdso/vdso32/fake_32bit_build.h
 create mode 100644 arch/x86/entry/vdso/vdso32/vgetcpu.c
Signature · 4 lines
Regards/Gruss,
    Boris.

https://people.kernel.org/tglx/notes-about-netiquette
merge bot Merged
#1 lore raw
The pull request you sent on Mon, 20 Feb 2023 19:26:32 +0100:

The pull request you sent on Mon, 20 Feb 2023 19:26:32 +0100:

Quoted 1 line

git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git tags/x86_vdso_for_v6.3_rc1

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/3f0b0903fde584a7398f82fc00bf4f8138610b87

Thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html