Skip to content

Commit b81e4cc

Browse files
Heiko StuebnerUlf Hansson
authored andcommitted
mmc: sdhci-of-dwcmshc: set CQE irq-handler for rockchip variants
The dwcmshc used on Rockchip rk3568 and rk3588 can use cqe, so set the needed irq handler. Tested on a rk3588-tiger SoM with dd, hdparm and fio. fio performance does increase slightly from Run status group 0 (all jobs): READ: bw=209MiB/s (219MB/s), 209MiB/s-209MiB/s (219MB/s-219MB/s), io=4096MiB (4295MB), run=19607-19607msec without CQE to Run status group 0 (all jobs): READ: bw=215MiB/s (225MB/s), 215MiB/s-215MiB/s (225MB/s-225MB/s), io=4096MiB (4295MB), run=19062-19062msec with CQE enabled. Signed-off-by: Heiko Stuebner <heiko.stuebner@cherry.de> Acked-by: Adrian Hunter <adrian.hunter@intel.com> Link: https://lore.kernel.org/r/20240530215547.2192457-1-heiko@sntech.de Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
1 parent 78d0869 commit b81e4cc

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

drivers/mmc/host/sdhci-of-dwcmshc.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -908,6 +908,7 @@ static const struct sdhci_ops sdhci_dwcmshc_rk35xx_ops = {
908908
.get_max_clock = rk35xx_get_max_clock,
909909
.reset = rk35xx_sdhci_reset,
910910
.adma_write_desc = dwcmshc_adma_write_desc,
911+
.irq = dwcmshc_cqe_irq_handler,
911912
};
912913

913914
static const struct sdhci_ops sdhci_dwcmshc_th1520_ops = {

0 commit comments

Comments
 (0)