All of lore.kernel.org
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Thomas Weißschuh" <thomas.weissschuh@linutronix.de>
Cc: linux-hyperv@vger.kernel.org
Subject: Re: [PATCH] clocksource: hyper-v: Drop the non-x86 compatibility code
Date: Fri, 04 Dec 2026 07:30:13 +0000	[thread overview]
Message-ID: <sashiko-outbox-249313@kernel.org> (raw)
In-Reply-To: <20261204-hyperv-clocksource-cleanup-v1-1-a4f1fd3c6bdc@linutronix.de>

Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Low] clocksource/hyper-v: commit message overstates removal of
  non-x86 code
--

commit 55a664b1fba1bbf3eea2b93ebb263aa00de4e3e6
Author: Thomas Weißschuh <thomas.weissschuh@linutronix.de>

> clocksource: hyper-v: Drop the non-x86 compatibility code
>
> The clocksource can only be built on x86.
>
> Drop the unnecessary compatibility infrastructure.
>
> Also drop the now unused driver-specific define from
> the architecture headers.
>
> Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>

[Severity: Low]
Does the commit message overstate what is being removed?

This patch only drops the HAVE_VDSO_CLOCKMODE_HVCLOCK vDSO guards in
drivers/clocksource/hyperv_timer.c and the macro in
arch/x86/include/asm/vdso/clocksource.h.  Other non-x86 compatibility code
remains in drivers/clocksource/hyperv_timer.c, including the
CONFIG_GENERIC_SCHED_CLOCK handling in hv_setup_sched_clock() and the
per-CPU IRQ helpers in hv_setup_stimer0_irq().

Narrowing the subject and description to mention vDSO or
HAVE_VDSO_CLOCKMODE_HVCLOCK would match the actual diff.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261204-hyperv-clocksource-cleanup-v1-1-a4f1fd3c6bdc@linutronix.de?part=1

      reply	other threads:[~2026-12-04  7:30 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-04  7:20 [PATCH] clocksource: hyper-v: Drop the non-x86 compatibility code Thomas Weißschuh
2026-12-04  7:30 ` sashiko-bot [this message]

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-249313@kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=linux-hyperv@vger.kernel.org \
    --cc=sashiko-reviews@lists.linux.dev \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.