aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorUlf Hansson <[email protected]>2020-02-04 09:54:47 +0100
committerUlf Hansson <[email protected]>2020-03-24 14:35:40 +0100
commit490ff95f8e2c89d7541f187bae78d340b20d0ef0 (patch)
treea967edb18f3d0aab43101892b8f71dd887064d69 /tools/perf/scripts/python
parent9f94d04752ad6bf6a704637c61590fe55c4c0d82 (diff)
mmc: core: Convert to mmc_poll_for_busy() for HPI commands
Rather than open coding the polling loop in mmc_interrupt_hpi(), let's convert to use mmc_poll_for_busy(). Note that, moving to mmc_poll_for_busy() for HPI also improves the behaviour according to below. - Adds support for polling via the optional ->card_busy() host ops. - Require R1_READY_FOR_DATA to be set in the CMD13 response before exiting the polling loop. - Adds a throttling mechanism to avoid CPU hogging when polling. Signed-off-by: Ulf Hansson <[email protected]> Tested-by: Baolin Wang <[email protected]> Tested-by: Ludovic Barre <[email protected]> Reviewed-by: Ludovic Barre <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions