forked from Minki/linux
f490682a6b
The width of HT-bus is only 40-bit, but Loongson-3 has 48-bit physical address. This implies only node-0's memory is DMAable because high bits (Node ID) will lost. Fortunately, by configuring address windows in firmware, we can extract 2bit Node ID (bit 44~47, only bit 44~45 used now) from Loongson-3's 48-bit address space and embed it into 40-bit (bit 37~38). Every NUMA node can do DMA now (however, maximum memory of each node is reduced to 2^37 = 128GB). Signed-off-by: Huacai Chen <chenhc@lemote.com> Cc: John Crispin <john@phrozen.org> Cc: Steven J. Hill <Steven.Hill@imgtec.com> Cc: linux-mips@linux-mips.org Cc: Fuxin Zhang <zhangfx@lemote.com> Cc: Zhangjin Wu <wuzhangjin@gmail.com> Patchwork: https://patchwork.linux-mips.org/patch/8321/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org> |
||
---|---|---|
.. | ||
cs5536 | ||
bonito-irq.c | ||
cmdline.c | ||
dma-swiotlb.c | ||
early_printk.c | ||
env.c | ||
gpio.c | ||
init.c | ||
irq.c | ||
machtype.c | ||
Makefile | ||
mem.c | ||
pci.c | ||
platform.c | ||
pm.c | ||
reset.c | ||
rtc.c | ||
serial.c | ||
setup.c | ||
time.c | ||
uart_base.c |