]> www.infradead.org Git - users/jedix/linux-maple.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 15 Feb 2019 07:09:12 +0000 (08:09 +0100)
commitc87691444b5f2bbf6bf2fd374000615e5ffc0372
treedc8f7c46d2a6ae8629074e90928f7c876ca65038
parenteb5c1f624e6383e7a41f07b42dc6140b31baf495
MIPS: OCTEON: don't set octeon_dma_bar_type if PCI is disabled

commit dcf300a69ac307053dfb35c2e33972e754a98bce upstream.

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: a214720cbf50 ("Disable MSI also when pcie-octeon.pcie_disable on")
Cc: stable@vger.kernel.org # v3.3+
Cc: linux-mips@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/mips/pci/pci-octeon.c