u-boot/arch/mips/include/asm
Weijie Gao 2948d9cf86 mips: add support for noncached_alloc()
This patch adds support for noncached_alloc() which was only supported by
ARM platform.

Unlike the ARM platform, MMU is not used in u-boot for MIPS. Instead, KSEG
is provided to access uncached memory. So most code of this patch is copied
from cache.c of ARM platform, with only two differences:
1. MMU is untouched in noncached_set_region()
2. Address returned by noncached_alloc() is converted using KSEG1ADDR()

Reviewed-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
Signed-off-by: Weijie Gao <weijie.gao@mediatek.com>
2022-07-13 23:03:37 +02:00
..
mach-generic Use _AC and UL macros from linux/const.h 2018-11-20 13:08:15 +01:00
addrspace.h mips: sync asm/addrspace.h with Linux 5.7 2020-07-18 14:23:25 +02:00
asm-offsets.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
asm.h mips: sync asm/asm.h with Linux 5.7 2020-07-18 14:23:25 +02:00
atomic.h mips: use asm-generic/atomic.h 2018-09-25 21:49:18 -04:00
bitops.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
byteorder.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
cache.h Finish converting CONFIG_SYS_CACHELINE_SIZE to Kconfig 2021-08-31 17:47:49 -04:00
cachectl.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
cacheops.h common: Drop net.h from common header 2020-05-18 17:33:31 -04:00
cm.h mips: add more definitions for asm/cm.h 2022-07-13 23:03:37 +02:00
compiler.h mips: sync asm/mipsregs.h with Linux 5.7 2020-07-18 14:23:25 +02:00
config.h Convert CONFIG_SYS_BOOT_RAMDISK_HIGH to Kconfig 2022-07-07 14:01:09 -04:00
cpu-features.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
dma-mapping.h dma-mapping: add <asm/dma-mapping.h> for all architectures 2020-02-20 15:09:54 +08:00
global_data.h mips: global_data.h: Add Octeon specific data to arch_global_data struct 2021-04-23 21:02:12 +02:00
gpio.h MIPS: add asm/gpio.h to fix compilation error with CONFIG_CMD_GPIO. 2016-01-16 21:06:45 +01:00
io.h common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
isa-rev.h mips: sync asm/mipsregs.h with Linux 5.7 2020-07-18 14:23:25 +02:00
isadep.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
linkage.h efi: Use asmlinkage for EFIAPI 2016-10-19 09:01:53 +02:00
malta.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
mipsmtregs.h mips: add asm/mipsmtregs.h for MIPS multi-threading 2022-07-13 23:03:37 +02:00
mipsregs.h WS cleanup: remove SPACE(s) followed by TAB 2021-09-30 09:08:16 -04:00
pgtable-bits.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
posix_types.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
processor.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
ptrace.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
reboot.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
reg.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
regdef.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
relocs.h mips: reloc: Change R_MIPS_NONE to catch pre-reloc BSS usage 2020-07-18 14:23:25 +02:00
sections.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
sgidefs.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
spl.h mips: Add SPL header 2018-12-19 15:23:01 +01:00
string.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
system.h mips: add support for noncached_alloc() 2022-07-13 23:03:37 +02:00
types.h arch: types.h: factor out fixed width typedefs to int-ll64.h 2018-09-10 20:48:16 -04:00
u-boot-mips.h mips: add support to restore exception vector base before booting linux 2020-04-27 20:29:33 +02:00
u-boot.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
unaligned.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00