linux-hardened/drivers/input/touchscreen
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
..
88pm860x-ts.c mfd: Use genirq in 88pm860x 2010-03-07 22:17:20 +01:00
ad7877.c Input: ad7877 - keep dma rx buffers in seperate cache lines 2010-05-13 00:43:32 -07:00
ad7879.c Input: ad7879 - support auxiliary GPIOs via gpiolib 2010-01-19 00:31:51 -08:00
ads7846.c Input: ads7846 - add wakeup support 2010-03-11 00:02:43 -08:00
atmel-wm97xx.c tree-wide: fix assorted typos all over the place 2009-12-04 15:39:55 +01:00
atmel_tsadcc.c Input: atmel_tsadcc - use platform parameters 2009-11-20 00:55:21 -08:00
corgi_ts.c Merge branch 'for-rmk' of git://git.pengutronix.de/git/imx/linux-2.6 into devel 2009-03-13 21:44:51 +00:00
da9034-ts.c Input: da9034-ts - make pen {down,up} events more reliable 2009-04-15 08:58:22 -07:00
dynapro.c Input: add driver for Dynapro serial touchscreen 2009-10-26 11:01:30 -07:00
eeti_ts.c Input: eeti_ts - cancel pending work when going to suspend 2010-04-20 00:44:20 -07:00
elo.c Input: elo - switch to using dev_xxx() when printing messages 2010-01-06 23:54:40 -08:00
fujitsu_ts.c
gunze.c Input: remove CVS keywords 2008-05-20 12:17:39 -04:00
h3600_ts_input.c Input: serio - don't use serio->write() directly 2009-08-05 00:43:43 -07:00
hp680_ts_input.c sh: Migrate common board headers to mach-common/. 2008-10-20 13:02:48 +09:00
htcpen.c Input: add HTC Shift Touchscreen Driver 2008-06-02 00:38:35 -04:00
inexio.c Input: Add driver for iNexio serial touchscreen. 2008-06-30 09:37:32 -04:00
jornada720_ts.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input 2008-09-22 07:46:06 -07:00
Kconfig Input: ads7846 - add support for AD7843 parts 2010-03-09 22:12:45 -08:00
mainstone-wm97xx.c Input: wm97xx - provide coordinate logs for accelerated I/O 2010-01-28 22:38:30 -08:00
Makefile input: Enable touch on 88pm860x 2010-03-07 22:17:05 +01:00
mc13783_ts.c input/mc13783-ts: don't use deprecated mc13783 API calls 2010-03-06 11:26:47 -08:00
mcs5000_ts.c Input: add touchscreen driver for MELFAS MCS-5000 controller 2009-09-17 23:24:03 -07:00
migor_ts.c input: migor_ts: add wakeup support 2009-04-02 11:21:40 +09:00
mk712.c Input: drop redundant includes of moduleparam.h 2008-01-21 01:11:07 -05:00
mtouch.c
pcap_ts.c const: constify remaining dev_pm_ops 2009-12-15 08:53:25 -08:00
penmount.c
s3c2410_ts.c Input: s3c24xx_ts - report touch only when stylus is down 2010-02-20 01:22:36 -08:00
touchit213.c Input: add driver for Tabletkiosk Sahara TouchIT-213 touchscreen 2008-07-07 12:00:30 -04:00
touchright.c
touchwin.c
tsc2007.c Input: make i2c device ids constant 2010-01-09 23:28:33 -08:00
ucb1400_ts.c Input: ucb1400_ts - allow passing IRQ through platfrom_data 2009-11-20 00:52:05 -08:00
usbtouchscreen.c Merge branch 'next' into for-linus 2010-02-28 23:55:20 -08:00
w90p910_ts.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input 2009-09-14 17:56:51 -07:00
wacom_w8001.c Input: wacom_w8001 - simplify querying logic 2009-09-03 20:38:37 -07:00
wm97xx-core.c Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6 2009-09-23 03:49:27 +04:00
wm9705.c Merge branch 'next' into for-linus 2008-10-15 23:29:12 -04:00
wm9712.c Merge branch 'next' into for-linus 2008-10-15 23:29:12 -04:00
wm9713.c Merge branch 'next' into for-linus 2008-10-15 23:29:12 -04:00
zylonite-wm97xx.c Input: wm97xx - provide coordinate logs for accelerated I/O 2010-01-28 22:38:30 -08:00