From nobody Mon Jun 15 18:05:59 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 EE4E135028D; Sun, 12 Apr 2026 20:39:17 +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=1776026359; cv=none; b=g2OBhC6oFodvSxLdbwgPRWvxKOYiJUtqMaDZMlomszY/sA/+bzeprJsZ2KOQvCaMRhQNfHT5FJ5P2lpTbzyO/VIfXNNfduU3y2uhDR5Ch1lXQx9fTTy9t8UdpfpyDg8QYPqs/cdnbcYxJMhkUSmlYFYYHiWX6braqjiYs90Bz7Y= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776026359; c=relaxed/simple; bh=n1yrpafuls/CSjdylz/o4iL8k0wu+c3+eTb8hpS0K+I=; h=Date:From:To:Subject:Cc:In-Reply-To:References:MIME-Version: Message-ID:Content-Type; b=rKRUv74CJU2a/yg5c7pqzPVLk9xfBVaz6B56HBtmxbhGyIP61YBSs8+1QRuRuAlQndpXEc5XvBOVXAJBUvSsBr3OIj30qk39ikVUWq1MthuFKklRO0Kva2PJrUMTIvGfkXH9qJflgGN6Jm+uk5Y3uc3xjTKVWwIml9l/1VjoGVM= 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=vV/XQVZx; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=bpTrsL9Z; 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="vV/XQVZx"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="bpTrsL9Z" Date: Sun, 12 Apr 2026 20:39:09 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1776026350; 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=xH9NzSHHNaZ1kOqc6WSuIjT2oy7R5odH44LIlL+GFLU=; b=vV/XQVZxkB8OYl95BM+fP9Kyje/Xg/ooDY1e0ll0UlZC541CKbmzOc2EKL/vYiUbJBV+TD RNJ1B8rjqv7AmPdYoCJ0HhdLGQ+kvlFKh2+8tp6MlhDi6kiWxjJImStIT865pFJXfI4qv8 j737gGQmG6vg+Lx2zqjxlzWXhJOZsR9/Vx0zexuYlQnpz35P0Jk7ccXpxj3wmvOBvuuuIA FJSI9+2yonF2I9Pf+0WCMvW+AhJyyGJq995/8pWoaoP/W5XwDLmtjel7WKxqFWlLwnKreJ WHgm6NghuVq7BonnjBmJntKSVlrwHenufjwAyaFCcac7kQPQqyh+Voivfi3GGA== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1776026350; 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=xH9NzSHHNaZ1kOqc6WSuIjT2oy7R5odH44LIlL+GFLU=; b=bpTrsL9Z9fWpwjK9Q6PuUKQDr7af7VoAdZrWih+1HZ2Z/Uh5f82RvEHdla5kSIzCiI/MbI 6/1gijeldB0glNCA== From: "tip-bot2 for Daniel Lezcano" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: timers/clocksource] clocksource/drivers/mmio: Make the code compatible with modules Cc: Daniel Lezcano , John Stultz , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20260327180600.8150-3-daniel.lezcano@kernel.org> References: <20260327180600.8150-3-daniel.lezcano@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <177602634945.1323100.1524819208482903939.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/clocksource branch of = tip: Commit-ID: 2423405880c2cd5473c8c4e937e8253b7444f532 Gitweb: https://git.kernel.org/tip/2423405880c2cd5473c8c4e937e8253b7= 444f532 Author: Daniel Lezcano AuthorDate: Fri, 27 Mar 2026 19:05:54 +01:00 Committer: Daniel Lezcano CommitterDate: Fri, 03 Apr 2026 10:52:05 +02:00 clocksource/drivers/mmio: Make the code compatible with modules The next changes will bring the module support on the timer drivers. Those use the API exported by the mmio clocksource which are not exporting their symbols. Fix that by adding EXPORT_SYMBOL_GPL(). Signed-off-by: Daniel Lezcano Acked-by: John Stultz Link: https://patch.msgid.link/20260327180600.8150-3-daniel.lezcano@kernel.= org --- drivers/clocksource/mmio.c | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/drivers/clocksource/mmio.c b/drivers/clocksource/mmio.c index cd5fbf4..0fee8ed 100644 --- a/drivers/clocksource/mmio.c +++ b/drivers/clocksource/mmio.c @@ -21,21 +21,25 @@ u64 clocksource_mmio_readl_up(struct clocksource *c) { return (u64)readl_relaxed(to_mmio_clksrc(c)->reg); } +EXPORT_SYMBOL_GPL(clocksource_mmio_readl_up); =20 u64 clocksource_mmio_readl_down(struct clocksource *c) { return ~(u64)readl_relaxed(to_mmio_clksrc(c)->reg) & c->mask; } +EXPORT_SYMBOL_GPL(clocksource_mmio_readl_down); =20 u64 clocksource_mmio_readw_up(struct clocksource *c) { return (u64)readw_relaxed(to_mmio_clksrc(c)->reg); } +EXPORT_SYMBOL_GPL(clocksource_mmio_readw_up); =20 u64 clocksource_mmio_readw_down(struct clocksource *c) { return ~(u64)readw_relaxed(to_mmio_clksrc(c)->reg) & c->mask; } +EXPORT_SYMBOL_GPL(clocksource_mmio_readw_down); =20 /** * clocksource_mmio_init - Initialize a simple mmio based clocksource @@ -46,9 +50,9 @@ u64 clocksource_mmio_readw_down(struct clocksource *c) * @bits: Number of valid bits * @read: One of clocksource_mmio_read*() above */ -int __init clocksource_mmio_init(void __iomem *base, const char *name, - unsigned long hz, int rating, unsigned bits, - u64 (*read)(struct clocksource *)) +int clocksource_mmio_init(void __iomem *base, const char *name, + unsigned long hz, int rating, unsigned bits, + u64 (*read)(struct clocksource *)) { struct clocksource_mmio *cs; =20 @@ -68,3 +72,4 @@ int __init clocksource_mmio_init(void __iomem *base, cons= t char *name, =20 return clocksource_register_hz(&cs->clksrc, hz); } +EXPORT_SYMBOL_GPL(clocksource_mmio_init);