Skip to content
Commit f9e5b339 authored by Jason Lai's avatar Jason Lai Committed by Ulf Hansson
Browse files

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: default avatarRenius Chen <reniuschengl@gmail.com>
Signed-off-by: default avatarJason 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: default avatarUlf Hansson <ulf.hansson@linaro.org>
parent f6c3397d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment