aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAlexander Shishkin <[email protected]>2022-07-05 11:26:34 +0300
committerGreg Kroah-Hartman <[email protected]>2022-07-08 15:42:56 +0200
commitac12ad3ccf6d386e64a9d6a890595a2509d24edd (patch)
tree657a5e04106709c951dac90a7e0dc731ffcf993f /tools/perf/scripts/python
parent82f76a4a720791d889de775b5f7541d601efc8bd (diff)
intel_th: msu: Fix vmalloced buffers
After commit f5ff79fddf0e ("dma-mapping: remove CONFIG_DMA_REMAP") there's a chance of DMA buffer getting allocated via vmalloc(), which messes up the mmapping code: > RIP: msc_mmap_fault [intel_th_msu] > Call Trace: > <TASK> > __do_fault > do_fault ... Fix this by accounting for vmalloc possibility. Fixes: ba39bd830605 ("intel_th: msu: Switch over to scatterlist") Reviewed-by: Andy Shevchenko <[email protected]> Signed-off-by: Alexander Shishkin <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions