[PATCHv2 0/6] PCI: fix the designware Class code fixup doesn't work issue and refactor ls-pcie host init

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Hou Zhiqiang <Zhiqiang.Hou@xxxxxxx>

The first two patches are aim to fix the designware Class code fixup
doesn't work issue, because the Class Code register of DBI is read-only,
so must enable the write permission before updating this register.

The rest 4 patches are used to refactor the ls-pcie host init function.
Make ls1021a pcie reuse the ls-pcie common host init function.
Disable the bootloader configured outbound windows to avoid conflict
to outbound windows configured by dw_pcie_setup_rc().
And remove the duplicate Class Code fixup from ls-pcie driver.

Hou Zhiqiang (6):
  PCI: designware: add accessors for write permission of DBI read-only
    registers
  PCI: designware: enable write permission before updating class code
  PCI: layerscape: use accessors to enable/disable DBI RO registers'
    write permission
  PCI: layerscape: refactor the host_init function
  PCI: layerscape: Disable the outbound windows configured by bootloader
  PCI: layerscape: remove the duplicate Class field fix code

 drivers/pci/dwc/pci-layerscape.c       | 86 +++++++++++++++++++---------------
 drivers/pci/dwc/pcie-designware-host.c |  4 ++
 drivers/pci/dwc/pcie-designware.h      | 25 ++++++++++
 3 files changed, 76 insertions(+), 39 deletions(-)

-- 
2.1.0.27.g96db324




[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux