Linux MultiMedia Card development
 help / color / mirror / Atom feed
* [PATCH v2 0/2] Enable 64-bit polling mode for R-Car Gen3 and RZ/G2+ family
@ 2025-07-27 16:07 Biju
  2025-07-27 16:07 ` [PATCH v2 1/2] mmc: tmio: Add 64-bit read/write support for SD_BUF0 in polling mode Biju
  2025-07-27 16:07 ` [PATCH v2 2/2] mmc: renesas_sdhi: Enable 64-bit " Biju
  0 siblings, 2 replies; 8+ messages in thread
From: Biju @ 2025-07-27 16:07 UTC (permalink / raw)
  To: Wolfram Sang, Ulf Hansson
  Cc: Biju Das, linux-mmc, linux-renesas-soc, linux-kernel,
	Geert Uytterhoeven, Prabhakar Mahadev Lad, Biju Das

From: Biju Das <biju.das.jz@bp.renesas.com>

As per the RZ/{G2L,G3E} HW manual SD_BUF0 can be accessed by 16/32/64
bits. Most of the data transfer in SD/SDIO/eMMC mode is more than 8 bytes.
During testing it is found that, if the DMA buffer is not aligned to 128
bit it fallback to PIO mode. In such cases, 64-bit access is much more
efficient than the current 16-bit.

RFT->v2:
 * Collected tags
 * Fixed the build error reported by the bot.

Biju Das (2):
  mmc: tmio: Add 64-bit read/write support for SD_BUF0 in polling mode
  mmc: renesas_sdhi: Enable 64-bit polling mode

 drivers/mmc/host/renesas_sdhi_internal_dmac.c |  3 +-
 drivers/mmc/host/tmio_mmc.h                   | 14 ++++++++
 drivers/mmc/host/tmio_mmc_core.c              | 33 +++++++++++++++++++
 include/linux/platform_data/tmio.h            |  3 ++
 4 files changed, 52 insertions(+), 1 deletion(-)

-- 
2.43.0


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

end of thread, other threads:[~2025-07-30 14:52 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-27 16:07 [PATCH v2 0/2] Enable 64-bit polling mode for R-Car Gen3 and RZ/G2+ family Biju
2025-07-27 16:07 ` [PATCH v2 1/2] mmc: tmio: Add 64-bit read/write support for SD_BUF0 in polling mode Biju
2025-07-30  6:27   ` kernel test robot
2025-07-30  9:17     ` Wolfram Sang
2025-07-30 13:56       ` Geert Uytterhoeven
2025-07-30 14:12         ` Biju Das
2025-07-30 14:52           ` Biju Das
2025-07-27 16:07 ` [PATCH v2 2/2] mmc: renesas_sdhi: Enable 64-bit " Biju

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