Refactoring to support per-instance configurable max segments for dw_mmc
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 3 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | mmc: core: mmc: core: Add validation for host-provided max_segsdrivers/ | +7 | 0 replies | |
| 2/4 | mmc: dw_mmc: Move misplaced commentdrivers/ | +1 | 0 replies | |
| 3/4 | mmc: dw_mmc: Add desc_num field for claritydrivers/ drivers/ | +10 | 1 reply | |
| 4/4 | mmc: dw_mmc: Convert descriptor ring buffer to per-instance configurabledrivers/ | +5 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/4] Refactoring to support per-instance configurable max segments for dw_mmc
The first patch is a defensive fix that addresses a crash caused by incorrect max segment numbers provided by host drivers. Patches 2 through 4 then perform a step-by-step refactoring of the dw_mmc code to support per-instance configurable max segments, which host drivers can utilize in the future.
Shawn Lin (4):
mmc: core: mmc: core: Add validation for host-provided max_segs
mmc: dw_mmc: Move misplaced comment
mmc: dw_mmc: Add desc_num field for clarity
mmc: dw_mmc: Convert descriptor ring buffer to per-instance
configurable
drivers/mmc/core/queue.c | 8 +++++++- drivers/mmc/host/dw_mmc.c | 27 +++++++++++++-------------- drivers/mmc/host/dw_mmc.h | 4 +++- 3 files changed, 23 insertions(+), 16 deletions(-)
Signature · 1 line
2.7.4