Further mvebu PCIe patches
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 of 9 patches 0 repliesNew
3 of 9 patches are in this archive. The cover letter announces 9.
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 2/9 | pci: mvebu: fix memory leaks and refcount leaks | +0 | 0 replies | |
| 2/9 | pci: mvebu: fix memory leaks and refcount leaks | +0 | 1 reply | |
| 2/9 | pci: mvebu: fix memory leaks and refcount leaks | +0 | 0 replies |
Reviews trailers per patch
None of the 3 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Andrew Lunn | Thomas Petazzoni |
|---|---|---|
| Series | T-b | R-b T-b |
| 2/9 | ||
| 2/9 | ||
| 2/9 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/9] Further mvebu PCIe patches
Jason, Thomas,
Here are further PCIe patches which follow on from the previous set of six I sent earlier in September. This set:
* Separates the DT parsing from the use of this parsed data.
* Fixes memory leaks from kasprintf() and refcount leaks of the DT node where we break out from the loop early.
* Uses gpio_set_value_cansleep() so that GPIOs on I2C expanders can be used for the PCIe reset functionality.
* Switch to using devm_kcalloc() instead of devm_kzalloc(), which eliminates the multiplication, moving it into core code.
* Switch to using a gpio descriptor for the reset gpio, which can contain the active level information from DT. (It would be nice if gpiolib automated some of the resource claiming there.)
* Make PERST# vs clock timing to match PCIe specifications. PCIe specs require the clock to be running for 100us prior to releasing reset.
* Add the standard PCIe capability block in root port form to the emulated PCIe configuration block. This allows the PCI layer to identify the "host bridge" as a PCIe device, and allows us to take advantage of the code in drivers/pci/pcie, particularly aspm for link power management.
* As a result of identifying ourselves as a PCIe root port, this eliminates the need to special case accesses to non-slot 0 in the driver; the lack of other "slots" is something which the generic PCI code knows about for PCIe root ports.
drivers/pci/host/pci-mvebu.c | 404 ++++++++++++++++++++++++++++++++----------- 1 file changed, 305 insertions(+), 99 deletions(-)
Signature · 2 lines
FTTC broadband for 0.8mile line: currently at 9.6Mbps down 400kbps up according to speedtest.net.