PCI: altera: add support to agilex family
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v5 Latest1 of 2 patches 0 repliesNew
- v42 patches 2 repliesSuperseded
- v3 posting 10/100 of 2 patches 0 repliesSuperseded
Earlier versions · 10
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v3 posting 9/10 | 2 patches | 0 replies | Superseded | |
| v3 posting 8/10 | 2 patches | 0 replies | Superseded | |
| v3 posting 7/10 | 2 patches | 0 replies | Superseded | |
| v3 posting 6/10 | 2 patches | 0 replies | Superseded | |
| v3 posting 5/10 | 2 patches | 1 reply | Superseded | |
| v3 posting 4/10 | 2 patches | 0 replies | Superseded | |
| v3 posting 3/10 | 2 patches | 0 replies | Superseded | |
| v3 posting 2/10 | 2 patches | 0 replies | Superseded | |
| v3 posting 1/10 | 0 of 2 patches | 0 replies | Superseded | |
| v2 | 2 patches | 14 replies | Superseded |
Changes in v5 from the cover letter
the driver is tested on agilex7 and information is below
https://www.rocketboards.org/foswiki/Documentation/Agilex7PCIeRootPortDesign
1 of 2 patches is in this archive. The cover letter announces 2.
Patches in v5 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 2/2 | PCI: altera: add support for agilex7 family fpgadrivers/ | +206 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v5 yet.
Cover letter [PATCH v5 0/2] PCI: altera: add support to agilex family
From: D M Sharath Kumar <[email protected]>
added new callback for
1) read,write to root port configuration registers
2) read,write to endpoint configuration registers
3) root port interrupt handler
agilex and newer platforms need to implemant the callback and generic root port driver should work ( without much changes ) , legacy platforms (arria
and startix) implement configuration read,write directly in wrapper
api _altera_pcie_cfg_read/_altera_pcie_cfg_write
changelog v2:
saperated into two patches
1.refactored the driver for easily portability to future Altera FPGA platforms
2.added support for "Agilex" FPGA
this driver supports PCI RP IP on Agilex FPGA, as these are FPGA its up to the user to add PCI RP or not ( as per his needs). we are not adding the device tree as part of this commit. we are expecting the add device tree changes only if he is adding PCI RP IP in his design
changelog v3:
incorporate review comments from Bjorn Helgaas
changelog v4:
added below callback for root bus
alt_read/write_own_cfg
added below callback for non-root buses
alt_read/write_other_cfg
changelog v5
the driver is tested on agilex7 and information is below
https://www.rocketboards.org/foswiki/Documentation/Agilex7PCIeRootPortDesign
incorporate review comments from Bjorn Helgaas
added comments on the supported family
{.compatible = "altr,pcie-root-port-3.0", /* agilex7 P,F tile */
printing the satusdev_err_ratelimited(dev, "unexpected IRQ %x\n", status);
indentation etc
D M Sharath Kumar (2):
PCI: altera: refactor driver for supporting new platform
PCI: altera: add support for agilex7 family fpga
drivers/pci/controller/pcie-altera.c | 313 ++++++++++++++++++++++++--- 1 file changed, 280 insertions(+), 33 deletions(-)
Signature · 1 line
2.34.1