linux/arch
Huacai Chen 8e02c3b782 LoongArch: Add writecombine support for DMW-based ioremap()
Currently, only TLB-based ioremap() support writecombine, so add the
counterpart for DMW-based ioremap() with help of DMW2. The base address
(WRITECOMBINE_BASE) is configured as 0xa000000000000000.

DMW3 is unused by kernel now, however firmware may leave garbage in them
and interfere kernel's address mapping. So clear it as necessary.

BTW, centralize the DMW configuration to macro SETUP_DMWINS.

Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
2024-07-20 22:40:59 +08:00
..
alpha mseal: wire up mseal syscall 2024-05-23 19:40:26 -07:00
arc arc: convert to generic syscall table 2024-07-10 14:23:38 +02:00
arm Merge tag 'asm-generic-6.11' into loongarch-next 2024-07-17 17:07:11 +08:00
arm64 Merge tag 'asm-generic-6.11' into loongarch-next 2024-07-17 17:07:11 +08:00
csky csky: convert to generic syscall table 2024-07-10 14:23:38 +02:00
hexagon hexagon: use new system call table 2024-07-10 14:23:38 +02:00
loongarch LoongArch: Add writecombine support for DMW-based ioremap() 2024-07-20 22:40:59 +08:00
m68k clone3: drop __ARCH_WANT_SYS_CLONE3 macro 2024-07-10 14:23:38 +02:00
microblaze syscalls: mmap(): use unsigned offset type consistently 2024-06-25 15:57:38 +02:00
mips clone3: drop __ARCH_WANT_SYS_CLONE3 macro 2024-07-10 14:23:38 +02:00
nios2 nios2: convert to generic syscall table 2024-07-10 14:23:38 +02:00
openrisc openrisc: convert to generic syscall table 2024-07-10 14:23:38 +02:00
parisc clone3: drop __ARCH_WANT_SYS_CLONE3 macro 2024-07-10 14:23:38 +02:00
powerpc Merge tag 'asm-generic-6.11' into loongarch-next 2024-07-17 17:07:11 +08:00
riscv Merge tag 'asm-generic-6.11' into loongarch-next 2024-07-17 17:07:11 +08:00
s390 Merge tag 'asm-generic-6.11' into loongarch-next 2024-07-17 17:07:11 +08:00
sh clone3: drop __ARCH_WANT_SYS_CLONE3 macro 2024-07-10 14:23:38 +02:00
sparc clone3: drop __ARCH_WANT_SYS_CLONE3 macro 2024-07-10 14:23:38 +02:00
um um: don't generate asm/bpf_perf_event.h 2024-07-10 14:23:30 +02:00
x86 Merge tag 'asm-generic-6.11' into loongarch-next 2024-07-17 17:07:11 +08:00
xtensa Merge tag 'asm-generic-6.11' into loongarch-next 2024-07-17 17:07:11 +08:00
.gitignore
Kconfig Revert "mm: mmap: allow for the maximum number of bits for randomizing mmap_base by default" 2024-06-17 12:57:03 -07:00