linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/2] Enable 64-bit polling mode for R-Car Gen3 and RZ/G2+ family
@ 2025-07-30 16:46 Biju
  2025-07-30 16:46 ` [PATCH v3 1/2] mmc: tmio: Add 64-bit read/write support for SD_BUF0 in polling mode Biju
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Biju @ 2025-07-30 16:46 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.

v2->v3:
 * Added header file linux/io.h
 * Replaced io{read,write}64_rep->{read,write}sq to fix the build error
   reported by the bot.
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                   | 15 +++++++++
 drivers/mmc/host/tmio_mmc_core.c              | 33 +++++++++++++++++++
 include/linux/platform_data/tmio.h            |  3 ++
 4 files changed, 53 insertions(+), 1 deletion(-)

-- 
2.43.0


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

end of thread, other threads:[~2025-08-29 11:24 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-30 16:46 [PATCH v3 0/2] Enable 64-bit polling mode for R-Car Gen3 and RZ/G2+ family Biju
2025-07-30 16:46 ` [PATCH v3 1/2] mmc: tmio: Add 64-bit read/write support for SD_BUF0 in polling mode Biju
2025-07-30 16:46 ` [PATCH v3 2/2] mmc: renesas_sdhi: Enable 64-bit " Biju
2025-08-18 10:55 ` [PATCH v3 0/2] Enable 64-bit polling mode for R-Car Gen3 and RZ/G2+ family Ulf Hansson
2025-08-29  9:51 ` Geert Uytterhoeven
2025-08-29 10:26   ` Wolfram Sang
2025-08-29 11:04     ` Geert Uytterhoeven
2025-08-29 11:24       ` Wolfram Sang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).