diff options
author | Huacai Chen <chenhuacai@loongson.cn> | 2024-07-20 22:40:59 +0800 |
---|---|---|
committer | Huacai Chen <chenhuacai@loongson.cn> | 2024-07-20 22:40:59 +0800 |
commit | b7a2750ef268e2723acb785c4903b0b78c3dcbc6 (patch) | |
tree | 5c86b9d99b40f18a36f2186c8570364559c2db51 /scripts/gdb/linux/mm.py | |
parent | a0f7085f6a63f19f83f2644ce2da49a8d3cf7c0f (diff) |
LoongArch: Add ARCH_HAS_PTE_DEVMAP support
In order for things like get_user_pages() to work on ZONE_DEVICE memory,
we need a software PTE bit to identify device-backed PFNs. Hook this up
along with the relevant helpers to join in with ARCH_HAS_PTE_DEVMAP.
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Diffstat (limited to 'scripts/gdb/linux/mm.py')
0 files changed, 0 insertions, 0 deletions