summaryrefslogtreecommitdiffstats
path: root/drivers/input
diff options
context:
space:
mode:
authorAlexander Shishkin <alexander.shishkin@linux.intel.com>2022-07-05 11:26:34 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-07-08 15:42:56 +0200
commitac12ad3ccf6d386e64a9d6a890595a2509d24edd (patch)
tree657a5e04106709c951dac90a7e0dc731ffcf993f /drivers/input
parent82f76a4a720791d889de775b5f7541d601efc8bd (diff)
downloadlinux-stable-ac12ad3ccf6d386e64a9d6a890595a2509d24edd.tar.gz
linux-stable-ac12ad3ccf6d386e64a9d6a890595a2509d24edd.tar.bz2
linux-stable-ac12ad3ccf6d386e64a9d6a890595a2509d24edd.zip
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 <andriy.shevchenko@linux.intel.com> Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com> Link: https://lore.kernel.org/r/20220705082637.59979-4-alexander.shishkin@linux.intel.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/input')
0 files changed, 0 insertions, 0 deletions