From: Frank Haverkamp Date: Thu, 20 Mar 2014 14:11:05 +0000 (+0100) Subject: GenWQE: Fix multithreading problems X-Git-Tag: omap-for-v3.16/pm-signed~78^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=718f762efc454796d02f172a929d051f2d6ec01a;p=pandora-kernel.git GenWQE: Fix multithreading problems When being used in a multithreaded application there were problems with memory pages/cachelines accessed by multiple threads/cpus at the same time, while doing DMA transfers to/from those. To avoid such situations this fix is creating a copy of the first and the last page if it is not fully used. The data is copied from user-space into those pages and results are copied back when the DDCB-request is successfully finished. Signed-off-by: Frank Haverkamp Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed