From: sashiko-bot@kernel.org
To: "Thomas Weißschuh" <thomas.weissschuh@linutronix.de>
Cc: linux-s390@vger.kernel.org, sparclinux@vger.kernel.org,
"Heiko Carstens" <hca@linux.ibm.com>,
"Vasily Gorbik" <gor@linux.ibm.com>,
"Alexander Gordeev" <agordeev@linux.ibm.com>,
"Christian Borntraeger" <borntraeger@linux.ibm.com>
Subject: Re: [PATCH 3/3] clocksource: Drop the inclusion of asm/clocksource.h
Date: Fri, 04 Dec 2026 07:36:32 +0000 [thread overview]
Message-ID: <sashiko-outbox-249326@kernel.org> (raw)
In-Reply-To: <20261204-vdso-asm-clocksource-v1-3-6fae836f286b@linutronix.de>
Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [High] clocksource: hyperv_timer build failure due to missing
vclocks_set_used()
--
commit 516c29910a9a9523a64fdf7b4abc3277fa3ca576
Author: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
clocksource: Drop the inclusion of asm/clocksource.h
This commit removes the inclusion of asm/clocksource.h from
include/linux/clocksource.h and deletes the unused asm/clocksource.h
headers for non-x86 architectures.
> diff --git a/include/linux/clocksource.h b/include/linux/clocksource.h
> index 283d7297aa79b..f5939229697c0 100644
> --- a/include/linux/clocksource.h
> +++ b/include/linux/clocksource.h
> @@ -25,10 +25,6 @@ struct clocksource_base;
> struct clocksource;
> struct module;
>
> -#if defined(CONFIG_GENERIC_GETTIMEOFDAY)
> -#include <asm/clocksource.h>
> -#endif
> -
> #include <vdso/clocksource.h>
>
> /**
[Severity: High]
Does dropping this include break x86 builds with CONFIG_HYPERV=y?
On x86, drivers/clocksource/hyperv_timer.c gets HAVE_VDSO_CLOCKMODE_HVCLOCK
from vdso/clocksource.h, so hv_cs_enable() compiles and calls
vclocks_set_used(). That helper is only defined in
arch/x86/include/asm/clocksource.h, which hyperv_timer.c no longer includes.
Including asm/clocksource.h in arch/x86/include/asm/hyperv_timer.h would
keep the declaration visible and avoid the build failure.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261204-vdso-asm-clocksource-v1-0-6fae836f286b@linutronix.de?part=3
next prev parent reply other threads:[~2026-12-04 7:36 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-04 7:26 [PATCH 0/3] clocksource: Drop the inclusion of asm/clocksource.h Thomas Weißschuh
2026-12-04 7:26 ` [PATCH 1/3] MIPS: vdso: Drop the include " Thomas Weißschuh
2026-12-04 7:26 ` [PATCH 2/3] x86/vdso: Drop the include of asm/vdso/clocksource.h Thomas Weißschuh
2026-12-04 7:26 ` [PATCH 3/3] clocksource: Drop the inclusion of asm/clocksource.h Thomas Weißschuh
2026-12-04 7:36 ` sashiko-bot [this message]
2026-12-04 7:36 ` [PATCH 0/3] " sashiko-bot
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=sashiko-outbox-249326@kernel.org \
--to=sashiko-bot@kernel.org \
--cc=agordeev@linux.ibm.com \
--cc=borntraeger@linux.ibm.com \
--cc=gor@linux.ibm.com \
--cc=hca@linux.ibm.com \
--cc=linux-s390@vger.kernel.org \
--cc=sashiko-reviews@lists.linux.dev \
--cc=sparclinux@vger.kernel.org \
--cc=thomas.weissschuh@linutronix.de \
/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