Commit 46cad6cd authored by Palmer Dabbelt's avatar Palmer Dabbelt

irqchip: riscv-imsic: Fixup riscv_ipi_set_virq_range() conflict

There was a semantic conflict between 21a8f8a0 ("irqchip: Add RISC-V
incoming MSI controller early driver") and dc892fb4 ("riscv: Use
IPIs for remote cache/TLB flushes by default") due to an API change.
This manifests as a build failure post-merge.
Reported-by: default avatarTomasz Jeznach <tjeznach@rivosinc.com>
Link: https://lore.kernel.org/all/mhng-10b71228-cf3e-42ca-9abf-5464b15093f1@palmer-ri-x1c9/
Fixes: 0bfbc914 ("Merge tag 'riscv-for-linus-6.10-mw1' of git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux")
Reviewed-by: default avatarAnup Patel <anup@brainfault.org>
Link: https://lore.kernel.org/r/20240522184953.28531-3-palmer@rivosinc.comSigned-off-by: default avatarPalmer Dabbelt <palmer@rivosinc.com>
parent c6c901b7
...@@ -49,7 +49,7 @@ static int __init imsic_ipi_domain_init(void) ...@@ -49,7 +49,7 @@ static int __init imsic_ipi_domain_init(void)
return virq < 0 ? virq : -ENOMEM; return virq < 0 ? virq : -ENOMEM;
/* Set vIRQ range */ /* 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 */ /* Announce that IMSIC is providing IPIs */
pr_info("%pfwP: providing IPIs using interrupt %d\n", imsic->fwnode, IMSIC_IPI_ID); pr_info("%pfwP: providing IPIs using interrupt %d\n", imsic->fwnode, IMSIC_IPI_ID);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment