bool "Emit compressed instructions when building Linux"
        default y
        help
-          Adds "C" to the ISA subsets that the toolchain is allowed to emit
-          when building Linux, which results in compressed instructions in the
-          Linux binary.
+         Adds "C" to the ISA subsets that the toolchain is allowed to emit
+         when building Linux, which results in compressed instructions in the
+         Linux binary.
  
-          If you don't know what to do here, say Y.
+         If you don't know what to do here, say Y.
  
 +config RISCV_ISA_SVPBMT
 +      bool "SVPBMT extension support"
 +      depends on 64BIT && MMU
 +      select RISCV_ALTERNATIVE
 +      default y
 +      help
 +         Adds support to dynamically detect the presence of the SVPBMT
 +         ISA-extension (Supervisor-mode: page-based memory types) and
 +         enable its usage.
 +
 +         The memory type for a page contains a combination of attributes
 +         that indicate the cacheability, idempotency, and ordering
 +         properties for access to that page.
 +
 +         The SVPBMT extension is only available on 64Bit cpus.
 +
 +         If you don't know what to do here, say Y.
 +
  config FPU
        bool "FPU support"
        default y
  
          For more details see Documentation/admin-guide/kdump/kdump.rst
  
- endmenu
 +config COMPAT
 +      bool "Kernel support for 32-bit U-mode"
 +      default 64BIT
 +      depends on 64BIT && MMU
 +      help
 +        This option enables support for a 32-bit U-mode running under a 64-bit
 +        kernel at S-mode. riscv32-specific components such as system calls,
 +        the user helper functions (vdso), signal rt_frame functions and the
 +        ptrace interface are handled appropriately by the kernel.
 +
 +        If you want to execute 32-bit userspace applications, say Y.
 +
+ endmenu # "Kernel features"
  
  menu "Boot options"
  
 
  
          If you don't know what to do here, say "Y".
  
- endmenu
 +config ERRATA_THEAD
 +      bool "T-HEAD errata"
 +      depends on !XIP_KERNEL
 +      select RISCV_ALTERNATIVE
 +      help
 +        All T-HEAD errata Kconfig depend on this Kconfig. Disabling
 +        this Kconfig will disable all T-HEAD errata. Please say "Y"
 +        here if your platform uses T-HEAD CPU cores.
 +
 +        Otherwise, please say "N" here to avoid unnecessary overhead.
 +
 +config ERRATA_THEAD_PBMT
 +      bool "Apply T-Head memory type errata"
 +      depends on ERRATA_THEAD && 64BIT
 +      select RISCV_ALTERNATIVE_EARLY
 +      default y
 +      help
 +        This will apply the memory type errata to handle the non-standard
 +        memory type bits in page-table-entries on T-Head SoCs.
 +
 +        If you don't know what to do here, say "Y".
 +
+ endmenu # "CPU errata selection"