linux-sg2042/drivers/misc/genwqe
Frank Haverkamp 718f762efc 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>
2014-04-16 12:12:39 -07:00
..
Kconfig GenWQE Enable driver 2013-12-18 16:51:15 -08:00
Makefile GenWQE Enable driver 2013-12-18 16:51:15 -08:00
card_base.c
card_base.h GenWQE: Fix multithreading problems 2014-04-16 12:12:39 -07:00
card_ddcb.c GenWQE: Ensure rc is not returning an uninitialized value 2014-04-16 12:12:39 -07:00
card_ddcb.h GenWQE Character device and DDCB queue 2013-12-18 16:51:15 -08:00
card_debugfs.c drivers/misc: delete non-required instances of include <linux/init.h> 2014-02-07 15:10:19 -08:00
card_dev.c GenWQE: Fix multithreading problems 2014-04-16 12:12:39 -07:00
card_sysfs.c GenWQE Sysfs interfaces 2013-12-18 16:51:15 -08:00
card_utils.c GenWQE: Fix multithreading problems 2014-04-16 12:12:39 -07:00
genwqe_driver.h GenWQE: Replace dynamic_hex_dump with print_hex_dump_debug 2013-12-20 08:47:29 -08:00