RFC FSI scom driver overhaul
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest5 patches 13 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | fsi/scom: Add mutex around FSI2PIB accessesdrivers/ | +18 | 1 reply | |
| 2/5 | fsi/scom: Whitespace fixesdrivers/ | +4 | 1 reply | |
| 3/5 | fsi/scom: Fixup endian annotationsdrivers/ | +4 | 1 reply | |
| 4/5 | fsi/scom: Add register definitionsdrivers/ | +18 | 1 reply | |
| 5/5 | fsi/scom: Major overhauldrivers/ include/ | +450 | 9 replies |
Reviews trailers per patch
All 5 patches have a Reviewed-by or Acked-by.
| Patch | Eddie James | Alistair Popple |
|---|---|---|
| 1/5 | R-b | |
| 2/5 | R-b | |
| 3/5 | R-b | |
| 4/5 | R-b | |
| 5/5 | R-b | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [RFC PATCH 0/5] FSI scom driver overhaul
The current FSI scom driver is a bit too simplistic (and buggy). This fixes a locking bug, cleans a few things up, then overhaul the driver more thoroughly by providing proper support for the different type of SCOM accesses (direct and indirect), handling errors properly in the read/write interface, and adding a lower level ioctl interface needed by system debugger (such as cronus) that need to be able to access the raw status register content resulting from the access attempt and do their own error handling.
I will send patches separately for pdbg and cronus to use the new debugger interface.
Note: It is unfortunate that the read/write interface does NOT use the same addressing scheme as the host-side equivalent xscom debugfs interface. However I didn't want to change the user ABI by "fixing" this as I'm not entirely sure what other users we might have of that existing interface.
The patches apply on top of the other FSI changes posted recently and at this point are meant to discuss the new user API.