Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1523736 > unrolled thread

[PATCH 0/2] x86/vdso: RDPID support and a test

Started byAndy Lutomirski <luto@kernel.org>
First post2016-11-16 19:30 +0100
Last post2016-11-16 19:30 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel


Contents

  [PATCH 0/2] x86/vdso: RDPID support and a test Andy Lutomirski <luto@kernel.org> - 2016-11-16 19:30 +0100

#1523736 — [PATCH 0/2] x86/vdso: RDPID support and a test

FromAndy Lutomirski <luto@kernel.org>
Date2016-11-16 19:30 +0100
Subject[PATCH 0/2] x86/vdso: RDPID support and a test
Message-ID<sEd85-6vq-7@gated-at.bofh.it>
RDPID is a new instruction in unspecified future Intel processors
(sigh) that returns MSR_TSC_AUX.  This will finally let the vDSO
stop using LSL.

Patch 1 is the meat and patch 2 is the test.  Megha has kindly
tested them for me, since I don't own an unspecified Intel processor :)

Andy Lutomirski (2):
  x86/vdso: Use RDPID in preference to LSL when available
  selftests/x86: Add test_vdso to test getcpu

 arch/x86/include/asm/cpufeatures.h      |   1 +
 arch/x86/include/asm/vgtod.h            |   7 +-
 tools/testing/selftests/x86/Makefile    |   2 +-
 tools/testing/selftests/x86/test_vdso.c | 123 ++++++++++++++++++++++++++++++++
 4 files changed, 131 insertions(+), 2 deletions(-)
 create mode 100644 tools/testing/selftests/x86/test_vdso.c

-- 
2.7.4

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web