]> git.baikalelectronics.ru Git - kernel.git/commit
PCI: dwc: hisi: Remove non-ECAM HiSilicon hip05/hip06 driver
authorRob Herring <robh@kernel.org>
Fri, 24 Jul 2020 22:42:04 +0000 (16:42 -0600)
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Mon, 27 Jul 2020 16:06:32 +0000 (17:06 +0100)
commit271d7f6450b78b74a026551254e2d1949c5d84a4
tree89124dfd1b802eaa105fe5b53785d88635036e17
parentfbbd48670c9a1fcd2f3338c73f8ba3a503bfbfdb
PCI: dwc: hisi: Remove non-ECAM HiSilicon hip05/hip06 driver

The HiSilicon non-ECAM PCIe has been broken since March 2016 commit
65eb8d5de585 ("PCI: designware: Move Root Complex setup code to
dw_pcie_setup_rc()"). The reason is this commit moved the iATU setup code
from dw_pcie_host_init() to dw_pcie_setup_rc(), but the hisi driver never
calls dw_pcie_setup_rc(). The result is the PCI memory space is never
configured and the driver can't work. It's also clear it has an iATU as
the config space accesses use it.

There's also no dts file using either "hisilicon,hip05-pcie" or
"hisilicon,hip06-pcie".

Link: https://lore.kernel.org/r/20200724224204.3249055-1-robh@kernel.org
Signed-off-by: Rob Herring <robh@kernel.org>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Cc: Zhou Wang <wangzhou1@hisilicon.com>
Cc: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Cc: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/controller/dwc/pcie-hisi.c