Skip to content

PCI: mvebu: Slot support

Pali Rohár linux-arm-kernel linux-pci lkml 5 versions – Applied

Status from this message: Applied to pci/power-slot, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest4 patches 4 repliesApplied
  2. v44 patches 0 repliesSuperseded
  3. v34 patches 6 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v24 patches8 repliesSuperseded
v16 patches19 repliesSuperseded

Changes in v5 from the cover letter

* Fix compile error due to wrong patch rebasing

Patches in v5 Applied

#Subject and filesSizeRepliesApplied
1/4PCI: Add PCI_EXP_SLTCTL_ASPL_DISABLE macroinclude/uapi/linux/pci_regs.h+1 -00 replies
2/4dt-bindings: Add 'slot-power-limit-milliwatt' PCIe port propertyDocumentation/devicetree/bindings/pci/pci.txt+6 -00 replies
3/4PCI: Add function for parsing 'slot-power-limit-milliwatt' DT propertydrivers/pci/of.c drivers/pci/pci.h+85 -03 replies
4/4PCI: mvebu: Add support for sending Set_Slot_Power_Limit messagedrivers/pci/controller/pci-mvebu.c+92 -50 replies

Reviews trailers per patch

3 of 4 patches have a Reviewed-by or Acked-by.

PatchRob HerringBjorn Helgaas
1/4A-b
2/4
3/4R-b R-b
4/4R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v5 thread

Cover letter [PATCH v5 0/4] PCI: mvebu: Slot support

This patch series add slot support to pci-mvebu.c driver.

Changes in v5:
* Fix compile error due to wrong patch rebasing

Changes in v4:
* Set 239 W when DT slot-power-limit-milliwatt is between 239 W and 250 W
* Fix returning power limit value

Changes in v3:
* Set 600 W when DT slot-power-limit-milliwatt > 600 W

Changes in v2:
* Dropped patch with PCI_EXP_SLTCAP_*_SHIFT macros as it is not needed anymore
* Dropped patch "ARM: dts: turris-omnia: Set PCIe slot-power-limit-milliwatt properties" which was applied
* Added support for PCIe 6.0 slot power limit encodings
* Round down slot power limit value
* Fix handling of slot power limit with scale x1.0 (0x00 value)
* Use FIELD_PREP instead of _SHIFT macros
* Changed commit message to Bjorn's suggestion
* Changed comments in the code to match PCIe spec
* Preserve user settings of PCI_EXP_SLTCTL_ASPL_DISABLE bit

Pali Rohár (4):
PCI: Add PCI_EXP_SLTCTL_ASPL_DISABLE macro
dt-bindings: Add 'slot-power-limit-milliwatt' PCIe port property
PCI: Add function for parsing 'slot-power-limit-milliwatt' DT property
PCI: mvebu: Add support for sending Set_Slot_Power_Limit message

 Documentation/devicetree/bindings/pci/pci.txt |  6 ++
 drivers/pci/controller/pci-mvebu.c            | 97 ++++++++++++++++++-
 drivers/pci/of.c                              | 70 +++++++++++++
 drivers/pci/pci.h                             | 15 +++
 include/uapi/linux/pci_regs.h                 |  1 +
 5 files changed, 184 insertions(+), 5 deletions(-)
Signature · 7 lines
2.20.1


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel