aboutsummaryrefslogtreecommitdiffstats
path: root/lib/string_helpers.c
diff options
context:
space:
mode:
authorAlexandre Ghiti <[email protected]>2023-04-28 12:01:20 +0000
committerPalmer Dabbelt <[email protected]>2023-06-02 01:15:37 +0000
commit6966d7988c4fb6af3e395868e9800c07f9e98a30 (patch)
tree2293c2710a82671789b062a21b366eb30f687837 /lib/string_helpers.c
parentriscv: Fix huge_ptep_set_wrprotect when PTE is a NAPOT (diff)
downloadkernel-6966d7988c4fb6af3e395868e9800c07f9e98a30.tar.gz
kernel-6966d7988c4fb6af3e395868e9800c07f9e98a30.zip
riscv: Implement missing huge_ptep_get
huge_ptep_get must be reimplemented in order to go through all the PTEs of a NAPOT region: this is needed because the HW can update the A/D bits of any of the PTE that constitutes the NAPOT region. Fixes: 82a1a1f3bfb6 ("riscv: mm: support Svnapot in hugetlb page") Signed-off-by: Alexandre Ghiti <[email protected]> Reviewed-by: Andrew Jones <[email protected]> Link: https://lore.kernel.org/r/[email protected] Cc: [email protected] Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions