2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-19 18:53:52 +08:00
linux-next/drivers/input
Oskar Schirmer 3843384a05 Input: ad7877 - keep dma rx buffers in seperate cache lines
With dma based spi transmission, data corruption is observed
occasionally. With dma buffers located right next to msg and
xfer fields, cache lines correctly flushed in preparation for
dma usage may be polluted again when writing to fields in the
same cache line.

Make sure cache fields used with dma do not share cache lines
with fields changed during dma handling. As both fields are part
of a struct that is allocated via kzalloc, thus cache aligned,
moving the fields to the 1st position and insert padding for
alignment does the job.

Signed-off-by: Oskar Schirmer <os@emlix.com>
Signed-off-by: Daniel Glöckner <dg@emlix.com>
Signed-off-by: Oliver Schneidewind <osw@emlix.com>
Signed-off-by: Johannes Weiner <jw@emlix.com>
Acked-by: Mike Frysinger <vapier@gentoo.org>
[dtor@mail.ru - changed to use ___cacheline_aligned as suggested
 by akpm]
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
2010-05-13 00:43:32 -07:00
..
gameport Input: ns558 - make pnp device ids constant 2010-01-09 23:29:13 -08:00
joystick Input: iforce - fix Guillemot Jet Leader 3D entry 2010-05-10 22:54:39 -07:00
keyboard Input: matrix_keypad - allow platform to disable key autorepeat 2010-04-05 23:02:00 -07:00
misc Input: ati_remote - add some missing devices from lirc_atiusb 2010-05-03 23:33:22 -07:00
mouse Input: psmouse - reset all types of mice before reconnecting 2010-05-13 00:43:26 -07:00
serio Input: i8042 - spelling fix 2010-04-05 23:01:20 -07:00
tablet Input: wacom - switch mode upon system resume 2010-04-15 11:16:10 -07:00
touchscreen Input: ad7877 - keep dma rx buffers in seperate cache lines 2010-05-13 00:43:32 -07:00
apm-power.c Input: apm-power - fix crash when unloading modules 2008-03-24 11:02:06 -04:00
evbug.c Input: struct device - replace bus_id with dev_name(), dev_set_name() 2008-10-30 09:29:05 -04:00
evdev.c Input: scancode in get/set_keycodes should be unsigned 2010-03-08 23:19:15 -08:00
ff-core.c Input: fix memory leak in force feedback core 2009-12-04 22:16:38 -08:00
ff-memless.c Input: ff-memless - add notion of direction to for rumble effects 2009-12-24 21:54:29 -08:00
fixp-arith.h changed email 2007-10-20 00:47:32 +02:00
input-compat.c Input: refactor evdev 32bit compat to be shareable with uinput 2008-10-27 22:03:42 -04:00
input-compat.h [IA64] Remove COMPAT_IA32 support 2010-02-08 10:42:17 -08:00
input-polldev.c Input: polldev can cause crash in case when polling disabled 2010-02-20 01:23:55 -08:00
input.c Input: sparse-keymap - implement safer freeing of the keymap 2010-03-21 23:00:51 -07:00
joydev.c Input: joydev - allow binding to button-only devices 2010-05-03 23:51:28 -07:00
Kconfig Merge branch 'xen/fbdev' of git://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen 2009-12-10 09:34:40 -08:00
Makefile Input: add generic support for sparse keymaps 2009-12-07 09:26:35 -08:00
mousedev.c Input: mousedev - remove BKL 2010-03-09 22:05:09 -08:00
sparse-keymap.c Input: sparse-keymap - implement safer freeing of the keymap 2010-03-21 23:00:51 -07:00
xen-kbdfront.c Input: xen-kbdfront - make xenbus device ids constant 2010-01-09 23:29:27 -08:00