PCI: brcmstb: Add panic/die handler to driver
Status from this message: Applied to pci/controller/brcmstb for v6.19, thanks!
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v1 | 2 patches | 13 replies | Superseded |
Changes in v4 from the cover letter
-- Commit "Add panic/die handler to driver"
o s/__MASK/_MASK/g -- (Alok)
o Remove underscore of _brcm_pcie_dump_err -- (Bjorn)
o Remove _MASK suffix from OUTB constants -- (Bjorn)
o Use standard notation %04x:%02x:%02x.%d" -- (Bjorn)
o Use BIT(i) instead of hex number (Ilpo)
o Remove unused constant (Ilpo)
o Use str_read_write() (Ilpo)
Patches in v4 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | PCI: brcmstb: Add a way to indicate if PCIe bridge is activedrivers/ | +35 | 1 reply | |
| 2/2 | PCI: brcmstb: Add panic/die handler to driverdrivers/ | +158 | 1 reply |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Florian Fainelli |
|---|---|
| 1/2 | R-b |
| 2/2 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v4 0/2] PCI: brcmstb: Add panic/die handler to driver
v4 Changes:
-- Commit "Add panic/die handler to driver"
o s/__MASK/_MASK/g -- (Alok)
o Remove underscore of _brcm_pcie_dump_err -- (Bjorn)
o Remove _MASK suffix from OUTB constants -- (Bjorn)
o Use standard notation %04x:%02x:%02x.%d" -- (Bjorn)
o Use BIT(i) instead of hex number (Ilpo)
o Remove unused constant (Ilpo)
o Use str_read_write() (Ilpo)
v3 Changes:
-- Commit "Add a way to indicate if PCIe bridge is active"
o Implement Bjorn's V1 suggestion properly (Bjorn, Mani)
o Remove unrelated change in commit (Mani)
o Remove an "inline" directive (Mani)
o s/bridge_on/bridge_in_reset/ (Mani)
-- Commit "Add panic/die handler to driver"
o dev_err(...) message changed from "handling" error (Mani)
v2 Changes:
-- Commit "Add a way to indicate if PCIe bridge is active"
o Set "bridge_on" correctly when bridge is reset (Bjorn)
o Return 0 instead "return ret" and skip ret init (Bjorn)
o Use u32p_replace_bits(...) instead of shifts and AND/OR (Bjorn)
o Reword error statement regarding bridge reset (Bjorn)
The first commit sets up a field variable and spinlock to indicate whether the PCIe bridge is active. The second commit builds upon the first and adds a "die" handler to the driver, which, when invoked, prints out a summary of any pending PCIe errors. The "die" handler is careful not to access any registers unless the bridge is active.
Jim Quinlan (2):
PCI: brcmstb: Add a way to indicate if PCIe bridge is active
PCI: brcmstb: Add panic/die handler to driver
drivers/pci/controller/pcie-brcmstb.c | 198 +++++++++++++++++++++++++- 1 file changed, 192 insertions(+), 6 deletions(-)
base-commit: 4ff71af020ae59ae2d83b174646fc2ad9fcd4dc4
Signature · 1 line
2.34.1