]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit17ac0a9180d2c2e0225a091f50dc3a9b39747d2a
treedec58324328b82f805ec652203a5888ca9edfd28
parent1eadf7e6ddc5e3eda6f0c7853a691f688a412cc9
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