diff options
| author | Alexandre Ghiti <[email protected]> | 2023-04-28 12:01:20 +0000 |
|---|---|---|
| committer | Palmer Dabbelt <[email protected]> | 2023-06-02 01:15:37 +0000 |
| commit | 6966d7988c4fb6af3e395868e9800c07f9e98a30 (patch) | |
| tree | 2293c2710a82671789b062a21b366eb30f687837 /lib/string_helpers.c | |
| parent | riscv: Fix huge_ptep_set_wrprotect when PTE is a NAPOT (diff) | |
| download | kernel-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
