]> 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)
commit24a13f16389e90e009e1ba9970a874c1884807f2
tree08d5176987c76d289adf64be767e1a6050a4c288
parent0dea191b258b2b11e98a80b18bcb5b6de7546de6
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