mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "tip-bot2 for GUO Ren (XuanTie)" <tip-bot2@linutronix.de>
To: linux-tip-commits@vger.kernel.org
Cc: "GUO Ren (XuanTie)" <guoren@kernel.org>,
	Thomas Gleixner <tglx@kernel.org>,
	Anup Patel <anup@brainfault.org>,
	x86@kernel.org, linux-kernel@vger.kernel.org
Subject: [tip: irq/drivers] clocksource: clint: Use IPI_MAX for IPI muxing
Date: Fri, 04 Sep 2026 13:40:14 -0000	[thread overview]
Message-ID: <178852921435.3717435.8260807940254973237.tip-bot2@tip-bot2> (raw)
In-Reply-To: <20260816070049.2097442-4-guoren@kernel.org>

The following commit has been merged into the irq/drivers branch of tip:

Commit-ID:     f6326e26f60259f62ed2b172f7254d673e869cc1
Gitweb:        https://git.kernel.org/tip/f6326e26f60259f62ed2b172f7254d673e869cc1
Author:        GUO Ren (XuanTie) <guoren@kernel.org>
AuthorDate:    Sun, 16 Aug 2026 07:00:47 
Committer:     Thomas Gleixner <tglx@kernel.org>
CommitterDate: Fri, 04 Sep 2026 15:34:34 +02:00

clocksource: clint: Use IPI_MAX for IPI muxing

Replace the hard-coded BITS_PER_BYTE with IPI_MAX now that the
constant is exported from riscv asm/smp.h.

Signed-off-by: GUO Ren (XuanTie) <guoren@kernel.org>
Signed-off-by: Thomas Gleixner <tglx@kernel.org>
Reviewed-by: Anup Patel <anup@brainfault.org>
Link: https://patch.msgid.link/20260816070049.2097442-4-guoren@kernel.org
---
 drivers/clocksource/timer-clint.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/clocksource/timer-clint.c b/drivers/clocksource/timer-clint.c
index 0bdd9d7..e56eee7 100644
--- a/drivers/clocksource/timer-clint.c
+++ b/drivers/clocksource/timer-clint.c
@@ -243,7 +243,7 @@ static int __init clint_timer_init_dt(struct device_node *np)
 	}
 
 #ifdef CONFIG_SMP
-	rc = ipi_mux_create(BITS_PER_BYTE, clint_send_ipi);
+	rc = ipi_mux_create(IPI_MAX, clint_send_ipi);
 	if (rc <= 0) {
 		pr_err("unable to create muxed IPIs\n");
 		rc = (rc < 0) ? rc : -ENODEV;
@@ -251,7 +251,7 @@ static int __init clint_timer_init_dt(struct device_node *np)
 	}
 
 	irq_set_chained_handler(clint_ipi_irq, clint_ipi_interrupt);
-	riscv_ipi_set_virq_range(rc, BITS_PER_BYTE);
+	riscv_ipi_set_virq_range(rc, IPI_MAX);
 	clint_clear_ipi();
 #endif
 

  parent reply	other threads:[~2026-09-04 13:40 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-16  7:00 [PATCH 0/5] riscv: Make IPI_MAX visible and use it consistently Guo Ren
2026-08-16  7:00 ` [PATCH 1/5] riscv: smp: Move enum ipi_message_type to asm/smp.h Guo Ren
2026-08-17 14:22   ` Radu Rendec
2026-08-17 14:35   ` Anup Patel
2026-09-04 13:40   ` [tip: irq/drivers] " tip-bot2 for GUO Ren (XuanTie)
2026-09-08 22:23   ` [PATCH 1/5] " Nathan Chancellor
2026-09-11  1:17     ` Guo Ren
2026-09-21  6:45       ` Uwe Kleine-König
2026-09-28  8:42         ` Guo Ren
2026-08-16  7:00 ` [PATCH 2/5] riscv: sbi: Use IPI_MAX for SBI IPI muxing Guo Ren
2026-08-17 14:35   ` Anup Patel
2026-09-04 13:40   ` [tip: irq/drivers] " tip-bot2 for GUO Ren (XuanTie)
2026-08-16  7:00 ` [PATCH 3/5] clocksource: clint: Use IPI_MAX for " Guo Ren
2026-08-17 14:36   ` Anup Patel
2026-09-04 13:40   ` tip-bot2 for GUO Ren (XuanTie) [this message]
2026-08-16  7:00 ` [PATCH 4/5] irqchip/aclint-sswi: " Guo Ren
2026-08-16 15:22   ` Radu Rendec
2026-08-17 14:36   ` Anup Patel
2026-09-04 13:40   ` [tip: irq/drivers] " tip-bot2 for GUO Ren (XuanTie)
2026-08-16  7:00 ` [PATCH 5/5] irqchip/imsic: Use IPI_MAX instead of IMSIC_NR_IPI Guo Ren
2026-08-16 15:28   ` Radu Rendec
2026-08-17 13:05     ` Guo Ren
2026-08-17 14:25       ` Radu Rendec
2026-08-17 14:36   ` Anup Patel
2026-09-04 13:40   ` [tip: irq/drivers] " tip-bot2 for GUO Ren (XuanTie)

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=178852921435.3717435.8260807940254973237.tip-bot2@tip-bot2 \
    --to=tip-bot2@linutronix.de \
    --cc=anup@brainfault.org \
    --cc=guoren@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-tip-commits@vger.kernel.org \
    --cc=tglx@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®