On Wed, May 22, 2019 at 07:18:39PM +0900, Yoshihiro Shimoda wrote: > In IOMMU environment, since it's possible to merge scatter gather > buffers of memory requests to one iova, this patch changes the max_segs > value when init_card of mmc_host timing to improve the transfer > performance on renesas_sdhi_internal_dmac. > > Notes that an sdio card may be possible to use scatter gather buffers > with non page aligned size, so that this driver will not use multiple > segments to avoid any trouble. Also, on renesas_sdhi_sys_dmac, > the max_segs value will change from 32 to 512, but the sys_dmac > can handle 512 segments, so that this init_card ops is added on > "TMIO_MMC_MIN_RCAR2" environment. > > Signed-off-by: Yoshihiro Shimoda Awesome, Shimoda-san. I think you nailed it, this is nicely readable code! Reviewed-by: Wolfram Sang