Skip to content

pci: mvebu: Various fixes

Pali Rohár linux-arm-kernel linux-pci lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest15 patches 20 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/15PCI: mvebu: Check for valid portsdrivers/pci/controller/pci-mvebu.c+7 -00 replies
2/15PCI: mvebu: Check for errors from pci_bridge_emul_init() calldrivers/pci/controller/pci-mvebu.c+12 -30 replies
3/15PCI: mvebu: Check that PCI bridge specified in DT has function number zerodrivers/pci/controller/pci-mvebu.c+5 -04 replies
4/15PCI: mvebu: Handle invalid size of read config requestdrivers/pci/controller/pci-mvebu.c+3 -02 replies
5/15PCI: mvebu: Disallow mapping interrupts on emulated bridgesdrivers/pci/controller/pci-mvebu.c+10 -04 replies
6/15PCI: mvebu: Fix support for bus mastering and PCI_COMMAND on emulated bridgedrivers/pci/controller/pci-mvebu.c+32 -200 replies
7/15PCI: mvebu: Do not modify PCI IO type bits in conf_writedrivers/pci/controller/pci-mvebu.c+0 -70 replies
8/15PCI: mvebu: Propagate errors when updating PCI_IO_BASE and PCI_MEM_BASE registersdrivers/pci/controller/pci-mvebu.c+55 -279 replies
9/15PCI: mvebu: Setup PCIe controller to Root Complex modedrivers/pci/controller/pci-mvebu.c+7 -10 replies
10/15PCI: mvebu: Set PCI Bridge Class Code to PCI Bridgedrivers/pci/controller/pci-mvebu.c+27 -10 replies
11/15PCI: mvebu: Fix configuring secondary bus of PCIe Root Port via emulated bridgedrivers/pci/controller/pci-mvebu.c+97 -10 replies
12/15PCI: mvebu: Fix support for PCI_BRIDGE_CTL_BUS_RESET on emulated bridgedrivers/pci/controller/pci-mvebu.c+28 -00 replies
13/15PCI: mvebu: Fix support for PCI_EXP_DEVCTL on emulated bridgedrivers/pci/controller/pci-mvebu.c+1 -100 replies
14/15PCI: mvebu: Fix support for PCI_EXP_RTSTA on emulated bridgedrivers/pci/controller/pci-mvebu.c+10 -10 replies
15/15PCI: mvebu: Fix support for DEVCAP2, DEVCTL2 and LNKCTL2 registers on emulated bridgedrivers/pci/controller/pci-mvebu.c+23 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 00/15] pci: mvebu: Various fixes

This patch series contains various fixes for pci-mvebu.c driver. Only bugfixes, no new features.

For pci-mvebu.c I have prepared another 30+ patches with cleanups and new features, they are currently available in my git branch:
https://git.kernel.org/pub/scm/linux/kernel/git/pali/linux.git/log/?h=pci-mvebu

Pali Rohár (15):
PCI: mvebu: Check for valid ports
PCI: mvebu: Check for errors from pci_bridge_emul_init() call
PCI: mvebu: Check that PCI bridge specified in DT has function number
zero
PCI: mvebu: Handle invalid size of read config request
PCI: mvebu: Disallow mapping interrupts on emulated bridges
PCI: mvebu: Fix support for bus mastering and PCI_COMMAND on emulated
bridge
PCI: mvebu: Do not modify PCI IO type bits in conf_write
PCI: mvebu: Propagate errors when updating PCI_IO_BASE and
PCI_MEM_BASE registers
PCI: mvebu: Setup PCIe controller to Root Complex mode
PCI: mvebu: Set PCI Bridge Class Code to PCI Bridge
PCI: mvebu: Fix configuring secondary bus of PCIe Root Port via
emulated bridge
PCI: mvebu: Fix support for PCI_BRIDGE_CTL_BUS_RESET on emulated
bridge
PCI: mvebu: Fix support for PCI_EXP_DEVCTL on emulated bridge
PCI: mvebu: Fix support for PCI_EXP_RTSTA on emulated bridge
PCI: mvebu: Fix support for DEVCAP2, DEVCTL2 and LNKCTL2 registers on
emulated bridge

 drivers/pci/controller/pci-mvebu.c | 380 ++++++++++++++++++++++++-----
 1 file changed, 313 insertions(+), 67 deletions(-)
Signature · 1 line
2.20.1