aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorEnze Li <[email protected]>2023-09-06 14:53:55 +0000
committerHuacai Chen <[email protected]>2023-09-06 14:53:55 +0000
commit8b5cb1cbf33292372933e727805e68b506852234 (patch)
tree7fd867e455d430dc775292c7b912284e1d21d457 /tools/perf/scripts/python
parentkfence: Defer the assignment of the local variable addr (diff)
downloadkernel-8b5cb1cbf33292372933e727805e68b506852234.tar.gz
kernel-8b5cb1cbf33292372933e727805e68b506852234.zip
LoongArch: mm: Add page table mapped mode support for virt_to_page()
According to LoongArch documentations, there are two types of address translation modes: direct mapped address translation mode (DMW mode) and page table mapped address translation mode (TLB mode). Currently, virt_to_page() only supports direct mapped mode. This patch determines which mode is used, and adds corresponding handling functions for both modes. For more details on the two modes, see [1]. [1] https://loongson.github.io/LoongArch-Documentation/LoongArch-Vol1-EN.html#virtual-address-space-and-address-translation-mode Signed-off-by: Enze Li <[email protected]> Signed-off-by: Huacai Chen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions