Linux MultiMedia Card development
 help / color / mirror / Atom feed
* [PATCH 0/4] Refactoring to support per-instance configurable max segments for dw_mmc
@ 2026-04-09  7:48 Shawn Lin
  2026-04-09  7:48 ` [PATCH 1/4] mmc: core: mmc: core: Add validation for host-provided max_segs Shawn Lin
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Shawn Lin @ 2026-04-09  7:48 UTC (permalink / raw)
  To: Ulf Hansson, Jaehoon Chung; +Cc: linux-mmc, linux-kernel, Shawn Lin


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(-)

-- 
2.7.4


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2026-04-09  7:53 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-09  7:48 [PATCH 0/4] Refactoring to support per-instance configurable max segments for dw_mmc Shawn Lin
2026-04-09  7:48 ` [PATCH 1/4] mmc: core: mmc: core: Add validation for host-provided max_segs Shawn Lin
2026-04-09  7:48 ` [PATCH 2/4] mmc: dw_mmc: Move misplaced comment Shawn Lin
2026-04-09  7:48 ` [PATCH 3/4] mmc: dw_mmc: Add desc_num field for clarity Shawn Lin
2026-04-09  7:48 ` [PATCH 4/4] mmc: dw_mmc: Convert descriptor ring buffer to per-instance configurable Shawn Lin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox