MIPS: Malta: Allow PCI devices DMA to lower 2GB physical
authorPaul Burton <paul.burton@imgtec.com>
Mon, 19 Sep 2016 21:21:21 +0000 (22:21 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 6 Oct 2016 15:31:00 +0000 (17:31 +0200)
commit422dd256642b75808cbf447040481cac11ccbefc
treedec58324328b82f805ec652203a5888ca9edfd28
parent5d2949ec86a54b73a6fc2557ef784e76c0d2cba9
MIPS: Malta: Allow PCI devices DMA to lower 2GB physical

Set the PCI_BAR0 register in all configurations such that PCI devices
can perform DMA to all of the bottom 2GB of the physical address space.
This is imperfect if we make use of the legacy Malta memory map, but it
is an improvement on the inconsistent values setup before.

Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Cc: Alexander Sverdlin <alexander.sverdlin@nokia.com>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/14272/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/mti-malta/malta-init.c