]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
MIPS: Loongson-3: Reserve 32MB for RS780E integrated GPU
authorHuacai Chen <chenhc@lemote.com>
Thu, 17 Mar 2016 12:41:05 +0000 (20:41 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 8 Jun 2016 01:23:33 +0000 (18:23 -0700)
commit990a6023ee81c91ed333dfccef03843fe2b73ceb
tree02732b27f360e3d9554d4307439a334316b582cd
parented58c916ae90af0e8e6156435c09dad18051f88c
MIPS: Loongson-3: Reserve 32MB for RS780E integrated GPU

commit 3484de7bcbed20ecbf2b8d80671619e7059e2dd7 upstream.

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 <chenhc@lemote.com>
Cc: Aurelien Jarno <aurelien@aurel32.net>
Cc: Steven J . Hill <sjhill@realitydiluted.com>
Cc: Fuxin Zhang <zhangfx@lemote.com>
Cc: Zhangjin Wu <wuzhangjin@gmail.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/12889/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/mips/loongson64/loongson-3/numa.c