]> 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)
commitc5b2d6adaef7d4d1b7939c65f5869bcc1dbfc21c
tree89124dfd1b802eaa105fe5b53785d88635036e17
parent267be41d380ec383c3002b483bcaf3320b07c5f1
PCI: dwc: hisi: Remove non-ECAM HiSilicon hip05/hip06 driver

The HiSilicon non-ECAM PCIe has been broken since March 2016 commit
a1127a79842f ("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