* [PATCH] perf/renesas: Remove remaining RISCV_ALTERNATIVE references
@ 2026-10-13 8:38 ` Geert Uytterhoeven
0 siblings, 0 replies; 3+ messages in thread
From: Geert Uytterhoeven @ 2026-10-13 8:38 UTC (permalink / raw)
To: Paul Walmsley, Palmer Dabbelt, Albert Ou, Alexandre Ghiti,
Conor Dooley, Jisheng Zhang, Will Deacon, Mark Rutland,
Magnus Damm
Cc: linux-riscv, linux-arm-kernel, linux-perf-users,
linux-renesas-soc, Geert Uytterhoeven
As riscv always selects RISCV_ALTERNATIVE, the option was removed.
However, a few references were left, making it impossible to enable
RZ/Five support (ARCH_R9A07G043).
Fix this by removing all remaining references.
Fixes: b924210f542e13c7 ("riscv: remove RISCV_ALTERNATIVE Kconfig option")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
To be applied to riscv/for-next, or folded into the original commit.
---
drivers/perf/Kconfig | 2 +-
drivers/soc/renesas/Kconfig | 1 -
2 files changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/perf/Kconfig b/drivers/perf/Kconfig
index 245e7bb763b9947a..8cef4bdef76aecab 100644
--- a/drivers/perf/Kconfig
+++ b/drivers/perf/Kconfig
@@ -117,7 +117,7 @@ config STARFIVE_STARLINK_PMU
config ANDES_CUSTOM_PMU
bool "Andes custom PMU support"
- depends on ARCH_RENESAS && RISCV_ALTERNATIVE && RISCV_PMU_SBI
+ depends on ARCH_RENESAS && RISCV_PMU_SBI
default y
help
The Andes cores implement the PMU overflow extension very
diff --git a/drivers/soc/renesas/Kconfig b/drivers/soc/renesas/Kconfig
index a63df28df3b5e7c7..0b6876ef6dca228b 100644
--- a/drivers/soc/renesas/Kconfig
+++ b/drivers/soc/renesas/Kconfig
@@ -461,7 +461,6 @@ config ARCH_R9A07G043
bool "RISC-V Platform support for R9A07G043F (RZ/Five)"
depends on NONPORTABLE
depends on !DMA_DIRECT_REMAP
- depends on RISCV_ALTERNATIVE
depends on !RISCV_ISA_ZICBOM
depends on RISCV_SBI
select ARCH_RZG2L
--
2.43.0
^ permalink raw reply related [flat|nested] 3+ messages in thread* [PATCH] perf/renesas: Remove remaining RISCV_ALTERNATIVE references
@ 2026-10-13 8:38 ` Geert Uytterhoeven
0 siblings, 0 replies; 3+ messages in thread
From: Geert Uytterhoeven @ 2026-10-13 8:38 UTC (permalink / raw)
To: Paul Walmsley, Palmer Dabbelt, Albert Ou, Alexandre Ghiti,
Conor Dooley, Jisheng Zhang, Will Deacon, Mark Rutland,
Magnus Damm
Cc: linux-riscv, linux-arm-kernel, linux-perf-users,
linux-renesas-soc, Geert Uytterhoeven
As riscv always selects RISCV_ALTERNATIVE, the option was removed.
However, a few references were left, making it impossible to enable
RZ/Five support (ARCH_R9A07G043).
Fix this by removing all remaining references.
Fixes: b924210f542e13c7 ("riscv: remove RISCV_ALTERNATIVE Kconfig option")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
To be applied to riscv/for-next, or folded into the original commit.
---
drivers/perf/Kconfig | 2 +-
drivers/soc/renesas/Kconfig | 1 -
2 files changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/perf/Kconfig b/drivers/perf/Kconfig
index 245e7bb763b9947a..8cef4bdef76aecab 100644
--- a/drivers/perf/Kconfig
+++ b/drivers/perf/Kconfig
@@ -117,7 +117,7 @@ config STARFIVE_STARLINK_PMU
config ANDES_CUSTOM_PMU
bool "Andes custom PMU support"
- depends on ARCH_RENESAS && RISCV_ALTERNATIVE && RISCV_PMU_SBI
+ depends on ARCH_RENESAS && RISCV_PMU_SBI
default y
help
The Andes cores implement the PMU overflow extension very
diff --git a/drivers/soc/renesas/Kconfig b/drivers/soc/renesas/Kconfig
index a63df28df3b5e7c7..0b6876ef6dca228b 100644
--- a/drivers/soc/renesas/Kconfig
+++ b/drivers/soc/renesas/Kconfig
@@ -461,7 +461,6 @@ config ARCH_R9A07G043
bool "RISC-V Platform support for R9A07G043F (RZ/Five)"
depends on NONPORTABLE
depends on !DMA_DIRECT_REMAP
- depends on RISCV_ALTERNATIVE
depends on !RISCV_ISA_ZICBOM
depends on RISCV_SBI
select ARCH_RZG2L
--
2.43.0
_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv
^ permalink raw reply related [flat|nested] 3+ messages in thread* Re: [PATCH] perf/renesas: Remove remaining RISCV_ALTERNATIVE references
2026-10-13 8:38 ` Geert Uytterhoeven
(?)
@ 2026-10-13 8:43 ` sashiko-bot
-1 siblings, 0 replies; 3+ messages in thread
From: sashiko-bot @ 2026-10-13 8:43 UTC (permalink / raw)
To: Geert Uytterhoeven; +Cc: linux-perf-users
> As riscv always selects RISCV_ALTERNATIVE, the option was removed.
> However, a few references were left, making it impossible to enable
> RZ/Five support (ARCH_R9A07G043).
>
> Fix this by removing all remaining references.
>
> Fixes: b924210f542e13c7 ("riscv: remove RISCV_ALTERNATIVE Kconfig option")
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Sashiko has reviewed this patch and found no issues. It looks great!
--
Sashiko AI review · https://sashiko.dev/#/patchset/fe117dd44728fe7c96f3e4b3ec88c6ca83c5da9b.1791880574.git.geert+renesas@glider.be?part=1
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-10-13 8:43 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-13 8:38 [PATCH] perf/renesas: Remove remaining RISCV_ALTERNATIVE references Geert Uytterhoeven
2026-10-13 8:38 ` Geert Uytterhoeven
2026-10-13 8:43 ` sashiko-bot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.