mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Thomas Weißschuh" <thomas.weissschuh@linutronix.de>
To: Andy Lutomirski <luto@kernel.org>,
	Thomas Gleixner <tglx@linutronix.de>,
	 Vincenzo Frascino <vincenzo.frascino@arm.com>,
	 Shuah Khan <shuah@kernel.org>, Ingo Molnar <mingo@redhat.com>,
	 Borislav Petkov <bp@alien8.de>,
	Dave Hansen <dave.hansen@linux.intel.com>,
	 x86@kernel.org, "H. Peter Anvin" <hpa@zytor.com>,
	 Russell King <linux@armlinux.org.uk>,
	 Catalin Marinas <catalin.marinas@arm.com>,
	Will Deacon <will@kernel.org>,
	 Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Cc: linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org,
	"Russell King" <rmk+kernel@armlinux.org.uk>,
	linux-arm-kernel@lists.infradead.org, linux-mips@vger.kernel.org,
	"Arnd Bergmann" <arnd@arndb.de>,
	linux-api@vger.kernel.org,
	"Thomas Weißschuh" <thomas.weissschuh@linutronix.de>
Subject: [PATCH 2/9] selftests: vDSO: vdso_config: Add configurations for clock_getres_time64()
Date: Tue, 23 Dec 2025 07:59:13 +0100	[thread overview]
Message-ID: <20251223-vdso-compat-time32-v1-2-97ea7a06a543@linutronix.de> (raw)
In-Reply-To: <20251223-vdso-compat-time32-v1-0-97ea7a06a543@linutronix.de>

Some architectures will start to implement this function.
Make sure that tests can be written for it.

Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
---
 tools/testing/selftests/vDSO/vdso_config.h | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/tools/testing/selftests/vDSO/vdso_config.h b/tools/testing/selftests/vDSO/vdso_config.h
index 50c261005111..5da223731b81 100644
--- a/tools/testing/selftests/vDSO/vdso_config.h
+++ b/tools/testing/selftests/vDSO/vdso_config.h
@@ -66,7 +66,7 @@ static const char *versions[7] = {
 };
 
 __attribute__((unused))
-static const char *names[2][7] = {
+static const char *names[2][8] = {
 	{
 		"__kernel_gettimeofday",
 		"__kernel_clock_gettime",
@@ -75,6 +75,7 @@ static const char *names[2][7] = {
 		"__kernel_getcpu",
 		"__kernel_clock_gettime64",
 		"__kernel_getrandom",
+		"__kernel_clock_getres_time64",
 	},
 	{
 		"__vdso_gettimeofday",
@@ -84,6 +85,7 @@ static const char *names[2][7] = {
 		"__vdso_getcpu",
 		"__vdso_clock_gettime64",
 		"__vdso_getrandom",
+		"__vdso_clock_getres_time64",
 	},
 };
 

-- 
2.52.0


  parent reply	other threads:[~2025-12-23  6:59 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-12-23  6:59 [PATCH 0/9] vDSO: Provide clock_getres_time64() where applicable Thomas Weißschuh
2025-12-23  6:59 ` [PATCH 1/9] vdso: Add prototype for __vdso_clock_getres_time64() Thomas Weißschuh
2026-01-13 13:47   ` [tip: timers/vdso] " tip-bot2 for Thomas Weißschuh
2025-12-23  6:59 ` Thomas Weißschuh [this message]
2026-01-13 13:47   ` [tip: timers/vdso] selftests: vDSO: vdso_config: Add configurations for clock_getres_time64() tip-bot2 for Thomas Weißschuh
2025-12-23  6:59 ` [PATCH 3/9] selftests: vDSO: vdso_test_abi: Use UAPI system call numbers Thomas Weißschuh
2026-01-13 13:47   ` [tip: timers/vdso] " tip-bot2 for Thomas Weißschuh
2025-12-23  6:59 ` [PATCH 4/9] selftests: vDSO: vdso_test_abi: Add test for clock_getres_time64() Thomas Weißschuh
2026-01-13 13:47   ` [tip: timers/vdso] " tip-bot2 for Thomas Weißschuh
2025-12-23  6:59 ` [PATCH 5/9] x86/vdso: Provide clock_getres_time64() for x86-32 Thomas Weißschuh
2026-01-13 13:47   ` [tip: timers/vdso] " tip-bot2 for Thomas Weißschuh
2025-12-23  6:59 ` [PATCH 6/9] ARM: VDSO: also patch out __vdso_clock_getres() if unavailable Thomas Weißschuh
2026-01-13 13:47   ` [tip: timers/vdso] ARM: VDSO: Patch " tip-bot2 for Thomas Weißschuh
2025-12-23  6:59 ` [PATCH 7/9] ARM: VDSO: provide clock_getres_time64() Thomas Weißschuh
2026-01-13 13:47   ` [tip: timers/vdso] ARM: VDSO: Provide clock_getres_time64() tip-bot2 for Thomas Weißschuh
2025-12-23  6:59 ` [PATCH 8/9] arm64: vdso32: " Thomas Weißschuh
2026-01-05 20:55   ` Will Deacon
2026-01-13 13:47   ` [tip: timers/vdso] " tip-bot2 for Thomas Weißschuh
2025-12-23  6:59 ` [PATCH 9/9] MIPS: vdso: Provide getres_time64() for 32-bit ABIs Thomas Weißschuh
2026-01-13 13:47   ` [tip: timers/vdso] " tip-bot2 for Thomas Weißschuh

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20251223-vdso-compat-time32-v1-2-97ea7a06a543@linutronix.de \
    --to=thomas.weissschuh@linutronix.de \
    --cc=arnd@arndb.de \
    --cc=bp@alien8.de \
    --cc=catalin.marinas@arm.com \
    --cc=dave.hansen@linux.intel.com \
    --cc=hpa@zytor.com \
    --cc=linux-api@vger.kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-kselftest@vger.kernel.org \
    --cc=linux-mips@vger.kernel.org \
    --cc=linux@armlinux.org.uk \
    --cc=luto@kernel.org \
    --cc=mingo@redhat.com \
    --cc=rmk+kernel@armlinux.org.uk \
    --cc=shuah@kernel.org \
    --cc=tglx@linutronix.de \
    --cc=tsbogend@alpha.franken.de \
    --cc=vincenzo.frascino@arm.com \
    --cc=will@kernel.org \
    --cc=x86@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®