]> git.baikalelectronics.ru Git - kernel.git/commit
pci-expmem-hack
authorAndrew Isaacson <adi@broadcom.com>
Thu, 20 Oct 2005 06:59:46 +0000 (23:59 -0700)
committerRalf Baechle <ralf@linux-mips.org>
Sat, 29 Oct 2005 18:32:49 +0000 (19:32 +0100)
commitc855bff124eb2f3c9d08a22e4b973cb83a912950
tree04e3614f81b2ac7b3091969427160de127f8d4c3
parent3b83db4fc558243633b421638fa2fcad7c478bca
pci-expmem-hack

CFE 1.2.5 and earlier fails to turn on the ExpMemEn bit in the
PCIFeatureControl register, which means that DMA does not work
beyond physical address 01_0000_0000, ergo to DRAM beyond 1GB.

With ExpMemEn turned on, 01_0000_0000-0f_ffff_ffff is mapped,
so DMA works for up to 61 GB of DRAM.

Will be fixed in CFE 1.2.6 (yet to be released).

Signed-Off-By: Andy Isaacson <adi@broadcom.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/pci/pci-bcm1480.c