Skip to content

hw/sd/sdcard: Add eMMC support

Philippe Mathieu-Daudé qemu-devel 7 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v49 Latest11 patches 2 repliesIn review
  2. v4812 patches 5 repliesSuperseded
  3. v4719 patches 11 repliesSuperseded
Earlier versions · 4
VersionPostedPatchesRepliesStatus
v4298 patches113 repliesSuperseded
v317 patches17 repliesSuperseded
v212 patches1 replySuperseded
v123 patches23 repliesSuperseded

Changes in v49 from the cover letter

- Dropped "Implement 'boot-mode' reset timing" patch
- Re-introduce Joel "Support boot area in emmc image" patch
- Comment magic CSD values

Patches in v49 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/11hw/sd/sdcard: Basis for eMMC supporthw/sd/sd.c include/hw/sd/sd.h+109 -10 replies
2/11hw/sd/sdcard: Register generic command handlershw/sd/sd.c+23 -00 replies
3/11hw/sd/sdcard: Register unimplemented command handlershw/sd/sd.c+9 -00 replies
4/11hw/sd/sdcard: Add emmc_cmd_SET_RELATIVE_ADDR handler (CMD3)hw/sd/sd.c+15 -00 replies
5/11hw/sd/sdcard: Fix SET_BLOCK_COUNT command argument on eMMC (CMD23)hw/sd/sd.c+3 -00 replies
6/11hw/sd/sdcard: Add emmc_cmd_PROGRAM_CID handler (CMD26)hw/sd/sd.c+7 -30 replies
7/11hw/sd/sdcard: Implement eMMC sleep state (CMD5)hw/sd/sd.c+45 -20 replies
8/11hw/sd/sdcard: Add emmc_cmd_SEND_EXT_CSD handler (CMD8)hw/sd/sd.c+70 -00 replies
9/11hw/sd/sdcard: Add eMMC 'boot-partition-size' propertyhw/sd/sd.c+4 -10 replies
10/11hw/sd/sdcard: Add mmc SWITCH function support (CMD6)hw/sd/sd.c hw/sd/trace-events+58 -00 replies
11/11hw/sd/sdcard: Support boot area in emmc imagehw/sd/sd.c+42 -00 replies

Reviews trailers per patch

7 of 11 patches have a Reviewed-by or Acked-by.

PatchCédric Le GoaterAndrew JefferyPhilippe Mathieu-Daudé
1/11T-b
2/11T-b R-b T-b T-b
3/11R-b T-b T-b T-b
4/11T-b T-b R-b
5/11T-b T-b R-b
6/11T-b R-b T-b
7/11T-b R-b
8/11T-b
9/11T-b
10/11T-b T-b R-b
11/11

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v49 thread

Cover letter [PATCH v49 00/11] hw/sd/sdcard: Add eMMC support

Tag to test Aspeed tree:
https://gitlab.com/philmd/qemu/-/tags/aspeed_emmc-v9

Since v48:
- Dropped "Implement 'boot-mode' reset timing" patch
- Re-introduce Joel "Support boot area in emmc image" patch
- Comment magic CSD values

Cédric Le Goater (2):
hw/sd/sdcard: Add emmc_cmd_SET_RELATIVE_ADDR handler (CMD3) hw/sd/sdcard: Fix SET_BLOCK_COUNT command argument on eMMC (CMD23)

Joel Stanley (1):
hw/sd/sdcard: Support boot area in emmc image

Luc Michel (1):
hw/sd/sdcard: Implement eMMC sleep state (CMD5)

Philippe Mathieu-Daudé (5):
hw/sd/sdcard: Basis for eMMC support hw/sd/sdcard: Register generic command handlers hw/sd/sdcard: Register unimplemented command handlers hw/sd/sdcard: Add emmc_cmd_PROGRAM_CID handler (CMD26) hw/sd/sdcard: Add eMMC 'boot-partition-size' property

Sai Pavan Boddu (1):
hw/sd/sdcard: Add mmc SWITCH function support (CMD6)

Vincent Palatin (1):
hw/sd/sdcard: Add emmc_cmd_SEND_EXT_CSD handler (CMD8)

 include/hw/sd/sd.h |   3 +
 hw/sd/sd.c         | 385 ++++++++++++++++++++++++++++++++++++++++++++-
 hw/sd/trace-events |   2 +
 3 files changed, 384 insertions(+), 6 deletions(-)
Signature · 1 line
2.41.0