]> git.baikalelectronics.ru Git - kernel.git/commit
LoongArch: Add memory management
authorHuacai Chen <chenhuacai@loongson.cn>
Tue, 31 May 2022 10:04:11 +0000 (18:04 +0800)
committerHuacai Chen <chenhuacai@loongson.cn>
Fri, 3 Jun 2022 12:09:28 +0000 (20:09 +0800)
commit09cfefb7fa70c3af011b0db0a513fd80b2f18abc
treefc1a269ecba1f88cabb2e79ee92251612ed6605a
parent803b0fc5c3f2baa6e54978cd576407896f789b08
LoongArch: Add memory management

Add memory management support for LoongArch, including: cache and tlb
management, page fault handling and ioremap/mmap support.

Reviewed-by: WANG Xuerui <git@xen0n.name>
Reviewed-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
26 files changed:
arch/loongarch/include/asm/cache.h [new file with mode: 0644]
arch/loongarch/include/asm/cacheflush.h [new file with mode: 0644]
arch/loongarch/include/asm/cacheops.h [new file with mode: 0644]
arch/loongarch/include/asm/fixmap.h [new file with mode: 0644]
arch/loongarch/include/asm/hugetlb.h [new file with mode: 0644]
arch/loongarch/include/asm/page.h [new file with mode: 0644]
arch/loongarch/include/asm/pgalloc.h [new file with mode: 0644]
arch/loongarch/include/asm/pgtable-bits.h [new file with mode: 0644]
arch/loongarch/include/asm/pgtable.h [new file with mode: 0644]
arch/loongarch/include/asm/shmparam.h [new file with mode: 0644]
arch/loongarch/include/asm/sparsemem.h [new file with mode: 0644]
arch/loongarch/include/asm/tlb.h [new file with mode: 0644]
arch/loongarch/include/asm/tlbflush.h [new file with mode: 0644]
arch/loongarch/include/asm/vmalloc.h [new file with mode: 0644]
arch/loongarch/mm/cache.c [new file with mode: 0644]
arch/loongarch/mm/extable.c [new file with mode: 0644]
arch/loongarch/mm/fault.c [new file with mode: 0644]
arch/loongarch/mm/hugetlbpage.c [new file with mode: 0644]
arch/loongarch/mm/init.c [new file with mode: 0644]
arch/loongarch/mm/ioremap.c [new file with mode: 0644]
arch/loongarch/mm/maccess.c [new file with mode: 0644]
arch/loongarch/mm/mmap.c [new file with mode: 0644]
arch/loongarch/mm/page.S [new file with mode: 0644]
arch/loongarch/mm/pgtable.c [new file with mode: 0644]
arch/loongarch/mm/tlb.c [new file with mode: 0644]
arch/loongarch/mm/tlbex.S [new file with mode: 0644]