* [PATCH v2] RISC-V: align ISA extension Kconfig help text with each other
@ 2023-04-05 10:21 Conor Dooley
2023-04-05 11:46 ` Heiko Stübner
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: Conor Dooley @ 2023-04-05 10:21 UTC (permalink / raw)
To: palmer; +Cc: conor, conor.dooley, linux-riscv
Other extensions only capitalise the first letter in the text visible
in Kconfig menus, and provide a short comment about the extension's
meaning. Do the same for Svnapot & Svpbmt.
The precedent for capitalisation in the Kconfig text was set by Zicbom
& sorta followed for Zicboz. The RVI styling used for multi-letter
extensions only capitalises the first letter, so do the same here.
If nothing else, my OCD likes it when the extensions follow a consistent
pattern.
While editing one of the lines, reformat the "spelling" of 64-bit.
Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
---
Changes in v2:
- do the same for Svnapot too
- s/ZICBOZ/Zicboz
---
arch/riscv/Kconfig | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig
index cc02eb9eee1f..92e8b4d908b6 100644
--- a/arch/riscv/Kconfig
+++ b/arch/riscv/Kconfig
@@ -400,31 +400,31 @@ config RISCV_ISA_C
If you don't know what to do here, say Y.
config RISCV_ISA_SVNAPOT
- bool "SVNAPOT extension support"
+ bool "Svnapot extension support for supervisor mode NAPOT pages"
depends on 64BIT && MMU
depends on RISCV_ALTERNATIVE
default y
help
- Allow kernel to detect the SVNAPOT ISA-extension dynamically at boot
+ Allow kernel to detect the Svnapot ISA-extension dynamically at boot
time and enable its usage.
- The SVNAPOT extension is used to mark contiguous PTEs as a range
+ The Svnapot extension is used to mark contiguous PTEs as a range
of contiguous virtual-to-physical translations for a naturally
aligned power-of-2 (NAPOT) granularity larger than the base 4KB page
size. When HUGETLBFS is also selected this option unconditionally
allocates some memory for each NAPOT page size supported by the kernel.
When optimizing for low memory consumption and for platforms without
- the SVNAPOT extension, it may be better to say N here.
+ the Svnapot extension, it may be better to say N here.
If you don't know what to do here, say Y.
config RISCV_ISA_SVPBMT
- bool "SVPBMT extension support"
+ bool "Svpbmt extension support for supervisor mode page-based memory types"
depends on 64BIT && MMU
depends on RISCV_ALTERNATIVE
default y
help
- Adds support to dynamically detect the presence of the SVPBMT
+ Adds support to dynamically detect the presence of the Svpbmt
ISA-extension (Supervisor-mode: page-based memory types) and
enable its usage.
@@ -432,7 +432,7 @@ config RISCV_ISA_SVPBMT
that indicate the cacheability, idempotency, and ordering
properties for access to that page.
- The SVPBMT extension is only available on 64Bit cpus.
+ The Svpbmt extension is only available on 64-bit cpus.
If you don't know what to do here, say Y.
@@ -482,7 +482,7 @@ config RISCV_ISA_ZICBOZ
depends on RISCV_ALTERNATIVE
default y
help
- Enable the use of the ZICBOZ extension (cbo.zero instruction)
+ Enable the use of the Zicboz extension (cbo.zero instruction)
when available.
The Zicboz extension is used for faster zeroing of memory.
--
2.39.2
_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv
^ permalink raw reply related [flat|nested] 5+ messages in thread* Re: [PATCH v2] RISC-V: align ISA extension Kconfig help text with each other
2023-04-05 10:21 [PATCH v2] RISC-V: align ISA extension Kconfig help text with each other Conor Dooley
@ 2023-04-05 11:46 ` Heiko Stübner
2023-04-05 12:56 ` Andrew Jones
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: Heiko Stübner @ 2023-04-05 11:46 UTC (permalink / raw)
To: palmer, linux-riscv; +Cc: conor, conor.dooley, linux-riscv, Conor Dooley
Am Mittwoch, 5. April 2023, 12:21:10 CEST schrieb Conor Dooley:
> Other extensions only capitalise the first letter in the text visible
> in Kconfig menus, and provide a short comment about the extension's
> meaning. Do the same for Svnapot & Svpbmt.
>
> The precedent for capitalisation in the Kconfig text was set by Zicbom
> & sorta followed for Zicboz. The RVI styling used for multi-letter
> extensions only capitalises the first letter, so do the same here.
> If nothing else, my OCD likes it when the extensions follow a consistent
> pattern.
>
> While editing one of the lines, reformat the "spelling" of 64-bit.
>
> Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
I do believe it makes a lot of sense to follow the official spelling
(first letter upper case). This will make it also easier for later additions
to also not create own casing-forms :-) .
Reviewed-by: Heiko Stuebner <heiko.stuebner@vrull.eu>
> ---
> Changes in v2:
> - do the same for Svnapot too
> - s/ZICBOZ/Zicboz
> ---
> arch/riscv/Kconfig | 16 ++++++++--------
> 1 file changed, 8 insertions(+), 8 deletions(-)
>
> diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig
> index cc02eb9eee1f..92e8b4d908b6 100644
> --- a/arch/riscv/Kconfig
> +++ b/arch/riscv/Kconfig
> @@ -400,31 +400,31 @@ config RISCV_ISA_C
> If you don't know what to do here, say Y.
>
> config RISCV_ISA_SVNAPOT
> - bool "SVNAPOT extension support"
> + bool "Svnapot extension support for supervisor mode NAPOT pages"
> depends on 64BIT && MMU
> depends on RISCV_ALTERNATIVE
> default y
> help
> - Allow kernel to detect the SVNAPOT ISA-extension dynamically at boot
> + Allow kernel to detect the Svnapot ISA-extension dynamically at boot
> time and enable its usage.
>
> - The SVNAPOT extension is used to mark contiguous PTEs as a range
> + The Svnapot extension is used to mark contiguous PTEs as a range
> of contiguous virtual-to-physical translations for a naturally
> aligned power-of-2 (NAPOT) granularity larger than the base 4KB page
> size. When HUGETLBFS is also selected this option unconditionally
> allocates some memory for each NAPOT page size supported by the kernel.
> When optimizing for low memory consumption and for platforms without
> - the SVNAPOT extension, it may be better to say N here.
> + the Svnapot extension, it may be better to say N here.
>
> If you don't know what to do here, say Y.
>
> config RISCV_ISA_SVPBMT
> - bool "SVPBMT extension support"
> + bool "Svpbmt extension support for supervisor mode page-based memory types"
> depends on 64BIT && MMU
> depends on RISCV_ALTERNATIVE
> default y
> help
> - Adds support to dynamically detect the presence of the SVPBMT
> + Adds support to dynamically detect the presence of the Svpbmt
> ISA-extension (Supervisor-mode: page-based memory types) and
> enable its usage.
>
> @@ -432,7 +432,7 @@ config RISCV_ISA_SVPBMT
> that indicate the cacheability, idempotency, and ordering
> properties for access to that page.
>
> - The SVPBMT extension is only available on 64Bit cpus.
> + The Svpbmt extension is only available on 64-bit cpus.
>
> If you don't know what to do here, say Y.
>
> @@ -482,7 +482,7 @@ config RISCV_ISA_ZICBOZ
> depends on RISCV_ALTERNATIVE
> default y
> help
> - Enable the use of the ZICBOZ extension (cbo.zero instruction)
> + Enable the use of the Zicboz extension (cbo.zero instruction)
> when available.
>
> The Zicboz extension is used for faster zeroing of memory.
>
_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: [PATCH v2] RISC-V: align ISA extension Kconfig help text with each other
2023-04-05 10:21 [PATCH v2] RISC-V: align ISA extension Kconfig help text with each other Conor Dooley
2023-04-05 11:46 ` Heiko Stübner
@ 2023-04-05 12:56 ` Andrew Jones
2023-04-19 14:22 ` Palmer Dabbelt
2023-04-19 14:30 ` patchwork-bot+linux-riscv
3 siblings, 0 replies; 5+ messages in thread
From: Andrew Jones @ 2023-04-05 12:56 UTC (permalink / raw)
To: Conor Dooley; +Cc: palmer, conor, linux-riscv
On Wed, Apr 05, 2023 at 11:21:10AM +0100, Conor Dooley wrote:
> Other extensions only capitalise the first letter in the text visible
> in Kconfig menus, and provide a short comment about the extension's
> meaning. Do the same for Svnapot & Svpbmt.
>
> The precedent for capitalisation in the Kconfig text was set by Zicbom
> & sorta followed for Zicboz. The RVI styling used for multi-letter
> extensions only capitalises the first letter, so do the same here.
> If nothing else, my OCD likes it when the extensions follow a consistent
> pattern.
>
> While editing one of the lines, reformat the "spelling" of 64-bit.
>
> Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
> ---
> Changes in v2:
> - do the same for Svnapot too
> - s/ZICBOZ/Zicboz
> ---
> arch/riscv/Kconfig | 16 ++++++++--------
> 1 file changed, 8 insertions(+), 8 deletions(-)
>
Reviewed-by: Andrew Jones <ajones@ventanamicro.com>
_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH v2] RISC-V: align ISA extension Kconfig help text with each other
2023-04-05 10:21 [PATCH v2] RISC-V: align ISA extension Kconfig help text with each other Conor Dooley
2023-04-05 11:46 ` Heiko Stübner
2023-04-05 12:56 ` Andrew Jones
@ 2023-04-19 14:22 ` Palmer Dabbelt
2023-04-19 14:30 ` patchwork-bot+linux-riscv
3 siblings, 0 replies; 5+ messages in thread
From: Palmer Dabbelt @ 2023-04-19 14:22 UTC (permalink / raw)
To: Palmer Dabbelt, Conor Dooley; +Cc: Conor Dooley, linux-riscv
On Wed, 05 Apr 2023 11:21:10 +0100, Conor Dooley wrote:
> Other extensions only capitalise the first letter in the text visible
> in Kconfig menus, and provide a short comment about the extension's
> meaning. Do the same for Svnapot & Svpbmt.
>
> The precedent for capitalisation in the Kconfig text was set by Zicbom
> & sorta followed for Zicboz. The RVI styling used for multi-letter
> extensions only capitalises the first letter, so do the same here.
> If nothing else, my OCD likes it when the extensions follow a consistent
> pattern.
>
> [...]
Applied, thanks!
[1/1] RISC-V: align ISA extension Kconfig help text with each other
https://git.kernel.org/palmer/c/5464912cfae7
Best regards,
--
Palmer Dabbelt <palmer@rivosinc.com>
_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: [PATCH v2] RISC-V: align ISA extension Kconfig help text with each other
2023-04-05 10:21 [PATCH v2] RISC-V: align ISA extension Kconfig help text with each other Conor Dooley
` (2 preceding siblings ...)
2023-04-19 14:22 ` Palmer Dabbelt
@ 2023-04-19 14:30 ` patchwork-bot+linux-riscv
3 siblings, 0 replies; 5+ messages in thread
From: patchwork-bot+linux-riscv @ 2023-04-19 14:30 UTC (permalink / raw)
To: Conor Dooley; +Cc: linux-riscv, palmer, conor
Hello:
This patch was applied to riscv/linux.git (for-next)
by Palmer Dabbelt <palmer@rivosinc.com>:
On Wed, 5 Apr 2023 11:21:10 +0100 you wrote:
> Other extensions only capitalise the first letter in the text visible
> in Kconfig menus, and provide a short comment about the extension's
> meaning. Do the same for Svnapot & Svpbmt.
>
> The precedent for capitalisation in the Kconfig text was set by Zicbom
> & sorta followed for Zicboz. The RVI styling used for multi-letter
> extensions only capitalises the first letter, so do the same here.
> If nothing else, my OCD likes it when the extensions follow a consistent
> pattern.
>
> [...]
Here is the summary with links:
- [v2] RISC-V: align ISA extension Kconfig help text with each other
https://git.kernel.org/riscv/c/5464912cfae7
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2023-04-19 14:30 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-05 10:21 [PATCH v2] RISC-V: align ISA extension Kconfig help text with each other Conor Dooley
2023-04-05 11:46 ` Heiko Stübner
2023-04-05 12:56 ` Andrew Jones
2023-04-19 14:22 ` Palmer Dabbelt
2023-04-19 14:30 ` patchwork-bot+linux-riscv
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.