From nobody Mon Jun 8 08:30:33 2026 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 89ADD48A2BF; Thu, 4 Jun 2026 16:24:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=193.142.43.55 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780590295; cv=none; b=VU2XTjNpVjuRdaVXzN9rBG0EdNM9gGhxACswg7ZTuCf6Fe/Xo6zGpad5SuJ6v1m2Ode7uwhM4w6Ck1Yovazh+Xl7bUMn5KvJiLBPLyAR6XM8qK6rrMMs3aecIqFgoklfj19oatyI72neyMGz6MtQ7ICp9xYv5XVilebw1rL69KI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780590295; c=relaxed/simple; bh=Y+Wcl2/Irsw7YSRG6OMzt0tUL3yq1VxNdvWyv6eyacU=; h=Date:From:To:Subject:Cc:In-Reply-To:References:MIME-Version: Message-ID:Content-Type; b=GIRULkLWcOzmSx2h7OD0/YrTNcjwgev7cEyZwzSFASUGQElSRq3fFAlIKd16hskIqiT4eU/W/+M/Vqz1xAGsptYSbdTTw/q8i6hcjon+TeEkydxZMR+MhYZjIiLRBrTcu60oRZskkYrKs29hHIf+ssBYYVAGXDTu3z7B+0zmeYs= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de; spf=pass smtp.mailfrom=linutronix.de; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=2JTNTsgo; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=aqa8eAih; arc=none smtp.client-ip=193.142.43.55 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linutronix.de Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="2JTNTsgo"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="aqa8eAih" Date: Thu, 04 Jun 2026 16:24:51 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1780590293; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=BZ4D6qtNpMFTs3pdJ5aQy+22AwsoRT9P5judhvCa+Ag=; b=2JTNTsgoF5lPeds+jecsH9j/Q28IapActw/P1ipoPWPitQILiSnf7ImPhhou7DW5cOBInK vqRq3v9JXj5Vc1el6VcWdJOaoiy2ocncDXWL+opJ3kLOGVv2AQ82gnGxJKE6A625IKPUpN iRUhwHYvNTNEJHSbHRebvNouoSpo5JgJUbPnpUF/bqG74AdkSOyUKy3L9K5h9ZvW08qytN oeGbFRv2oy+m2C4Gv8FMZGEHsadSIm9xVPggCWeP4WY/laVIWH+tjKySEOF+kTp44Kb1f/ 9JnVakgtt4vU7QC60fcKwr9ALhlCD/y9nnn0r/vf+SOm8+OGIgKC6JSlR/9zXw== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1780590293; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=BZ4D6qtNpMFTs3pdJ5aQy+22AwsoRT9P5judhvCa+Ag=; b=aqa8eAihzmrBbxFCVczP8aS++rGdPFSdHY6dWG5Z5YbJEXc1kNJevAtj8PA6/6W2G0TJQ+ VqhR30C19HwzhfDQ== From: tip-bot2 for Thomas =?utf-8?q?Wei=C3=9Fschuh?= Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: timers/vdso] clocksource/drivers/mips-gic-timer: Only use VDSO_CLOCKMODE_GIC when it is a available Cc: thomas.weissschuh@linutronix.de, Thomas Gleixner , Thomas Bogendoerfer , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20260521-vdso-mips-kconfig-v1-6-2f79dcd6c78f@linutronix.de> References: <20260521-vdso-mips-kconfig-v1-6-2f79dcd6c78f@linutronix.de> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <178059029177.710.7444978176819097992.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Precedence: bulk Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable The following commit has been merged into the timers/vdso branch of tip: Commit-ID: a7d9141d5ddf08fa3cd50a079be4bd93a8aa42fe Gitweb: https://git.kernel.org/tip/a7d9141d5ddf08fa3cd50a079be4bd93a= 8aa42fe Author: Thomas Wei=C3=9Fschuh AuthorDate: Thu, 21 May 2026 08:53:20 +02:00 Committer: Thomas Gleixner CommitterDate: Thu, 04 Jun 2026 18:22:46 +02:00 clocksource/drivers/mips-gic-timer: Only use VDSO_CLOCKMODE_GIC when it is = a available VDSO_CLOCKMODE_GIC is only defined if CONFIG_GENERIC_GETTIMEOFDAY is enabled. Right now this is always the case, but it will change soon. Prepare for the potential unavailability of VDSO_CLOCKMODE_GIC. Signed-off-by: Thomas Wei=C3=9Fschuh Signed-off-by: Thomas Gleixner Cc: Thomas Bogendoerfer Link: https://patch.msgid.link/20260521-vdso-mips-kconfig-v1-6-2f79dcd6c78f= @linutronix.de --- drivers/clocksource/mips-gic-timer.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/clocksource/mips-gic-timer.c b/drivers/clocksource/mip= s-gic-timer.c index 1501c7d..a166926 100644 --- a/drivers/clocksource/mips-gic-timer.c +++ b/drivers/clocksource/mips-gic-timer.c @@ -198,7 +198,9 @@ static struct clocksource gic_clocksource =3D { .name =3D "GIC", .read =3D gic_hpt_read, .flags =3D CLOCK_SOURCE_IS_CONTINUOUS, +#ifdef CONFIG_GENERIC_GETTIMEOFDAY .vdso_clock_mode =3D VDSO_CLOCKMODE_GIC, +#endif }; =20 static void gic_clocksource_unstable(char *reason)