]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mmc: sdhci-of-dwcmshc: set CQE irq-handler for rockchip variants
authorHeiko Stuebner <heiko.stuebner@cherry.de>
Thu, 30 May 2024 21:55:47 +0000 (23:55 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Thu, 20 Jun 2024 08:59:28 +0000 (10:59 +0200)
commitb81e4cc84bfcf9d06b90701cc3112b7ecbe2ae71
tree679a639257053e7724e721dccc61bebba13418de
parent78d08697e3932052d8855821d5c0864666bfa832
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>
drivers/mmc/host/sdhci-of-dwcmshc.c