summaryrefslogtreecommitdiff
path: root/drivers/usb/host/ehci-fsl.h
diff options
context:
space:
mode:
authorLi Yang <leoli@freescale.com>2007-05-23 13:58:17 -0700
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-05-23 20:14:15 -0700
commit40acc095302aee380491df5f58d98945243468ec (patch)
tree51ca963c899f744f5b947b66ba76ba618b66ecb3 /drivers/usb/host/ehci-fsl.h
parent3d6ac9843175c1d29c075794519cb045b52e46c2 (diff)
downloadlinux-3.10-40acc095302aee380491df5f58d98945243468ec.tar.gz
linux-3.10-40acc095302aee380491df5f58d98945243468ec.tar.bz2
linux-3.10-40acc095302aee380491df5f58d98945243468ec.zip
ehci-fsl: fix cache coherency problem on system with large memory
The patch fixes bug http://bugzilla.kernel.org/show_bug.cgi?id=7482. It sets USB snooping on 4G space for PowerPC platforms without CONFIG_NOT_COHERENT_CACHE defined. Reported-by: Stefan Meyer <reyems@telkomsa.net> Signed-off-by: Li Yang <leoli@freescale.com> Cc: Greg KH <greg@kroah.com> Cc: David Brownell <david-b@pacbell.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/usb/host/ehci-fsl.h')
-rw-r--r--drivers/usb/host/ehci-fsl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/host/ehci-fsl.h b/drivers/usb/host/ehci-fsl.h
index f28736a917e..b5e59db5334 100644
--- a/drivers/usb/host/ehci-fsl.h
+++ b/drivers/usb/host/ehci-fsl.h
@@ -34,4 +34,5 @@
#define FSL_SOC_USB_PRICTRL 0x40c /* NOTE: big-endian */
#define FSL_SOC_USB_SICTRL 0x410 /* NOTE: big-endian */
#define FSL_SOC_USB_CTRL 0x500 /* NOTE: big-endian */
+#define SNOOP_SIZE_2GB 0x1e
#endif /* _EHCI_FSL_H */