Skip to content
Snippets Groups Projects
  1. Apr 19, 2023
  2. Apr 12, 2023
  3. Apr 11, 2023
  4. Mar 29, 2023
  5. Mar 28, 2023
  6. Mar 24, 2023
  7. Mar 23, 2023
  8. Mar 15, 2023
  9. Mar 10, 2023
    • Palmer Dabbelt's avatar
      Merge patch series "riscv, mm: detect svnapot cpu support at runtime" · 4a4c4598
      Palmer Dabbelt authored
      Qinglin Pan <panqinglin00@gmail.com> says:
      
      Svnapot is a RISC-V extension for marking contiguous 4K pages as a non-4K
      page. This patch set is for using Svnapot in hugetlb fs and huge vmap.
      
      This patchset adds a Kconfig item for using Svnapot in
      "Platform type"->"SVNAPOT extension support". Its default value is on,
      and people can set it off if they don't allow kernel to detect Svnapot
      hardware support and leverage it.
      
      Tested on:
        - qemu rv64 with "Svnapot support" off and svnapot=true.
        - qemu rv64 with "Svnapot support" on and svnapot=true.
        - qemu rv64 with "Svnapot support" off and svnapot=false.
        - qemu rv64 with "Svnapot support" on and svnapot=false.
      
      * b4-shazam-merge:
        riscv: mm: support Svnapot in huge vmap
        riscv: mm: support Svnapot in hugetlb page
        riscv: mm: modify pte format for Svnapot
      
      Link: https://lore.kernel.org/r/20230209131647.17245-1-panqinglin00@gmail.com
      
      
      [Palmer: fix up the feature ordering in the merge]
      Signed-off-by: default avatarPalmer Dabbelt <palmer@rivosinc.com>
      Unverified
      4a4c4598
Loading