projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a95d069
)
MIPS: Loongson-3: Reserve 32MB for RS780E integrated GPU
author
Huacai Chen
<
[email protected]
>
Thu, 17 Mar 2016 12:41:05 +0000
(20:41 +0800)
committer
Ralf Baechle
<
[email protected]
>
Mon, 9 May 2016 10:00:03 +0000
(12:00 +0200)
Due to datasheet, reserving 0xff800000~0xffffffff (8MB below 4GB) is
not enough for RS780E integrated GPU's TOM (top of memory) registers
and MSI/MSI-x memory region, so we reserve 0xfe000000~0xffffffff (32MB
below 4GB).
Signed-off-by: Huacai Chen <
[email protected]
>
Cc: Aurelien Jarno <
[email protected]
>
Cc: Steven J . Hill <
[email protected]
>
Cc: Fuxin Zhang <
[email protected]
>
Cc: Zhangjin Wu <
[email protected]
>
Cc:
[email protected]
Cc:
[email protected]
Patchwork: https://patchwork.linux-mips.org/patch/12889/
Signed-off-by: Ralf Baechle <
[email protected]
>
arch/mips/loongson64/loongson-3/numa.c
patch
|
blob
|
history
diff --git
a/arch/mips/loongson64/loongson-3/numa.c
b/arch/mips/loongson64/loongson-3/numa.c
index 6f9e010cec4d50f2cae8177c41d9ae95e0189b22..282c5a8c2fcd4c22649bea11219ec7665f67602f 100644
(file)
--- a/
arch/mips/loongson64/loongson-3/numa.c
+++ b/
arch/mips/loongson64/loongson-3/numa.c
@@
-213,10
+213,10
@@
static void __init node_mem_init(unsigned int node)
BOOTMEM_DEFAULT);
if (node == 0 && node_end_pfn(0) >= (0xffffffff >> PAGE_SHIFT)) {
- /* Reserve 0xf
f8
00000~0xffffffff for RS780E integrated GPU */
+ /* Reserve 0xf
e0
00000~0xffffffff for RS780E integrated GPU */
reserve_bootmem_node(NODE_DATA(node),
- (node_addrspace_offset | 0xf
f8
00000),
-
8
<< 20, BOOTMEM_DEFAULT);
+ (node_addrspace_offset | 0xf
e0
00000),
+
32
<< 20, BOOTMEM_DEFAULT);
}
sparse_memory_present_with_active_regions(node);