]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
Disable MSI also when pcie-octeon.pcie_disable on
authorYunQiang Su <ysu@wavecomp.com>
Tue, 8 Jan 2019 05:45:10 +0000 (13:45 +0800)
committerKleber Sacilotto de Souza <kleber.souza@canonical.com>
Wed, 14 Aug 2019 09:18:49 +0000 (11:18 +0200)
commit4de2ca5f0585afa27cd216e997b8fb09d5b7a759
tree747ae7799d8e6f729360d90048a072f0c518b1bb
parent26290219227b47dc1aa177ea927c201a53588e17
Disable MSI also when pcie-octeon.pcie_disable on

BugLink: https://bugs.launchpad.net/bugs/1837477
commit a214720cbf50cd8c3f76bbb9c3f5c283910e9d33 upstream.

Octeon has an boot-time option to disable pcie.

Since MSI depends on PCI-E, we should also disable MSI also with
this option is on in order to avoid inadvertently accessing PCIe
registers.

Signed-off-by: YunQiang Su <ysu@wavecomp.com>
Signed-off-by: Paul Burton <paul.burton@mips.com>
Cc: pburton@wavecomp.com
Cc: linux-mips@vger.kernel.org
Cc: aaro.koskinen@iki.fi
Cc: stable@vger.kernel.org # v3.3+
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
arch/mips/pci/msi-octeon.c