Skip to contentSkip to conversation

irqchip: riscv-imsic: Fixup riscv_ipi_set_virq_range() conflict

PATCH Applied Palmer Dabbelt 4 participants 4 messages May 22, 2024 – May 23, 2024

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 irqchip: riscv-imsic: Fixup riscv_ipi_set_virq_range() conflict

From: Palmer Dabbelt <[email protected]>

There was a semantic conflict between 21a8f8a0eb35 ("irqchip: Add RISC-V incoming MSI controller early driver") and dc892fb44322 ("riscv: Use IPIs for remote cache/TLB flushes by default") due to an API change. This manifests as a build failure post-merge.

Fixes 0bfbc914d943 ("Merge tag 'riscv-for-linus-6.10-mw1' of git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux")

---
Sorry I wasn't clear about this one, but looks like it got dropped as part of the merge. I'm happy to pick this up via the RISC-V tree if folks want, but I'll keep it stashed off to the side for now as it's just touching irqchip. I'm planning on sending some more stuff on Friday morning, so just LMK.

---
 drivers/irqchip/irq-riscv-imsic-early.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/irqchip/irq-riscv-imsic-early.c +1 -1
index 886418ec06cb..4fbb37074d29 100644
@@ -49,7 +49,7 @@ static int __init imsic_ipi_domain_init(void)
 		return virq < 0 ? virq : -ENOMEM;
 
 	/* Set vIRQ range */
-	riscv_ipi_set_virq_range(virq, IMSIC_NR_IPI, true);
+	riscv_ipi_set_virq_range(virq, IMSIC_NR_IPI);
 
 	/* Announce that IMSIC is providing IPIs */
 	pr_info("%pfwP: providing IPIs using interrupt %d\n", imsic->fwnode, IMSIC_IPI_ID);
Signature · 1 line
2.45.0
maintainer Reviewed-by on v1 1/1
#1 lore raw
Quoted 8 lines · Palmer Dabbelt

From: Palmer Dabbelt <[email protected]>

There was a semantic conflict between 21a8f8a0eb35 ("irqchip: Add RISC-V incoming MSI controller early driver") and dc892fb44322 ("riscv: Use IPIs for remote cache/TLB flushes by default") due to an API change. This manifests as a build failure post-merge.

Quoted 4 lines
Fixes 0bfbc914d943 ("Merge tag 'riscv-for-linus-6.10-mw1' of git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux")

LGTM.

Regards,
Anup

Quoted 26 lines

---
Sorry I wasn't clear about this one, but looks like it got dropped as part of the merge. I'm happy to pick this up via the RISC-V tree if folks want, but I'll keep it stashed off to the side for now as it's just touching irqchip. I'm planning on sending some more stuff on Friday morning, so just LMK.

---
 drivers/irqchip/irq-riscv-imsic-early.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/irqchip/irq-riscv-imsic-early.c +1 -2
index 886418ec06cb..4fbb37074d29 100644
@@ -49,7 +49,7 @@ static int __init imsic_ipi_domain_init(void)
                return virq < 0 ? virq : -ENOMEM;
 
        /* Set vIRQ range */
-       riscv_ipi_set_virq_range(virq, IMSIC_NR_IPI, true);
+       riscv_ipi_set_virq_range(virq, IMSIC_NR_IPI);
 
        /* Announce that IMSIC is providing IPIs */
        pr_info("%pfwP: providing IPIs using interrupt %d\n", imsic->fwnode, IMSIC_IPI_ID);
--

2.45.0

#2 lore raw
In reply to Palmer Dabbelt
This patch was applied to riscv/linux.git (for-next) by Palmer Dabbelt <[email protected]>:

Hello:

This patch was applied to riscv/linux.git (for-next) by Palmer Dabbelt <[email protected]>:

Quoted 8 lines · On Wed, 22 May 2024 11:49:55 -0700 you wrote:

From: Palmer Dabbelt <[email protected]>

There was a semantic conflict between 21a8f8a0eb35 ("irqchip: Add RISC-V incoming MSI controller early driver") and dc892fb44322 ("riscv: Use IPIs for remote cache/TLB flushes by default") due to an API change. This manifests as a build failure post-merge.

[...]

Here is the summary with links:
- irqchip: riscv-imsic: Fixup riscv_ipi_set_virq_range() conflict

    https://git.kernel.org/riscv/c/46cad6cd9b10

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
merge bot Applied
#3 lore raw

[tip: irq/urgent] irqchip/riscv-imsic: Fixup riscv_ipi_set_virq_range() conflict

In reply to Palmer Dabbelt
The following commit has been merged into the irq/urgent branch of tip:

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

Commit-ID:     88d68bbd07328aea6f6488b6803839970880492a
Gitweb:        https://git.kernel.org/tip/88d68bbd07328aea6f6488b6803839970880492a
Author:        Palmer Dabbelt <[email protected]>
AuthorDate:    Wed, 22 May 2024 11:49:55 -07:00
Committer:     Thomas Gleixner <[email protected]>
CommitterDate: Thu, 23 May 2024 19:57:12 +02:00

irqchip/riscv-imsic: Fixup riscv_ipi_set_virq_range() conflict

There was a semantic conflict between 21a8f8a0eb35 ("irqchip: Add RISC-V incoming MSI controller early driver") and dc892fb44322 ("riscv: Use IPIs for remote cache/TLB flushes by default") due to an API change. This manifests as a build failure post-merge.

Fixes 0bfbc914d943 ("Merge tag 'riscv-for-linus-6.10-mw1' of git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux")
---
 drivers/irqchip/irq-riscv-imsic-early.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/irqchip/irq-riscv-imsic-early.c +1 -1
index 886418e..4fbb370 100644
@@ -49,7 +49,7 @@ static int __init imsic_ipi_domain_init(void)
 		return virq < 0 ? virq : -ENOMEM;
 
 	/* Set vIRQ range */
-	riscv_ipi_set_virq_range(virq, IMSIC_NR_IPI, true);
+	riscv_ipi_set_virq_range(virq, IMSIC_NR_IPI);
 
 	/* Announce that IMSIC is providing IPIs */
 	pr_info("%pfwP: providing IPIs using interrupt %d\n", imsic->fwnode, IMSIC_IPI_ID);