Skip to content

Commit

Permalink
Merge tag 'csky-for-linus-5.19-rc1' of https://github.com/c-sky/csky-…
Browse files Browse the repository at this point in the history
…linux

Pull arch/csky updates from Guo Ren:

 - Three atomic optimizations

 - memcpy/memcpy_io optimization

 - Some coding conventions for Kbuild, removing warnings

* tag 'csky-for-linus-5.19-rc1' of https://github.com/c-sky/csky-linux:
  csky: Move $(core-y) into arch/csky/Kbuild
  csky: Remove unused core-y for dts
  csky: Remove unused $(dtb-y) from boot/Makefile
  csky: atomic: Add conditional atomic operations' optimization
  csky: atomic: Add custom atomic.h implementation
  csky: atomic: Optimize cmpxchg with acquire & release
  csky: optimize memcpy_{from,to}io() and memset_io()
  csky: Add C based string functions
  csky: Fix versioncheck warnings
  csky: patch_text: Fixup last cpu should be master
  csky: fix typos in comments
  • Loading branch information
torvalds committed May 24, 2022
2 parents fdd8f65 + 64d83f0 commit 67c642e
Show file tree
Hide file tree
Showing 22 changed files with 562 additions and 375 deletions.
2 changes: 2 additions & 0 deletions arch/csky/Kbuild
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# SPDX-License-Identifier: GPL-2.0-only

obj-y += kernel/ mm/

# for cleaning
subdir- += boot
8 changes: 8 additions & 0 deletions arch/csky/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -320,6 +320,14 @@ config HOTPLUG_CPU
controlled through /sys/devices/system/cpu/cpu1/hotplug/target.

Say N if you want to disable CPU hotplug.

config HAVE_EFFICIENT_UNALIGNED_STRING_OPS
bool "Enable EFFICIENT_UNALIGNED_STRING_OPS for abiv2"
depends on CPU_CK807 || CPU_CK810 || CPU_CK860
help
Say Y here to enable EFFICIENT_UNALIGNED_STRING_OPS. Some CPU models could
deal with unaligned access by hardware.

endmenu

source "arch/csky/Kconfig.platforms"
Expand Down
3 changes: 0 additions & 3 deletions arch/csky/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -61,15 +61,12 @@ KBUILD_AFLAGS += $(KBUILD_CFLAGS)

head-y := arch/csky/kernel/head.o

core-y += arch/csky/kernel/
core-y += arch/csky/mm/
core-y += arch/csky/$(CSKYABI)/

libs-y += arch/csky/lib/ \
$(shell $(CC) $(KBUILD_CFLAGS) $(KCFLAGS) -print-libgcc-file-name)

boot := arch/csky/boot
core-y += $(boot)/dts/

all: zImage

Expand Down
2 changes: 0 additions & 2 deletions arch/csky/abiv1/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,3 @@ obj-y += bswapdi.o
obj-y += bswapsi.o
obj-y += cacheflush.o
obj-y += mmap.o
obj-y += memcpy.o
obj-y += strksyms.o
347 changes: 0 additions & 347 deletions arch/csky/abiv1/memcpy.S

This file was deleted.

6 changes: 0 additions & 6 deletions arch/csky/abiv1/strksyms.c

This file was deleted.

Loading

0 comments on commit 67c642e

Please sign in to comment.