aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorLinus Walleij <[email protected]>2024-02-28 10:07:27 +0100
committerUlf Hansson <[email protected]>2024-02-28 13:24:47 +0100
commit44d41bf65a4bd74e00300fda0b3220921128f722 (patch)
treed46340a54a0de949a251e36bf28bfb79a09c73e0 /tools/perf/util/trace-event-scripting.c
parent6f3d56882a3f210e7d1b6a169c4b32d926283f39 (diff)
mmc: sdhci-esdhc-mcf: Flag the sg_miter as atomic
The sg_miter used to loop over the returned sglist from a transfer in the esdhc subdriver for SDHCI can be called from atomic context so the miter needs to be atomic. sdhci_request_done() is always called from process context, either as a work or as part of the threaded interrupt handler, but the one case when we are actually calling .request_done() from an atomic context is in sdhci_irq(). Fix this by flagging the miter atomic so we always use kmap_atomic(). Fixes: e8a167b84886 ("mmc: sdhci-esdhc-mcf: Use sg_miter for swapping") Reported-by: Adrian Hunter <[email protected]> Signed-off-by: Linus Walleij <[email protected]> Acked-by: Adrian Hunter <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Ulf Hansson <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions