staging: fsl-mc: module loading support, fixes, and cleanup
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest11 patches 4 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/11 | staging: fsl-mc: add support for the modalias sysfs attributedrivers/ | +25 | 0 replies | |
| 2/11 | staging: fsl-mc: implement uevent callback and set the modaliasdrivers/ | +7 | 0 replies | |
| 3/11 | staging: fsl-mc: clean up the device id structdrivers/ drivers/ drivers/ +1 more | +6 | 1 reply | |
| 4/11 | staging: fsl-mc: add support for device table matchingdrivers/ include/ scripts/ +1 more | +32 | 0 replies | |
| 5/11 | staging: fsl-mc: export mc_get_versiondrivers/ | +1 | 0 replies | |
| 6/11 | staging: fsl-mc: make fsl_mc_is_root_dprc() globaldrivers/ drivers/ | +15 | 3 replies | |
| 7/11 | staging: fsl-mc: fix asymmetry in destroy of mc_iodrivers/ drivers/ | +9 | 0 replies | |
| 8/11 | staging: fsl-mc: dprc: add missing irq freedrivers/ | +5 | 0 replies | |
| 9/11 | staging: fsl-mc: dprc: fix ordering problem freeing resources in remove of dprcdrivers/ | +6 | 0 replies | |
| 10/11 | staging: fsl-mc: properly set hwirq in msi set_descdrivers/ | +16 | 0 replies | |
| 11/11 | staging: fsl-mc: convert mc command build/parse to use C structsdrivers/ drivers/ drivers/ +7 more | +1056 | 0 replies |
Reviews trailers per patch
2 of 11 patches have a Reviewed-by or Acked-by.
| Patch | Matthias Brugger |
|---|---|
| 1/11 | |
| 2/11 | |
| 3/11 | R-b |
| 4/11 | |
| 5/11 | |
| 6/11 | R-b |
| 7/11 | |
| 8/11 | |
| 9/11 | |
| 10/11 | |
| 11/11 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 00/11] staging: fsl-mc: module loading support, fixes, and cleanup
This patch series does some cleanup and further sets the stage for additional fsl-mc device drivers.
-Patches 1-4 add missing fsl-mc support for modalias and udev-based
module loading of drivers.
-Patch 5 exports a function some drivers rely on.
-Patch 6 makes a needed helper function visible to the dprc driver. -Patch 7 fixes a bug where an asymmetry existed in how mc_io structs
were destroyed.
-Patch 8 fixes a bug where an irq free was missing in the dprc driver. -Patch 9 fixes a bug where there was an ordering issue with how resources
were freed.
-Patch 10 fixes a bug with how hwirq numbers were determined, which
prevented more than one dprc from being used by the kernel
-Patch 11 is a cleanup patch to improve the readability/maintainability of
the functions that build/parse MC commands. It uses structs instead of the previous shift/mask macros. This sets the precedence we want other new drivers to follow.
Bharat Bhushan (1):
staging: fsl-mc: fix asymmetry in destroy of mc_io
Ioana Radulescu (1):
staging: fsl-mc: convert mc command build/parse to use C structs
Stuart Yoder (9):
staging: fsl-mc: add support for the modalias sysfs attribute
staging: fsl-mc: implement uevent callback and set the modalias
staging: fsl-mc: clean up the device id struct
staging: fsl-mc: add support for device table matching
staging: fsl-mc: export mc_get_version
staging: fsl-mc: make fsl_mc_is_root_dprc() global
staging: fsl-mc: dprc: add missing irq free
staging: fsl-mc: dprc: fix ordering problem freeing resources in
remove of dprc
staging: fsl-mc: properly set hwirq in msi set_desc
drivers/staging/fsl-mc/bus/dpbp.c | 132 ++++-- drivers/staging/fsl-mc/bus/dpmcp-cmd.h | 86 +++- drivers/staging/fsl-mc/bus/dpmcp.c | 89 ++-- drivers/staging/fsl-mc/bus/dpmng-cmd.h | 12 +- drivers/staging/fsl-mc/bus/dpmng.c | 15 +- drivers/staging/fsl-mc/bus/dprc-cmd.h | 379 +++++++++++++++- drivers/staging/fsl-mc/bus/dprc-driver.c | 20 +- drivers/staging/fsl-mc/bus/dprc.c | 715 ++++++++++-------------------- drivers/staging/fsl-mc/bus/mc-allocator.c | 2 +- drivers/staging/fsl-mc/bus/mc-bus.c | 71 ++- drivers/staging/fsl-mc/bus/mc-msi.c | 17 +- drivers/staging/fsl-mc/bus/mc-sys.c | 46 +- drivers/staging/fsl-mc/include/dpbp-cmd.h | 125 +++++- drivers/staging/fsl-mc/include/mc-cmd.h | 91 ++-- drivers/staging/fsl-mc/include/mc.h | 21 +- include/linux/mod_devicetable.h | 16 + scripts/mod/devicetable-offsets.c | 4 + scripts/mod/file2alias.c | 12 + 18 files changed, 1175 insertions(+), 678 deletions(-)
Signature · 1 line
1.9.0