]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
PCI: Disable MSI for HiSilicon Hip06/Hip07 Root Ports
authorDongdong Liu <liudongdong3@huawei.com>
Tue, 4 Apr 2017 19:32:33 +0000 (19:32 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 12 Apr 2017 10:42:12 +0000 (12:42 +0200)
commit8f24ffc2f9a062a12dbde35dca0ed167758a908c
tree8a86f43b0583aea003d910144d5ab425c162a4b0
parentf2d9c08fc9b28c050f21e0a3e22d92ed6eaa5bf5
PCI: Disable MSI for HiSilicon Hip06/Hip07 Root Ports

[ Upstream commit 72f2ff0deb870145a5a2d24cd75b4f9936159a62 ]

The PCIe Root Port in Hip06/Hip07 SoCs advertises an MSI capability, but it
cannot generate MSIs.  It can transfer MSI/MSI-X from downstream devices,
but does not support MSI/MSI-X itself.

Add a quirk to prevent use of MSI/MSI-X by the Root Port.

[bhelgaas: changelog, sort vendor ID #define, drop device ID #define]
Signed-off-by: Dongdong Liu <liudongdong3@huawei.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Gabriele Paoloni <gabriele.paoloni@huawei.com>
Reviewed-by: Zhou Wang <wangzhou1@hisilicon.com>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/pci/quirks.c
include/linux/pci_ids.h