diff options
author | Ulf Hansson <[email protected]> | 2017-11-27 11:28:50 +0100 |
---|---|---|
committer | Ulf Hansson <[email protected]> | 2017-11-28 20:29:24 +0100 |
commit | 250dcd11466e06df64b92520e2c56bdae453581b (patch) | |
tree | 90e2000350bc5b5e217853fe44425ca05addf9ad /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | 52884f8f66c893e92a73787b5bef32b2ef52e1bc (diff) |
mmc: sdhci: Avoid swiotlb buffer being full
The commit de3ee99b097d ("mmc: Delete bounce buffer handling") deletes the
bounce buffer handling, but also causes the max_req_size for sdhci to be
increased, in case when max_segs == 1. This causes errors for sdhci-pci
Ricoh variant, about the swiotlb buffer to become full.
Fix the issue, by taking IO_TLB_SEGSIZE and IO_TLB_SHIFT into account when
deciding the max_req_size for sdhci.
Reported-by: Jiri Slaby <[email protected]>
Fixes: de3ee99b097d ("mmc: Delete bounce buffer handling")
Cc: <[email protected]> # v4.14+
Signed-off-by: Ulf Hansson <[email protected]>
Tested-by: Jiri Slaby <[email protected]>
Acked-by: Adrian Hunter <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions