diff options
author | Frank Haverkamp <haver@linux.vnet.ibm.com> | 2014-03-20 15:11:05 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-04-16 12:12:39 -0700 |
commit | 718f762efc454796d02f172a929d051f2d6ec01a (patch) | |
tree | 13d8f9558b39963356082460de3ee6855454d972 /drivers/mtd/lpddr/lpddr_cmds.c | |
parent | ebb2c96bb9214ba38c7fe35d5d725f6e7cb3bbc8 (diff) |
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 <haver@linux.vnet.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/mtd/lpddr/lpddr_cmds.c')
0 files changed, 0 insertions, 0 deletions