RISC-V: convert new selectors of RISCV_ALTERNATIVE to dependencies
PATCH 1/1 RISC-V: convert new selectors of RISCV_ALTERNATIVE to dependencies
for-next contains two additional extensions that select RISCV_ALTERNATIVE. RISCV_ALTERNATIVE no longer needs to be selected by individual config options as it is now selected for !XIP_KERNEL builds by the top level RISCV option.
These extensions rely on the alternative framework, so convert the "select"s to "depends on"s instead.
---
Applies on top of my series doing the aforementioned conversion:
https://lore.kernel.org/all/[email protected]/
This patch is sent on its own, because I expect the others to be applied to fixes, as it fixes a v6.3 regression.
For this patch, I applied my other series to v6.3-rc1 and merged that into for-next, and created this patch on top of the result.
--- arch/riscv/Kconfig | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
arch/riscv/Kconfig +3 -3
@@ -402,8 +402,8 @@ config RISCV_ISA_C config RISCV_ISA_SVNAPOT bool "SVNAPOT extension support" depends on 64BIT && MMU + depends on RISCV_ALTERNATIVE default y - select RISCV_ALTERNATIVE help Allow kernel to detect the SVNAPOT ISA-extension dynamically at boot time and enable its usage.
@@ -478,8 +478,8 @@ config RISCV_ISA_ZICBOM config RISCV_ISA_ZICBOZ bool "Zicboz extension support for faster zeroing of memory" - depends on !XIP_KERNEL && MMU - select RISCV_ALTERNATIVE + depends on MMU + depends on RISCV_ALTERNATIVE default y help Enable the use of the ZICBOZ extension (cbo.zero instruction)
Signature · 1 line
2.39.2
Quoted 48 lines · Conor Dooley
for-next contains two additional extensions that select
RISCV_ALTERNATIVE.RISCV_ALTERNATIVEno longer needs to be selected by individual config options as it is now selected for !XIP_KERNEL builds by the top level RISCV option.
These extensions rely on the alternative framework, so convert the "select"s to "depends on"s instead.Signed-off-by Conor Dooley <[email protected]>---
Applies on top of my series doing the aforementioned conversion:
https://lore.kernel.org/all/[email protected]/This patch is sent on its own, because I expect the others to be applied to fixes, as it fixes a v6.3 regression.
For this patch, I applied my other series to v6.3-rc1 and merged that into for-next, and created this patch on top of the result.--- arch/riscv/Kconfig | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)arch/riscv/Kconfig +3
-3@@ -402,8 +402,8 @@ config RISCV_ISA_C config RISCV_ISA_SVNAPOT bool "SVNAPOT extension support" depends on 64BIT && MMU + depends on RISCV_ALTERNATIVE default y - select RISCV_ALTERNATIVE help Allow kernel to detect the SVNAPOT ISA-extension dynamically at boot time and enable its usage.@@ -478,8 +478,8 @@ config RISCV_ISA_ZICBOM config RISCV_ISA_ZICBOZ bool "Zicboz extension support for faster zeroing of memory" - depends on !XIP_KERNEL && MMU - select RISCV_ALTERNATIVE + depends on MMU + depends on RISCV_ALTERNATIVE default y help Enable the use of the ZICBOZ extension (cbo.zero instruction)Signature · 1 line
2.39.2
_______________________________________________
linux-riscv mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-riscv
Palmer Dabbelt
AppliedQuoted 8 lines · Conor Dooley
for-next contains two additional extensions that select
RISCV_ALTERNATIVE.RISCV_ALTERNATIVEno longer needs to be selected by individual config options as it is now selected for !XIP_KERNEL builds by the top level RISCV option.
These extensions rely on the alternative framework, so convert the "select"s to "depends on"s instead.[...]
Applied, thanks!
[1/1] RISC-V: convert new selectors of RISCV_ALTERNATIVE to dependencies
https://git.kernel.org/palmer/c/d34a6b715a23
Best regards,
Signature · 7 lines
Palmer Dabbelt <[email protected]> _______________________________________________ linux-riscv mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-riscv
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 Fri, 24 Mar 2023 12:12:41 +0000 you wrote:
for-next contains two additional extensions that select
RISCV_ALTERNATIVE.RISCV_ALTERNATIVEno longer needs to be selected by individual config options as it is now selected for !XIP_KERNEL builds by the top level RISCV option.
These extensions rely on the alternative framework, so convert the "select"s to "depends on"s instead.[...]
Here is the summary with links:
- [v1] RISC-V: convert new selectors of RISCV_ALTERNATIVE to dependencies
https://git.kernel.org/riscv/c/d34a6b715a23
You are awesome, thank you!
Signature · 9 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html _______________________________________________ linux-riscv mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-riscv