]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: OCTEON: don't set octeon_dma_bar_type if PCI is disabled
authorAaro Koskinen <aaro.koskinen@iki.fi>
Sun, 27 Jan 2019 21:28:33 +0000 (23:28 +0200)
committerPaul Burton <paul.burton@mips.com>
Tue, 29 Jan 2019 19:47:02 +0000 (11:47 -0800)
commitd58489dd7ba6cbba5286b2f5a1978fe316b5b36b
tree5d0b294999b3a7b63ac731769d351bb416ae6d64
parentbce65f070c93f55cd1302a2c0f8544cfdcb2b809
MIPS: OCTEON: don't set octeon_dma_bar_type if PCI is disabled

Don't set octeon_dma_bar_type if PCI is disabled. This avoids creation
of the MSI irqchip later on, and saves a bit of memory.

Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: Paul Burton <paul.burton@mips.com>
Fixes: 3672fb1734b2 ("Disable MSI also when pcie-octeon.pcie_disable on")
Cc: stable@vger.kernel.org # v3.3+
Cc: linux-mips@vger.kernel.org
arch/mips/pci/pci-octeon.c