linux-rk3588-midstream icon indicating copy to clipboard operation
linux-rk3588-midstream copied to clipboard

SD command queuing not implemented

Open Googulator opened this issue 2 years ago • 0 comments

The Linux MMC/SD stack implements command queuing only for eMMCs, not SD cards, and even then, only for host controllers that can manage queues in hardware. Previously, software command queuing was submitted to the linux-emmc mailing list, but then apparently ignored: https://patchwork.kernel.org/project/linux-mmc/patch/[email protected]/

Once this is ported, wiring it up for SD cards shouldn't be hard (only difference is the use of ext_perf instead of ext_csd for feature detection, and the renumbering of CMD48 to CMD43 - SD also supports an optional "sequential queuing" mode that eMMC doesn't, but it's not really relevant for Linux).

Googulator avatar Mar 29 '23 18:03 Googulator