Skip to content

Commit 5464912

Browse files
ConchuODpalmer-dabbelt
authored andcommitted
RISC-V: align ISA extension Kconfig help text with each other
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> Reviewed-by: Andrew Jones <ajones@ventanamicro.com> Link: https://lore.kernel.org/r/20230405-pucker-cogwheel-3a999a94a2f2@wendy Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
1 parent 8bf7b3b commit 5464912

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

arch/riscv/Kconfig

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -409,39 +409,39 @@ config RISCV_ISA_C
409409
If you don't know what to do here, say Y.
410410

411411
config RISCV_ISA_SVNAPOT
412-
bool "SVNAPOT extension support"
412+
bool "Svnapot extension support for supervisor mode NAPOT pages"
413413
depends on 64BIT && MMU
414414
depends on RISCV_ALTERNATIVE
415415
default y
416416
help
417-
Allow kernel to detect the SVNAPOT ISA-extension dynamically at boot
417+
Allow kernel to detect the Svnapot ISA-extension dynamically at boot
418418
time and enable its usage.
419419

420-
The SVNAPOT extension is used to mark contiguous PTEs as a range
420+
The Svnapot extension is used to mark contiguous PTEs as a range
421421
of contiguous virtual-to-physical translations for a naturally
422422
aligned power-of-2 (NAPOT) granularity larger than the base 4KB page
423423
size. When HUGETLBFS is also selected this option unconditionally
424424
allocates some memory for each NAPOT page size supported by the kernel.
425425
When optimizing for low memory consumption and for platforms without
426-
the SVNAPOT extension, it may be better to say N here.
426+
the Svnapot extension, it may be better to say N here.
427427

428428
If you don't know what to do here, say Y.
429429

430430
config RISCV_ISA_SVPBMT
431-
bool "SVPBMT extension support"
431+
bool "Svpbmt extension support for supervisor mode page-based memory types"
432432
depends on 64BIT && MMU
433433
depends on RISCV_ALTERNATIVE
434434
default y
435435
help
436-
Adds support to dynamically detect the presence of the SVPBMT
436+
Adds support to dynamically detect the presence of the Svpbmt
437437
ISA-extension (Supervisor-mode: page-based memory types) and
438438
enable its usage.
439439

440440
The memory type for a page contains a combination of attributes
441441
that indicate the cacheability, idempotency, and ordering
442442
properties for access to that page.
443443

444-
The SVPBMT extension is only available on 64Bit cpus.
444+
The Svpbmt extension is only available on 64-bit cpus.
445445

446446
If you don't know what to do here, say Y.
447447

@@ -491,7 +491,7 @@ config RISCV_ISA_ZICBOZ
491491
depends on RISCV_ALTERNATIVE
492492
default y
493493
help
494-
Enable the use of the ZICBOZ extension (cbo.zero instruction)
494+
Enable the use of the Zicboz extension (cbo.zero instruction)
495495
when available.
496496

497497
The Zicboz extension is used for faster zeroing of memory.

0 commit comments

Comments
 (0)