]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: host: Improve I/O read/write performance for GL9763E
authorJason Lai <jasonlai.genesyslogic@gmail.com>
Mon, 13 Jun 2022 09:29:07 +0000 (17:29 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 12 Jul 2022 10:25:38 +0000 (12:25 +0200)
commit28796f38731181a83b355312211d48a252344cfa
tree08d5176987c76d289adf64be767e1a6050a4c288
parent58521e2e6aa995f2d78693d8489ea3af2328bb18
mmc: host: Improve I/O read/write performance for GL9763E

Due to flaws in hardware design, GL9763E takes long time to exit from L1
state. The I/O performance will suffer severe impact if it often enter and
exit L1 state during I/O requests.

To improve I/O read/write performance and take battery life into account,
let's turn on GL9763E L1 negotiation before entering runtime suspend and
turn off GL9763E L1 negotiation while executing runtime resume. That is to
say, GL9763E will not enter L1 state when executing I/O requests and enter
L1 state when PCIe bus idle.

Signed-off-by: Renius Chen <reniuschengl@gmail.com>
Signed-off-by: Jason Lai <jason.lai@genesyslogic.com.tw>
Link: https://lore.kernel.org/r/20220613092907.2502-1-jason.lai@genesyslogic.com.tw
[Ulf: Improved the commit message a bit]
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-pci-gli.c