summaryrefslogtreecommitdiffstats
path: root/arch/csky/kernel/Makefile
diff options
context:
space:
mode:
authorGuo Ren <guoren@linux.alibaba.com>2022-04-06 15:32:22 +0200
committerGuo Ren <guoren@linux.alibaba.com>2022-04-18 15:23:55 +0200
commit8318f7c231d5be09e47410c5ab387b9bef6fe19e (patch)
tree0072d121bd5f7b4d5615e72a34d0b6ebb9841a98 /arch/csky/kernel/Makefile
parentcsky: Add C based string functions (diff)
downloadlinux-8318f7c231d5be09e47410c5ab387b9bef6fe19e.tar.xz
linux-8318f7c231d5be09e47410c5ab387b9bef6fe19e.zip
csky: optimize memcpy_{from,to}io() and memset_io()
Optimize memcpy_{from,to}io() and memset_io() by transferring in 64 bit as much as possible with minimized barrier usage. This simplest optimization brings faster throughput compare to current byte-by-byte read and write with barrier in the loop. Code's skeleton is taken from the powerpc & arm64. Signed-off-by: Guo Ren <guoren@linux.alibaba.com> Signed-off-by: Guo Ren <guoren@kernel.org>
Diffstat (limited to 'arch/csky/kernel/Makefile')
-rw-r--r--arch/csky/kernel/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/csky/kernel/Makefile b/arch/csky/kernel/Makefile
index 6c0f36010ed0..4eb41421ca5b 100644
--- a/arch/csky/kernel/Makefile
+++ b/arch/csky/kernel/Makefile
@@ -2,7 +2,7 @@
extra-y := head.o vmlinux.lds
obj-y += entry.o atomic.o signal.o traps.o irq.o time.o vdso.o vdso/
-obj-y += power.o syscall.o syscall_table.o setup.o
+obj-y += power.o syscall.o syscall_table.o setup.o io.o
obj-y += process.o cpu-probe.o ptrace.o stacktrace.o
obj-y += probes/