diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2012-10-17 22:03:37 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2012-10-17 22:03:37 +0000 |
commit | 287a1bf65ae5609467bf4f13a2641d56bddd04a1 (patch) | |
tree | 23198bedf7a2e1f7806d1955f0c62f0cd36b8d18 | |
parent | 84113cb837c5af30233a6f2546a7e58fa3ca1f78 (diff) |
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(-)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33827 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r-- | target/linux/cns3xxx/config-3.3 | 2 | ||||
-rw-r--r-- | target/linux/cns3xxx/patches-3.3/460-cns3xxx_fiq_support.patch | 9 |
2 files changed, 5 insertions, 6 deletions
diff --git a/target/linux/cns3xxx/config-3.3 b/target/linux/cns3xxx/config-3.3 index 82f763518..e1c73a10a 100644 --- a/target/linux/cns3xxx/config-3.3 +++ b/target/linux/cns3xxx/config-3.3 @@ -45,7 +45,7 @@ CONFIG_DEBUG_LL=y CONFIG_DEBUG_LL_UART_NONE=y # CONFIG_DEBUG_USER is not set CONFIG_DECOMPRESS_LZMA=y -CONFIG_DMA_CACHE_RWFO=y +# CONFIG_DMA_CACHE_RWFO is not set # CONFIG_DWC_DEBUG is not set # CONFIG_DWC_DEVICE_ONLY is not set # CONFIG_DWC_HOST_ONLY is not set 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 5b1cd7cd9..7a44b45bf 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. */ |