diff options
author | Felix Fietkau <nbd@openwrt.org> | 2012-10-17 22:03:37 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2012-10-17 22:03:37 +0000 |
commit | 879b7a7a9b1c99920a8a5c1f5329e060b564aca6 (patch) | |
tree | 44cc30b4ad2763e506eee2fb96e02666a6992aa6 /target/linux/cns3xxx/patches-3.3 | |
parent | c2b8d1a6190e02e48a55d852ca7ab5ed1a9cd3ac (diff) | |
download | upstream-879b7a7a9b1c99920a8a5c1f5329e060b564aca6.tar.gz upstream-879b7a7a9b1c99920a8a5c1f5329e060b564aca6.tar.bz2 upstream-879b7a7a9b1c99920a8a5c1f5329e060b564aca6.zip |
cns3xxx: update FIQ header file and disable RWFO
Update header file appropriately and disable read for ownership
Note that the FIQ support implements a workaround that provides a performance
boost over the traditional upstream workaround which ensures cache lines
are exclusive on driver CPU using 'read for ownership'.
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
target/linux/cns3xxx/config-3.3 | 2 +-
target/linux/cns3xxx/patches-3.3/460-cns3xxx_fiq_support.patch | 9 ++++-----
2 files changed, 5 insertions(+), 6 deletions(-)
SVN-Revision: 33827
Diffstat (limited to 'target/linux/cns3xxx/patches-3.3')
-rw-r--r-- | target/linux/cns3xxx/patches-3.3/460-cns3xxx_fiq_support.patch | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/target/linux/cns3xxx/patches-3.3/460-cns3xxx_fiq_support.patch b/target/linux/cns3xxx/patches-3.3/460-cns3xxx_fiq_support.patch index 5b1cd7cd96..7a44b45bfd 100644 --- a/target/linux/cns3xxx/patches-3.3/460-cns3xxx_fiq_support.patch +++ b/target/linux/cns3xxx/patches-3.3/460-cns3xxx_fiq_support.patch @@ -65,11 +65,10 @@ obj-$(CONFIG_LOCAL_TIMERS) += localtimer.o --- /dev/null +++ b/arch/arm/mach-cns3xxx/cns3xxx_fiq.S -@@ -0,0 +1,97 @@ +@@ -0,0 +1,96 @@ +/* -+ * linux/arch/arm/lib/floppydma.S -+ * -+ * Copyright (C) 1995, 1996 Russell King ++ * Copyright (C) 2012 Gateworks Corporation ++ * Chris Lang <clang@gateworks.com> + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as @@ -298,7 +297,7 @@ + cpu_cache.dma_map_area = (void *)smp_dma_map_area; + cpu_cache.dma_unmap_area = (void *)smp_dma_unmap_area; + cpu_cache.dma_flush_range = (void *)smp_dma_flush_range; -+ ++ + /* * Synchronise with the boot thread. */ |