Remove support for score architecture
Subsystems (7)
PATCH 1/1 Remove support for score architecture
The web site associated with the score architecture in MAINTAINERS is non-functional and available for sale. The last Ack from one of the maintainers was in December 2012. The main maintainer's last commit was in 2011. The last maintainer pull request was early 2011.
---
More housekeeping.
Maybe this removal request is a bit early, but architecture support seems to have vanished entirely. At the very least this puts interested parties (if there are any) on notice.
MAINTAINERS | 7 - arch/score/Kconfig | 113 ------- arch/score/Kconfig.debug | 28 -- arch/score/Makefile | 44 --- arch/score/boot/Makefile | 15 - arch/score/configs/spct6600_defconfig | 85 ----- arch/score/include/asm/Kbuild | 6 - arch/score/include/asm/asm-offsets.h | 1 - arch/score/include/asm/asmmacro.h | 161 --------- arch/score/include/asm/atomic.h | 7 - arch/score/include/asm/barrier.h | 16 - arch/score/include/asm/bitops.h | 15 - arch/score/include/asm/bug.h | 17 - arch/score/include/asm/bugs.h | 6 - arch/score/include/asm/cache.h | 7 - arch/score/include/asm/cacheflush.h | 48 --- arch/score/include/asm/checksum.h | 235 ------------- arch/score/include/asm/cmpxchg.h | 49 --- arch/score/include/asm/cputime.h | 6 - arch/score/include/asm/current.h | 6 - arch/score/include/asm/delay.h | 28 -- arch/score/include/asm/device.h | 6 - arch/score/include/asm/div64.h | 6 - arch/score/include/asm/dma.h | 8 - arch/score/include/asm/elf.h | 97 ------ arch/score/include/asm/emergency-restart.h | 6 - arch/score/include/asm/exec.h | 6 - arch/score/include/asm/fixmap.h | 82 ----- arch/score/include/asm/ftrace.h | 4 - arch/score/include/asm/futex.h | 6 - arch/score/include/asm/hardirq.h | 6 - arch/score/include/asm/hw_irq.h | 4 - arch/score/include/asm/io.h | 9 - arch/score/include/asm/irq.h | 25 -- arch/score/include/asm/irq_regs.h | 11 - arch/score/include/asm/irqflags.h | 120 ------- arch/score/include/asm/kdebug.h | 6 - arch/score/include/asm/kmap_types.h | 6 - arch/score/include/asm/linkage.h | 7 - arch/score/include/asm/local.h | 6 - arch/score/include/asm/local64.h | 1 - arch/score/include/asm/mmu.h | 6 - arch/score/include/asm/mmu_context.h | 113 ------- arch/score/include/asm/module.h | 35 -- arch/score/include/asm/mutex.h | 6 - arch/score/include/asm/page.h | 93 ------ arch/score/include/asm/pci.h | 4 - arch/score/include/asm/percpu.h | 6 - arch/score/include/asm/pgalloc.h | 83 ----- arch/score/include/asm/pgtable-bits.h | 25 -- arch/score/include/asm/pgtable.h | 282 ---------------- arch/score/include/asm/processor.h | 104 ------ arch/score/include/asm/ptrace.h | 25 -- arch/score/include/asm/scatterlist.h | 6 - arch/score/include/asm/scoreregs.h | 51 --- arch/score/include/asm/sections.h | 6 - arch/score/include/asm/segment.h | 21 -- arch/score/include/asm/setup.h | 36 -- arch/score/include/asm/shmparam.h | 6 - arch/score/include/asm/string.h | 8 - arch/score/include/asm/switch_to.h | 13 - arch/score/include/asm/syscalls.h | 8 - arch/score/include/asm/thread_info.h | 100 ------ arch/score/include/asm/timex.h | 8 - arch/score/include/asm/tlb.h | 17 - arch/score/include/asm/tlbflush.h | 142 -------- arch/score/include/asm/topology.h | 6 - arch/score/include/asm/uaccess.h | 424 ------------------------ arch/score/include/asm/ucontext.h | 1 - arch/score/include/asm/unaligned.h | 6 - arch/score/include/asm/user.h | 21 -- arch/score/include/uapi/asm/Kbuild | 34 -- arch/score/include/uapi/asm/auxvec.h | 4 - arch/score/include/uapi/asm/bitsperlong.h | 6 - arch/score/include/uapi/asm/byteorder.h | 6 - arch/score/include/uapi/asm/errno.h | 6 - arch/score/include/uapi/asm/fcntl.h | 6 - arch/score/include/uapi/asm/ioctl.h | 6 - arch/score/include/uapi/asm/ioctls.h | 6 - arch/score/include/uapi/asm/ipcbuf.h | 6 - arch/score/include/uapi/asm/kvm_para.h | 1 - arch/score/include/uapi/asm/mman.h | 6 - arch/score/include/uapi/asm/msgbuf.h | 6 - arch/score/include/uapi/asm/param.h | 6 - arch/score/include/uapi/asm/poll.h | 6 - arch/score/include/uapi/asm/posix_types.h | 6 - arch/score/include/uapi/asm/ptrace.h | 76 ----- arch/score/include/uapi/asm/resource.h | 6 - arch/score/include/uapi/asm/sembuf.h | 6 - arch/score/include/uapi/asm/setup.h | 9 - arch/score/include/uapi/asm/shmbuf.h | 6 - arch/score/include/uapi/asm/sigcontext.h | 22 -- arch/score/include/uapi/asm/siginfo.h | 6 - arch/score/include/uapi/asm/signal.h | 6 - arch/score/include/uapi/asm/socket.h | 6 - arch/score/include/uapi/asm/sockios.h | 6 - arch/score/include/uapi/asm/stat.h | 6 - arch/score/include/uapi/asm/statfs.h | 6 - arch/score/include/uapi/asm/swab.h | 6 - arch/score/include/uapi/asm/termbits.h | 6 - arch/score/include/uapi/asm/termios.h | 6 - arch/score/include/uapi/asm/types.h | 6 - arch/score/include/uapi/asm/unistd.h | 11 - arch/score/kernel/Makefile | 11 - arch/score/kernel/asm-offsets.c | 216 ------------ arch/score/kernel/entry.S | 493 ---------------------------- arch/score/kernel/head.S | 70 ---- arch/score/kernel/irq.c | 111 ------- arch/score/kernel/module.c | 132 -------- arch/score/kernel/process.c | 123 ------- arch/score/kernel/ptrace.c | 383 --------------------- arch/score/kernel/setup.c | 162 --------- arch/score/kernel/signal.c | 315 ------------------ arch/score/kernel/sys_call_table.c | 12 - arch/score/kernel/sys_score.c | 50 --- arch/score/kernel/time.c | 99 ------ arch/score/kernel/traps.c | 341 ------------------- arch/score/kernel/vmlinux.lds.S | 90 ----- arch/score/lib/Makefile | 8 - arch/score/lib/ashldi3.c | 46 --- arch/score/lib/ashrdi3.c | 48 --- arch/score/lib/checksum.S | 255 -------------- arch/score/lib/checksum_copy.c | 52 --- arch/score/lib/cmpdi2.c | 44 --- arch/score/lib/libgcc.h | 37 --- arch/score/lib/lshrdi3.c | 47 --- arch/score/lib/string.S | 184 ----------- arch/score/lib/ucmpdi2.c | 38 --- arch/score/mm/Makefile | 6 - arch/score/mm/cache.c | 279 ---------------- arch/score/mm/extable.c | 38 --- arch/score/mm/fault.c | 235 ------------- arch/score/mm/init.c | 109 ------ arch/score/mm/pgtable.c | 52 --- arch/score/mm/tlb-miss.S | 199 ----------- arch/score/mm/tlb-score.c | 251 -------------- 136 files changed, 7827 deletions(-) delete mode 100644 arch/score/Kconfig delete mode 100644 arch/score/Kconfig.debug delete mode 100644 arch/score/Makefile delete mode 100644 arch/score/boot/Makefile delete mode 100644 arch/score/configs/spct6600_defconfig delete mode 100644 arch/score/include/asm/Kbuild delete mode 100644 arch/score/include/asm/asm-offsets.h delete mode 100644 arch/score/include/asm/asmmacro.h delete mode 100644 arch/score/include/asm/atomic.h delete mode 100644 arch/score/include/asm/barrier.h delete mode 100644 arch/score/include/asm/bitops.h delete mode 100644 arch/score/include/asm/bug.h delete mode 100644 arch/score/include/asm/bugs.h delete mode 100644 arch/score/include/asm/cache.h delete mode 100644 arch/score/include/asm/cacheflush.h delete mode 100644 arch/score/include/asm/checksum.h delete mode 100644 arch/score/include/asm/cmpxchg.h delete mode 100644 arch/score/include/asm/cputime.h delete mode 100644 arch/score/include/asm/current.h delete mode 100644 arch/score/include/asm/delay.h delete mode 100644 arch/score/include/asm/device.h delete mode 100644 arch/score/include/asm/div64.h delete mode 100644 arch/score/include/asm/dma.h delete mode 100644 arch/score/include/asm/elf.h delete mode 100644 arch/score/include/asm/emergency-restart.h delete mode 100644 arch/score/include/asm/exec.h delete mode 100644 arch/score/include/asm/fixmap.h delete mode 100644 arch/score/include/asm/ftrace.h delete mode 100644 arch/score/include/asm/futex.h delete mode 100644 arch/score/include/asm/hardirq.h delete mode 100644 arch/score/include/asm/hw_irq.h delete mode 100644 arch/score/include/asm/io.h delete mode 100644 arch/score/include/asm/irq.h delete mode 100644 arch/score/include/asm/irq_regs.h delete mode 100644 arch/score/include/asm/irqflags.h delete mode 100644 arch/score/include/asm/kdebug.h delete mode 100644 arch/score/include/asm/kmap_types.h delete mode 100644 arch/score/include/asm/linkage.h delete mode 100644 arch/score/include/asm/local.h delete mode 100644 arch/score/include/asm/local64.h delete mode 100644 arch/score/include/asm/mmu.h delete mode 100644 arch/score/include/asm/mmu_context.h delete mode 100644 arch/score/include/asm/module.h delete mode 100644 arch/score/include/asm/mutex.h delete mode 100644 arch/score/include/asm/page.h delete mode 100644 arch/score/include/asm/pci.h delete mode 100644 arch/score/include/asm/percpu.h delete mode 100644 arch/score/include/asm/pgalloc.h delete mode 100644 arch/score/include/asm/pgtable-bits.h delete mode 100644 arch/score/include/asm/pgtable.h delete mode 100644 arch/score/include/asm/processor.h delete mode 100644 arch/score/include/asm/ptrace.h delete mode 100644 arch/score/include/asm/scatterlist.h delete mode 100644 arch/score/include/asm/scoreregs.h delete mode 100644 arch/score/include/asm/sections.h delete mode 100644 arch/score/include/asm/segment.h delete mode 100644 arch/score/include/asm/setup.h delete mode 100644 arch/score/include/asm/shmparam.h delete mode 100644 arch/score/include/asm/string.h delete mode 100644 arch/score/include/asm/switch_to.h delete mode 100644 arch/score/include/asm/syscalls.h delete mode 100644 arch/score/include/asm/thread_info.h delete mode 100644 arch/score/include/asm/timex.h delete mode 100644 arch/score/include/asm/tlb.h delete mode 100644 arch/score/include/asm/tlbflush.h delete mode 100644 arch/score/include/asm/topology.h delete mode 100644 arch/score/include/asm/uaccess.h delete mode 100644 arch/score/include/asm/ucontext.h delete mode 100644 arch/score/include/asm/unaligned.h delete mode 100644 arch/score/include/asm/user.h delete mode 100644 arch/score/include/uapi/asm/Kbuild delete mode 100644 arch/score/include/uapi/asm/auxvec.h delete mode 100644 arch/score/include/uapi/asm/bitsperlong.h delete mode 100644 arch/score/include/uapi/asm/byteorder.h delete mode 100644 arch/score/include/uapi/asm/errno.h delete mode 100644 arch/score/include/uapi/asm/fcntl.h delete mode 100644 arch/score/include/uapi/asm/ioctl.h delete mode 100644 arch/score/include/uapi/asm/ioctls.h delete mode 100644 arch/score/include/uapi/asm/ipcbuf.h delete mode 100644 arch/score/include/uapi/asm/kvm_para.h delete mode 100644 arch/score/include/uapi/asm/mman.h delete mode 100644 arch/score/include/uapi/asm/msgbuf.h delete mode 100644 arch/score/include/uapi/asm/param.h delete mode 100644 arch/score/include/uapi/asm/poll.h delete mode 100644 arch/score/include/uapi/asm/posix_types.h delete mode 100644 arch/score/include/uapi/asm/ptrace.h delete mode 100644 arch/score/include/uapi/asm/resource.h delete mode 100644 arch/score/include/uapi/asm/sembuf.h delete mode 100644 arch/score/include/uapi/asm/setup.h delete mode 100644 arch/score/include/uapi/asm/shmbuf.h delete mode 100644 arch/score/include/uapi/asm/sigcontext.h delete mode 100644 arch/score/include/uapi/asm/siginfo.h delete mode 100644 arch/score/include/uapi/asm/signal.h delete mode 100644 arch/score/include/uapi/asm/socket.h delete mode 100644 arch/score/include/uapi/asm/sockios.h delete mode 100644 arch/score/include/uapi/asm/stat.h delete mode 100644 arch/score/include/uapi/asm/statfs.h delete mode 100644 arch/score/include/uapi/asm/swab.h delete mode 100644 arch/score/include/uapi/asm/termbits.h delete mode 100644 arch/score/include/uapi/asm/termios.h delete mode 100644 arch/score/include/uapi/asm/types.h delete mode 100644 arch/score/include/uapi/asm/unistd.h delete mode 100644 arch/score/kernel/Makefile delete mode 100644 arch/score/kernel/asm-offsets.c delete mode 100644 arch/score/kernel/entry.S delete mode 100644 arch/score/kernel/head.S delete mode 100644 arch/score/kernel/irq.c delete mode 100644 arch/score/kernel/module.c delete mode 100644 arch/score/kernel/process.c delete mode 100644 arch/score/kernel/ptrace.c delete mode 100644 arch/score/kernel/setup.c delete mode 100644 arch/score/kernel/signal.c delete mode 100644 arch/score/kernel/sys_call_table.c delete mode 100644 arch/score/kernel/sys_score.c delete mode 100644 arch/score/kernel/time.c delete mode 100644 arch/score/kernel/traps.c delete mode 100644 arch/score/kernel/vmlinux.lds.S delete mode 100644 arch/score/lib/Makefile delete mode 100644 arch/score/lib/ashldi3.c delete mode 100644 arch/score/lib/ashrdi3.c delete mode 100644 arch/score/lib/checksum.S delete mode 100644 arch/score/lib/checksum_copy.c delete mode 100644 arch/score/lib/cmpdi2.c delete mode 100644 arch/score/lib/libgcc.h delete mode 100644 arch/score/lib/lshrdi3.c delete mode 100644 arch/score/lib/string.S delete mode 100644 arch/score/lib/ucmpdi2.c delete mode 100644 arch/score/mm/Makefile delete mode 100644 arch/score/mm/cache.c delete mode 100644 arch/score/mm/extable.c delete mode 100644 arch/score/mm/fault.c delete mode 100644 arch/score/mm/init.c delete mode 100644 arch/score/mm/pgtable.c delete mode 100644 arch/score/mm/tlb-miss.S delete mode 100644 arch/score/mm/tlb-score.c
MAINTAINERS +0 -7
@@ -7178,13 +7178,6 @@ F: kernel/sched/ F: include/linux/sched.h F: include/uapi/linux/sched.h -SCORE ARCHITECTURE -M: Chen Liqin <[email protected]> -M: Lennox Wu <[email protected]> -W: http://www.sunplusct.com -S: Supported -F: arch/score/ - SCSI CDROM DRIVER M: Jens Axboe <[email protected]> L: [email protected]
arch/score/Kconfig deleted +0 -113
113 lines not on this page · raw message
arch/score/Kconfig.debug deleted +0 -28
@@ -1,28 +0,0 @@ -menu "Kernel hacking" - -config TRACE_IRQFLAGS_SUPPORT - bool - default y - -source "lib/Kconfig.debug" - -config CMDLINE - string "Default kernel command string" - default "" - help - On some platforms, there is currently no way for the boot loader to - pass arguments to the kernel. For these platforms, you can supply - some command-line options at build time by entering them here. In - other cases you can specify kernel args so that you don't have - to set them up in board prom initialization routines. - -config RUNTIME_DEBUG - bool "Enable run-time debugging" - depends on DEBUG_KERNEL - help - If you say Y here, some debugging macros will do run-time checking. - If you say N here, those macros will mostly turn to no-ops. See - include/asm-score/debug.h for debugging macros. - If unsure, say N. - -endmenu
arch/score/Makefile deleted +0 -44
44 lines not on this page · raw message
arch/score/boot/Makefile deleted +0 -15
@@ -1,15 +0,0 @@ -# -# arch/score/boot/Makefile -# -# This file is subject to the terms and conditions of the GNU General Public -# License. See the file "COPYING" in the main directory of this archive -# for more details. -# - -targets := vmlinux.bin - -$(obj)/vmlinux.bin: vmlinux FORCE - $(call if_changed,objcopy) - @echo 'Kernel: $@ is ready' ' (#'`cat .version`')' - -clean-files += vmlinux.bin
arch/score/configs/spct6600_defconfig deleted +0 -85
85 lines not on this page · raw message
arch/score/include/asm/Kbuild deleted +0 -6
@@ -1,6 +0,0 @@ - -header-y += - -generic-y += clkdev.h -generic-y += trace_clock.h -generic-y += xor.h
arch/score/include/asm/asm-offsets.h deleted +0 -1
@@ -1 +0,0 @@ -#include <generated/asm-offsets.h>
arch/score/include/asm/asmmacro.h deleted +0 -161
161 lines not on this page · raw message
arch/score/include/asm/atomic.h deleted +0 -7
@@ -1,7 +0,0 @@ -#ifndef _ASM_SCORE_ATOMIC_H -#define _ASM_SCORE_ATOMIC_H - -#include <asm/cmpxchg.h> -#include <asm-generic/atomic.h> - -#endif /* _ASM_SCORE_ATOMIC_H */
arch/score/include/asm/barrier.h deleted +0 -16
@@ -1,16 +0,0 @@ -#ifndef _ASM_SCORE_BARRIER_H -#define _ASM_SCORE_BARRIER_H - -#define mb () barrier() -#define rmb () barrier() -#define wmb () barrier() -#define smp_mb () barrier() -#define smp_rmb () barrier() -#define smp_wmb () barrier() - -#define read_barrier_depends () do {} while (0) -#define smp_read_barrier_depends () do {} while (0) - -#define set_mb (var, value) do {var = value; wmb(); } while (0) - -#endif /* _ASM_SCORE_BARRIER_H */
arch/score/include/asm/bitops.h deleted +0 -15
@@ -1,15 +0,0 @@ -#ifndef _ASM_SCORE_BITOPS_H -#define _ASM_SCORE_BITOPS_H - -#include <asm/byteorder.h> /* swab32 */ - -/* -* clear_bit() doesn't provide any barrier for the compiler. -*/ -#define smp_mb__before_clear_bit () barrier() -#define smp_mb__after_clear_bit () barrier() - -#include <asm-generic/bitops.h> -#include <asm-generic/bitops/__fls.h> - -#endif /* _ASM_SCORE_BITOPS_H */
arch/score/include/asm/bug.h deleted +0 -17
@@ -1,17 +0,0 @@ -#ifndef _ASM_SCORE_BUG_H -#define _ASM_SCORE_BUG_H - -#include <asm-generic/bug.h> - -struct pt_regs ; -extern void __die (const char *,struct pt_regs *,const char *, -const char *,unsigned long ) __attribute__((noreturn)); -extern void __die_if_kernel (const char *,struct pt_regs *,const char *, -const char *,unsigned long ); - -#define die (msg, regs) \ - __die(msg, regs, __FILE__ ":", __func__, __LINE__) -#define die_if_kernel (msg, regs) \ - __die_if_kernel(msg, regs, __FILE__ ":", __func__, __LINE__) - -#endif /* _ASM_SCORE_BUG_H */
arch/score/include/asm/bugs.h deleted +0 -6
@@ -1,6 +0,0 @@ -#ifndef _ASM_SCORE_BUGS_H -#define _ASM_SCORE_BUGS_H - -#include <asm-generic/bugs.h> - -#endif /* _ASM_SCORE_BUGS_H */
arch/score/include/asm/cache.h deleted +0 -7
@@ -1,7 +0,0 @@ -#ifndef _ASM_SCORE_CACHE_H -#define _ASM_SCORE_CACHE_H - -#define L1_CACHE_SHIFT 4 -#define L1_CACHE_BYTES (1 << L1_CACHE_SHIFT) - -#endif /* _ASM_SCORE_CACHE_H */
arch/score/include/asm/cacheflush.h deleted +0 -48
48 lines not on this page · raw message
arch/score/include/asm/checksum.h deleted +0 -235
235 lines not on this page · raw message
arch/score/include/asm/cmpxchg.h deleted +0 -49
49 lines not on this page · raw message
arch/score/include/asm/cputime.h deleted +0 -6
@@ -1,6 +0,0 @@ -#ifndef _ASM_SCORE_CPUTIME_H -#define _ASM_SCORE_CPUTIME_H - -#include <asm-generic/cputime.h> - -#endif /* _ASM_SCORE_CPUTIME_H */
arch/score/include/asm/current.h deleted +0 -6
@@ -1,6 +0,0 @@ -#ifndef _ASM_SCORE_CURRENT_H -#define _ASM_SCORE_CURRENT_H - -#include <asm-generic/current.h> - -#endif /* _ASM_SCORE_CURRENT_H */
arch/score/include/asm/delay.h deleted +0 -28
@@ -1,28 +0,0 @@ -#ifndef _ASM_SCORE_DELAY_H -#define _ASM_SCORE_DELAY_H - -#include <asm-generic/param.h> - -static inline void __delay (unsigned long loops) -{ -/* 3 cycles per loop. */ - __asm__ __volatile__ ( -"1:\tsubi\t%0, 3\n\t" -"cmpz.c\t%0\n\t" -"ble\t1b\n\t" - :"=r" (loops) - :"0" (loops)); -} - -static inline void __udelay (unsigned long usecs) -{ -unsigned long loops_per_usec; - - loops_per_usec = (loops_per_jiffy *HZ ) /1000000 ; - -__delay (usecs * loops_per_usec); -} - -#define udelay (usecs) __udelay(usecs) - -#endif /* _ASM_SCORE_DELAY_H */
arch/score/include/asm/device.h deleted +0 -6
@@ -1,6 +0,0 @@ -#ifndef _ASM_SCORE_DEVICE_H -#define _ASM_SCORE_DEVICE_H - -#include <asm-generic/device.h> - -#endif /* _ASM_SCORE_DEVICE_H */
arch/score/include/asm/div64.h deleted +0 -6
@@ -1,6 +0,0 @@ -#ifndef _ASM_SCORE_DIV64_H -#define _ASM_SCORE_DIV64_H - -#include <asm-generic/div64.h> - -#endif /* _ASM_SCORE_DIV64_H */
arch/score/include/asm/dma.h deleted +0 -8
@@ -1,8 +0,0 @@ -#ifndef _ASM_SCORE_DMA_H -#define _ASM_SCORE_DMA_H - -#include <asm/io.h> - -#define MAX_DMA_ADDRESS (0) - -#endif /* _ASM_SCORE_DMA_H */
arch/score/include/asm/elf.h deleted +0 -97
97 lines not on this page · raw message
arch/score/include/asm/emergency-restart.h deleted +0 -6
@@ -1,6 +0,0 @@ -#ifndef _ASM_SCORE_EMERGENCY_RESTART_H -#define _ASM_SCORE_EMERGENCY_RESTART_H - -#include <asm-generic/emergency-restart.h> - -#endif /* _ASM_SCORE_EMERGENCY_RESTART_H */
arch/score/include/asm/exec.h deleted +0 -6
@@ -1,6 +0,0 @@ -#ifndef _ASM_SCORE_EXEC_H -#define _ASM_SCORE_EXEC_H - -extern unsigned long arch_align_stack (unsigned long sp); - -#endif /* _ASM_SCORE_EXEC_H */
arch/score/include/asm/fixmap.h deleted +0 -82
82 lines not on this page · raw message
arch/score/include/asm/ftrace.h deleted +0 -4
@@ -1,4 +0,0 @@ -#ifndef _ASM_SCORE_FTRACE_H -#define _ASM_SCORE_FTRACE_H - -#endif /* _ASM_SCORE_FTRACE_H */
arch/score/include/asm/futex.h deleted +0 -6
@@ -1,6 +0,0 @@ -#ifndef _ASM_SCORE_FUTEX_H -#define _ASM_SCORE_FUTEX_H - -#include <asm-generic/futex.h> - -#endif /* _ASM_SCORE_FUTEX_H */
arch/score/include/asm/hardirq.h deleted +0 -6
@@ -1,6 +0,0 @@ -#ifndef _ASM_SCORE_HARDIRQ_H -#define _ASM_SCORE_HARDIRQ_H - -#include <asm-generic/hardirq.h> - -#endif /* _ASM_SCORE_HARDIRQ_H */
arch/score/include/asm/hw_irq.h deleted +0 -4
@@ -1,4 +0,0 @@ -#ifndef _ASM_SCORE_HW_IRQ_H -#define _ASM_SCORE_HW_IRQ_H - -#endif /* _ASM_SCORE_HW_IRQ_H */
arch/score/include/asm/io.h deleted +0 -9
@@ -1,9 +0,0 @@ -#ifndef _ASM_SCORE_IO_H -#define _ASM_SCORE_IO_H - -#include <asm-generic/io.h> - -#define virt_to_bus virt_to_phys -#define bus_to_virt phys_to_virt - -#endif /* _ASM_SCORE_IO_H */
arch/score/include/asm/irq.h deleted +0 -25
@@ -1,25 +0,0 @@ -#ifndef _ASM_SCORE_IRQ_H -#define _ASM_SCORE_IRQ_H - -#define EXCEPTION_VECTOR_BASE_ADDR 0xa0000000 -#define VECTOR_ADDRESS_OFFSET_MODE4 0 -#define VECTOR_ADDRESS_OFFSET_MODE16 1 - -#define DEBUG_VECTOR_SIZE (0x4) -#define DEBUG_VECTOR_BASE_ADDR ((EXCEPTION_VECTOR_BASE_ADDR) + 0x1fc) - -#define GENERAL_VECTOR_SIZE (0x10) -#define GENERAL_VECTOR_BASE_ADDR ((EXCEPTION_VECTOR_BASE_ADDR) + 0x200) - -#define NR_IRQS 64 -#define IRQ_VECTOR_SIZE (0x10) -#define IRQ_VECTOR_BASE_ADDR ((EXCEPTION_VECTOR_BASE_ADDR) + 0x210) -#define IRQ_VECTOR_END_ADDR ((EXCEPTION_VECTOR_BASE_ADDR) + 0x5f0) - -#define irq_canonicalize (irq) (irq) - -#define IRQ_TIMER (7)/* Timer IRQ number of SPCT6600 */ - -extern void interrupt_exception_vector (void ); - -#endif /* _ASM_SCORE_IRQ_H */
arch/score/include/asm/irq_regs.h deleted +0 -11
@@ -1,11 +0,0 @@ -#ifndef _ASM_SCORE_IRQ_REGS_H -#define _ASM_SCORE_IRQ_REGS_H - -#include <linux/thread_info.h> - -static inline struct pt_regs *get_irq_regs (void ) -{ -return current_thread_info ()->regs; -} - -#endif /* _ASM_SCORE_IRQ_REGS_H */
arch/score/include/asm/irqflags.h deleted +0 -120
120 lines not on this page · raw message
arch/score/include/asm/kdebug.h deleted +0 -6
@@ -1,6 +0,0 @@ -#ifndef _ASM_SCORE_KDEBUG_H -#define _ASM_SCORE_KDEBUG_H - -#include <asm-generic/kdebug.h> - -#endif /* _ASM_SCORE_KDEBUG_H */
arch/score/include/asm/kmap_types.h deleted +0 -6
@@ -1,6 +0,0 @@ -#ifndef _ASM_SCORE_KMAP_TYPES_H -#define _ASM_SCORE_KMAP_TYPES_H - -#include <asm-generic/kmap_types.h> - -#endif /* _ASM_SCORE_KMAP_TYPES_H */
arch/score/include/asm/linkage.h deleted +0 -7
@@ -1,7 +0,0 @@ -#ifndef _ASM_SCORE_LINKAGE_H -#define _ASM_SCORE_LINKAGE_H - -#define __ALIGN .align 2 -#define __ALIGN_STR ".align 2" - -#endif /* _ASM_SCORE_LINKAGE_H */
arch/score/include/asm/local.h deleted +0 -6
@@ -1,6 +0,0 @@ -#ifndef _ASM_SCORE_LOCAL_H -#define _ASM_SCORE_LOCAL_H - -#include <asm-generic/local.h> - -#endif /* _ASM_SCORE_LOCAL_H */
arch/score/include/asm/local64.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/local64.h>
arch/score/include/asm/mmu.h deleted +0 -6
@@ -1,6 +0,0 @@ -#ifndef _ASM_SCORE_MMU_H -#define _ASM_SCORE_MMU_H - -typedef unsigned long mm_context_t ; - -#endif /* _ASM_SCORE_MMU_H */
arch/score/include/asm/mmu_context.h deleted +0 -113
113 lines not on this page · raw message
arch/score/include/asm/module.h deleted +0 -35
@@ -1,35 +0,0 @@ -#ifndef _ASM_SCORE_MODULE_H -#define _ASM_SCORE_MODULE_H - -#include <linux/list.h> -#include <asm/uaccess.h> -#include <asm-generic/module.h> - -struct mod_arch_specific { -/* Data Bus Error exception tables */ -struct list_head dbe_list; -const struct exception_table_entry *dbe_start; -const struct exception_table_entry *dbe_end; -}; - -typedef uint8_t Elf64_Byte ;/* Type for a 8-bit quantity. */ - -/* Given an address, look for it in the exception tables. */ -#ifdef CONFIG_MODULES -const struct exception_table_entry *search_module_dbetables (unsigned long addr); -#else -static inline const struct exception_table_entry -*search_module_dbetables (unsigned long addr) -{ -return NULL ; -} -#endif - -#define MODULE_PROC_FAMILY "SCORE7" -#define MODULE_KERNEL_TYPE "32BIT " -#define MODULE_KERNEL_SMTC "" - -#define MODULE_ARCH_VERMAGIC \ - MODULE_PROC_FAMILY MODULE_KERNEL_TYPE MODULE_KERNEL_SMTC - -#endif /* _ASM_SCORE_MODULE_H */
arch/score/include/asm/mutex.h deleted +0 -6
@@ -1,6 +0,0 @@ -#ifndef _ASM_SCORE_MUTEX_H -#define _ASM_SCORE_MUTEX_H - -#include <asm-generic/mutex-dec.h> - -#endif /* _ASM_SCORE_MUTEX_H */
arch/score/include/asm/page.h deleted +0 -93
93 lines not on this page · raw message
arch/score/include/asm/pci.h deleted +0 -4
@@ -1,4 +0,0 @@ -#ifndef _ASM_SCORE_PCI_H -#define _ASM_SCORE_PCI_H - -#endif /* _ASM_SCORE_PCI_H */
arch/score/include/asm/percpu.h deleted +0 -6
@@ -1,6 +0,0 @@ -#ifndef _ASM_SCORE_PERCPU_H -#define _ASM_SCORE_PERCPU_H - -#include <asm-generic/percpu.h> - -#endif /* _ASM_SCORE_PERCPU_H */
arch/score/include/asm/pgalloc.h deleted +0 -83
83 lines not on this page · raw message
arch/score/include/asm/pgtable-bits.h deleted +0 -25
@@ -1,25 +0,0 @@ -#ifndef _ASM_SCORE_PGTABLE_BITS_H -#define _ASM_SCORE_PGTABLE_BITS_H - -#define _PAGE_ACCESSED (1<<5)/* implemented in software */ -#define _PAGE_READ (1<<6)/* implemented in software */ -#define _PAGE_WRITE (1<<7)/* implemented in software */ -#define _PAGE_PRESENT (1<<9)/* implemented in software */ -#define _PAGE_MODIFIED (1<<10)/* implemented in software */ -#define _PAGE_FILE (1<<10) - -#define _PAGE_GLOBAL (1<<0) -#define _PAGE_VALID (1<<1) -#define _PAGE_SILENT_READ (1<<1)/* synonym */ -#define _PAGE_DIRTY (1<<2)/* Write bit */ -#define _PAGE_SILENT_WRITE (1<<2) -#define _PAGE_CACHE (1<<3)/* cache */ -#define _CACHE_MASK (1<<3) -#define _PAGE_BUFFERABLE (1<<4)/*Fallow Spec. */ - -#define __READABLE (_PAGE_READ | _PAGE_SILENT_READ | _PAGE_ACCESSED) -#define __WRITEABLE (_PAGE_WRITE | _PAGE_SILENT_WRITE | _PAGE_MODIFIED) -#define _PAGE_CHG_MASK \ - (PAGE_MASK | _PAGE_ACCESSED | _PAGE_MODIFIED | _PAGE_CACHE) - -#endif /* _ASM_SCORE_PGTABLE_BITS_H */
arch/score/include/asm/pgtable.h deleted +0 -282
282 lines not on this page · raw message
arch/score/include/asm/processor.h deleted +0 -104
104 lines not on this page · raw message
arch/score/include/asm/ptrace.h deleted +0 -25
@@ -1,25 +0,0 @@ -#ifndef _ASM_SCORE_PTRACE_H -#define _ASM_SCORE_PTRACE_H - -#include <uapi/asm/ptrace.h> - - -struct task_struct ; - -/* -* Does the process account for user or for system time? -*/ -#define user_mode (regs) ((regs->cp0_psr & 8) == 8) - -#define instruction_pointer (regs) ((unsigned long)(regs)->cp0_epc) -#define profile_pc (regs) instruction_pointer(regs) -#define user_stack_pointer (r) ((unsigned long)(r)->regs[0]) - -extern void do_syscall_trace (struct pt_regs *regs,int entryexit); -extern int read_tsk_long (struct task_struct *,unsigned long ,unsigned long *); -extern int read_tsk_short (struct task_struct *,unsigned long , -unsigned short *); - -#define arch_has_single_step () (1) - -#endif /* _ASM_SCORE_PTRACE_H */
arch/score/include/asm/scatterlist.h deleted +0 -6
@@ -1,6 +0,0 @@ -#ifndef _ASM_SCORE_SCATTERLIST_H -#define _ASM_SCORE_SCATTERLIST_H - -#include <asm-generic/scatterlist.h> - -#endif /* _ASM_SCORE_SCATTERLIST_H */
arch/score/include/asm/scoreregs.h deleted +0 -51
51 lines not on this page · raw message
arch/score/include/asm/sections.h deleted +0 -6
@@ -1,6 +0,0 @@ -#ifndef _ASM_SCORE_SECTIONS_H -#define _ASM_SCORE_SECTIONS_H - -#include <asm-generic/sections.h> - -#endif /* _ASM_SCORE_SECTIONS_H */
arch/score/include/asm/segment.h deleted +0 -21
@@ -1,21 +0,0 @@ -#ifndef _ASM_SCORE_SEGMENT_H -#define _ASM_SCORE_SEGMENT_H - -#ifndef __ASSEMBLY__ - -typedef struct { -unsigned long seg; -}mm_segment_t ; - -#define KERNEL_DS ((mm_segment_t){0}) -#define USER_DS KERNEL_DS - -# define get_ds () (KERNEL_DS) -# define get_fs () (current_thread_info()->addr_limit) -# define set_fs (x) \ - do { current_thread_info()->addr_limit = (x); } while (0) - -# define segment_eq (a, b) ((a).seg == (b).seg) - -# endif /* __ASSEMBLY__ */ -#endif /* _ASM_SCORE_SEGMENT_H */
arch/score/include/asm/setup.h deleted +0 -36
@@ -1,36 +0,0 @@ -#ifndef _ASM_SCORE_SETUP_H -#define _ASM_SCORE_SETUP_H - -#include <uapi/asm/setup.h> - - -extern void pagetable_init (void ); -extern void pgd_init (unsigned long page); - -extern void setup_early_printk (void ); -extern void cpu_cache_init (void ); -extern void tlb_init (void ); - -extern void handle_nmi (void ); -extern void handle_adelinsn (void ); -extern void handle_adedata (void ); -extern void handle_ibe (void ); -extern void handle_pel (void ); -extern void handle_sys (void ); -extern void handle_ccu (void ); -extern void handle_ri (void ); -extern void handle_tr (void ); -extern void handle_ades (void ); -extern void handle_cee (void ); -extern void handle_cpe (void ); -extern void handle_dve (void ); -extern void handle_dbe (void ); -extern void handle_reserved (void ); -extern void handle_tlb_refill (void ); -extern void handle_tlb_invaild (void ); -extern void handle_mod (void ); -extern void debug_exception_vector (void ); -extern void general_exception_vector (void ); -extern void interrupt_exception_vector (void ); - -#endif /* _ASM_SCORE_SETUP_H */
arch/score/include/asm/shmparam.h deleted +0 -6
@@ -1,6 +0,0 @@ -#ifndef _ASM_SCORE_SHMPARAM_H -#define _ASM_SCORE_SHMPARAM_H - -#include <asm-generic/shmparam.h> - -#endif /* _ASM_SCORE_SHMPARAM_H */
arch/score/include/asm/string.h deleted +0 -8
@@ -1,8 +0,0 @@ -#ifndef _ASM_SCORE_STRING_H -#define _ASM_SCORE_STRING_H - -extern void *memset (void *__s,int __c,size_t __count); -extern void *memcpy(void *__to, __const__ void *__from, size_t __n); -extern void *memmove(void *__dest, __const__ void *__src, size_t __n); - -#endif /* _ASM_SCORE_STRING_H */
arch/score/include/asm/switch_to.h deleted +0 -13
@@ -1,13 +0,0 @@ -#ifndef _ASM_SCORE_SWITCH_TO_H -#define _ASM_SCORE_SWITCH_TO_H - -extern void *resume (void *last,void *next,void *next_ti); - -#define switch_to (prev, next, last) \ -do { \ - (last) = resume(prev, next, task_thread_info(next)); \ -} while (0) - -#define finish_arch_switch (prev) do {} while (0) - -#endif /* _ASM_SCORE_SWITCH_TO_H */
arch/score/include/asm/syscalls.h deleted +0 -8
@@ -1,8 +0,0 @@ -#ifndef _ASM_SCORE_SYSCALLS_H -#define _ASM_SCORE_SYSCALLS_H - -asmlinkage long score_rt_sigreturn (struct pt_regs *regs); - -#include <asm-generic/syscalls.h> - -#endif /* _ASM_SCORE_SYSCALLS_H */
arch/score/include/asm/thread_info.h deleted +0 -100
100 lines not on this page · raw message
arch/score/include/asm/timex.h deleted +0 -8
@@ -1,8 +0,0 @@ -#ifndef _ASM_SCORE_TIMEX_H -#define _ASM_SCORE_TIMEX_H - -#define CLOCK_TICK_RATE 27000000/* Timer input freq. */ - -#include <asm-generic/timex.h> - -#endif /* _ASM_SCORE_TIMEX_H */
arch/score/include/asm/tlb.h deleted +0 -17
@@ -1,17 +0,0 @@ -#ifndef _ASM_SCORE_TLB_H -#define _ASM_SCORE_TLB_H - -/* -* SCORE doesn't need any special per-pte or per-vma handling, except -* we need to flush cache for area to be unmapped. -*/ -#define tlb_start_vma (tlb, vma) do {} while (0) -#define tlb_end_vma (tlb, vma) do {} while (0) -#define __tlb_remove_tlb_entry (tlb, ptep, address) do {} while (0) -#define tlb_flush (tlb) flush_tlb_mm((tlb)->mm) - -extern void score7_FTLB_refill_Handler (void ); - -#include <asm-generic/tlb.h> - -#endif /* _ASM_SCORE_TLB_H */
arch/score/include/asm/tlbflush.h deleted +0 -142
142 lines not on this page · raw message
arch/score/include/asm/topology.h deleted +0 -6
@@ -1,6 +0,0 @@ -#ifndef _ASM_SCORE_TOPOLOGY_H -#define _ASM_SCORE_TOPOLOGY_H - -#include <asm-generic/topology.h> - -#endif /* _ASM_SCORE_TOPOLOGY_H */
arch/score/include/asm/uaccess.h deleted +0 -424
424 lines not on this page · raw message
arch/score/include/asm/ucontext.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/ucontext.h>
arch/score/include/asm/unaligned.h deleted +0 -6
@@ -1,6 +0,0 @@ -#ifndef _ASM_SCORE_UNALIGNED_H -#define _ASM_SCORE_UNALIGNED_H - -#include <asm-generic/unaligned.h> - -#endif /* _ASM_SCORE_UNALIGNED_H */
arch/score/include/asm/user.h deleted +0 -21
@@ -1,21 +0,0 @@ -#ifndef _ASM_SCORE_USER_H -#define _ASM_SCORE_USER_H - -struct user_regs_struct { -unsigned long regs[32 ]; - -unsigned long cel; -unsigned long ceh; - -unsigned long sr0;/* cnt */ -unsigned long sr1;/* lcr */ -unsigned long sr2;/* scr */ - -unsigned long cp0_epc; -unsigned long cp0_ema; -unsigned long cp0_psr; -unsigned long cp0_ecr; -unsigned long cp0_condition; -}; - -#endif /* _ASM_SCORE_USER_H */
arch/score/include/uapi/asm/Kbuild deleted +0 -34
@@ -1,34 +0,0 @@ -# UAPI Header export list -include include/uapi/asm-generic/Kbuild.asm - -header-y += auxvec.h -header-y += bitsperlong.h -header-y += byteorder.h -header-y += errno.h -header-y += fcntl.h -header-y += ioctl.h -header-y += ioctls.h
Lines of this file are not shown. View the raw message.
arch/score/include/uapi/asm/auxvec.h deleted +0 -4
Lines of this file are not shown. View the raw message.
arch/score/include/uapi/asm/bitsperlong.h deleted +0 -6
Lines of this file are not shown. View the raw message.
arch/score/include/uapi/asm/byteorder.h deleted +0 -6
Lines of this file are not shown. View the raw message.
arch/score/include/uapi/asm/errno.h deleted +0 -6
Lines of this file are not shown. View the raw message.
arch/score/include/uapi/asm/fcntl.h deleted +0 -6
Lines of this file are not shown. View the raw message.
arch/score/include/uapi/asm/ioctl.h deleted +0 -6
Lines of this file are not shown. View the raw message.
arch/score/include/uapi/asm/ioctls.h deleted +0 -6
Lines of this file are not shown. View the raw message.
arch/score/include/uapi/asm/ipcbuf.h deleted +0 -6
Lines of this file are not shown. View the raw message.
arch/score/include/uapi/asm/kvm_para.h deleted +0 -1
Lines of this file are not shown. View the raw message.
arch/score/include/uapi/asm/mman.h deleted +0 -6
Lines of this file are not shown. View the raw message.
arch/score/include/uapi/asm/msgbuf.h deleted +0 -6
Lines of this file are not shown. View the raw message.
arch/score/include/uapi/asm/param.h deleted +0 -6
Lines of this file are not shown. View the raw message.
arch/score/include/uapi/asm/poll.h deleted +0 -6
Lines of this file are not shown. View the raw message.
arch/score/include/uapi/asm/posix_types.h deleted +0 -6
Lines of this file are not shown. View the raw message.
arch/score/include/uapi/asm/ptrace.h deleted +0 -76
76 lines not on this page · raw message
arch/score/include/uapi/asm/resource.h deleted +0 -6
Lines of this file are not shown. View the raw message.
arch/score/include/uapi/asm/sembuf.h deleted +0 -6
Lines of this file are not shown. View the raw message.
arch/score/include/uapi/asm/setup.h deleted +0 -9
Lines of this file are not shown. View the raw message.
arch/score/include/uapi/asm/shmbuf.h deleted +0 -6
Lines of this file are not shown. View the raw message.
arch/score/include/uapi/asm/sigcontext.h deleted +0 -22
Lines of this file are not shown. View the raw message.
arch/score/include/uapi/asm/siginfo.h deleted +0 -6
Lines of this file are not shown. View the raw message.
arch/score/include/uapi/asm/signal.h deleted +0 -6
Lines of this file are not shown. View the raw message.
arch/score/include/uapi/asm/socket.h deleted +0 -6
Lines of this file are not shown. View the raw message.
arch/score/include/uapi/asm/sockios.h deleted +0 -6
Lines of this file are not shown. View the raw message.
arch/score/include/uapi/asm/stat.h deleted +0 -6
Lines of this file are not shown. View the raw message.
arch/score/include/uapi/asm/statfs.h deleted +0 -6
Lines of this file are not shown. View the raw message.
arch/score/include/uapi/asm/swab.h deleted +0 -6
Lines of this file are not shown. View the raw message.
arch/score/include/uapi/asm/termbits.h deleted +0 -6
Lines of this file are not shown. View the raw message.
arch/score/include/uapi/asm/termios.h deleted +0 -6
Lines of this file are not shown. View the raw message.
arch/score/include/uapi/asm/types.h deleted +0 -6
Lines of this file are not shown. View the raw message.
arch/score/include/uapi/asm/unistd.h deleted +0 -11
Lines of this file are not shown. View the raw message.
arch/score/kernel/asm-offsets.c deleted +0 -216
216 lines not on this page · raw message
arch/score/kernel/entry.S deleted +0 -493
493 lines not on this page · raw message
arch/score/kernel/head.S deleted +0 -70
70 lines not on this page · raw message
arch/score/kernel/irq.c deleted +0 -111
111 lines not on this page · raw message
arch/score/kernel/module.c deleted +0 -132
132 lines not on this page · raw message
arch/score/kernel/process.c deleted +0 -123
123 lines not on this page · raw message
arch/score/kernel/ptrace.c deleted +0 -383
383 lines not on this page · raw message
arch/score/kernel/setup.c deleted +0 -162
162 lines not on this page · raw message
arch/score/kernel/signal.c deleted +0 -315
315 lines not on this page · raw message
arch/score/kernel/sys_call_table.c deleted +0 -12
Lines of this file are not shown. View the raw message.
arch/score/kernel/sys_score.c deleted +0 -50
50 lines not on this page · raw message
arch/score/kernel/time.c deleted +0 -99
99 lines not on this page · raw message
arch/score/kernel/traps.c deleted +0 -341
341 lines not on this page · raw message
arch/score/kernel/vmlinux.lds.S deleted +0 -90
90 lines not on this page · raw message
arch/score/lib/ashldi3.c deleted +0 -46
46 lines not on this page · raw message
arch/score/lib/ashrdi3.c deleted +0 -48
48 lines not on this page · raw message
arch/score/lib/checksum.S deleted +0 -255
255 lines not on this page · raw message
arch/score/lib/checksum_copy.c deleted +0 -52
52 lines not on this page · raw message
arch/score/lib/cmpdi2.c deleted +0 -44
44 lines not on this page · raw message
arch/score/lib/lshrdi3.c deleted +0 -47
47 lines not on this page · raw message
arch/score/lib/string.S deleted +0 -184
184 lines not on this page · raw message
arch/score/mm/cache.c deleted +0 -279
279 lines not on this page · raw message
arch/score/mm/fault.c deleted +0 -235
235 lines not on this page · raw message
arch/score/mm/init.c deleted +0 -109
109 lines not on this page · raw message
arch/score/mm/pgtable.c deleted +0 -52
52 lines not on this page · raw message
arch/score/mm/tlb-miss.S deleted +0 -199
199 lines not on this page · raw message
arch/score/mm/tlb-score.c deleted +0 -251
251 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
Signature · 1 line
1.7.9.7
Part of the diff is not shown here. View the raw message.
Quoted 8 lines · Guenter Roeck
The web site associated with the score architecture in
MAINTAINERSis non-functional and available for sale. The last Ack from one of the maintainers was in December 2012. The main maintainer's last commit was in 2011. The last maintainer pull request was early 2011.Cc Lennox Wu <[email protected]>Cc Chen Liqin <[email protected]>Signed-off-by Guenter Roeck <[email protected]>
Quoted 6 lines
---
More housekeeping.Maybe this removal request is a bit early, but architecture support seems to have vanished entirely. At the very least this puts interested parties (if there are any) on notice.
AFAICT, this is the least maintained architecture we have at the moment, and your analysis is correct.
I think it can be removed unless we the maintainers have plans to become more active in the future or someone else steps up to maintain the architecture.
Quoted 10 lines · Arnd Bergmann
Quoted 3 lines
Maybe this removal request is a bit early, but architecture support seems to have vanished entirely. At the very least this puts interested parties (if there are any) on notice.
AFAICT, this is the least maintained architecture we have at the moment, and your analysis is correct.
I think it can be removed unless we the maintainers have plans to become more active in the future or someone else steps up to maintain the architecture.
AFAICS, the architecture is stillborn - they planned to use it in game consoles and stuff like that, but recession has hit the fan just as they were about to do that. Maintainers are not employed there anymore, gcc had a commit updating maintainer address, but the new address is of form ...+gcc@... and no corresponding update of address in the kernel tree has happened. In such situation I would really hesitate to put the new address into MAINTAINERS...
IOW, this is an ex-parrot.
Dear all,
Indeed, Sunplus S+core is not a popular architecture and there is no standalone to be sold so you should not find related news on the Internet. However, the s+core is adopted by our SoCs and these SoCs are indeed adopted by some companies, we hope the architecture can be reserved to provide the more and more powerful Linux for our customers. It is true that we rarely update the code because that we are rarely requested to add new functions and to correct bugs by our customers, and it is also because we have no new product to release. In the near future, we will release some patches for the existed S+core architecture.
2013/8/31 Guenter Roeck <[email protected]>:
Quoted 8,939 lines
The web site associated with the score architecture in
MAINTAINERSis non-functional and available for sale. The last Ack from one of the maintainers was in December 2012. The main maintainer's last commit was in 2011. The last maintainer pull request was early 2011.Cc Lennox Wu <[email protected]>Cc Chen Liqin <[email protected]>Signed-off-by Guenter Roeck <[email protected]>---
More housekeeping.Maybe this removal request is a bit early, but architecture support seems to have vanished entirely. At the very least this puts interested parties (if there are any) on notice.
MAINTAINERS | 7 - arch/score/Kconfig | 113 ------- arch/score/Kconfig.debug | 28 -- arch/score/Makefile | 44 --- arch/score/boot/Makefile | 15 - arch/score/configs/spct6600_defconfig | 85 ----- arch/score/include/asm/Kbuild | 6 - arch/score/include/asm/asm-offsets.h | 1 - arch/score/include/asm/asmmacro.h | 161 --------- arch/score/include/asm/atomic.h | 7 - arch/score/include/asm/barrier.h | 16 - arch/score/include/asm/bitops.h | 15 - arch/score/include/asm/bug.h | 17 - arch/score/include/asm/bugs.h | 6 - arch/score/include/asm/cache.h | 7 - arch/score/include/asm/cacheflush.h | 48 --- arch/score/include/asm/checksum.h | 235 ------------- arch/score/include/asm/cmpxchg.h | 49 --- arch/score/include/asm/cputime.h | 6 - arch/score/include/asm/current.h | 6 - arch/score/include/asm/delay.h | 28 -- arch/score/include/asm/device.h | 6 - arch/score/include/asm/div64.h | 6 - arch/score/include/asm/dma.h | 8 - arch/score/include/asm/elf.h | 97 ------ arch/score/include/asm/emergency-restart.h | 6 - arch/score/include/asm/exec.h | 6 - arch/score/include/asm/fixmap.h | 82 ----- arch/score/include/asm/ftrace.h | 4 - arch/score/include/asm/futex.h | 6 - arch/score/include/asm/hardirq.h | 6 - arch/score/include/asm/hw_irq.h | 4 - arch/score/include/asm/io.h | 9 - arch/score/include/asm/irq.h | 25 -- arch/score/include/asm/irq_regs.h | 11 - arch/score/include/asm/irqflags.h | 120 ------- arch/score/include/asm/kdebug.h | 6 - arch/score/include/asm/kmap_types.h | 6 - arch/score/include/asm/linkage.h | 7 - arch/score/include/asm/local.h | 6 - arch/score/include/asm/local64.h | 1 - arch/score/include/asm/mmu.h | 6 - arch/score/include/asm/mmu_context.h | 113 ------- arch/score/include/asm/module.h | 35 -- arch/score/include/asm/mutex.h | 6 - arch/score/include/asm/page.h | 93 ------ arch/score/include/asm/pci.h | 4 - arch/score/include/asm/percpu.h | 6 - arch/score/include/asm/pgalloc.h | 83 ----- arch/score/include/asm/pgtable-bits.h | 25 -- arch/score/include/asm/pgtable.h | 282 ---------------- arch/score/include/asm/processor.h | 104 ------ arch/score/include/asm/ptrace.h | 25 -- arch/score/include/asm/scatterlist.h | 6 - arch/score/include/asm/scoreregs.h | 51 --- arch/score/include/asm/sections.h | 6 - arch/score/include/asm/segment.h | 21 -- arch/score/include/asm/setup.h | 36 -- arch/score/include/asm/shmparam.h | 6 - arch/score/include/asm/string.h | 8 - arch/score/include/asm/switch_to.h | 13 - arch/score/include/asm/syscalls.h | 8 - arch/score/include/asm/thread_info.h | 100 ------ arch/score/include/asm/timex.h | 8 - arch/score/include/asm/tlb.h | 17 - arch/score/include/asm/tlbflush.h | 142 -------- arch/score/include/asm/topology.h | 6 - arch/score/include/asm/uaccess.h | 424 ------------------------ arch/score/include/asm/ucontext.h | 1 - arch/score/include/asm/unaligned.h | 6 - arch/score/include/asm/user.h | 21 -- arch/score/include/uapi/asm/Kbuild | 34 -- arch/score/include/uapi/asm/auxvec.h | 4 - arch/score/include/uapi/asm/bitsperlong.h | 6 - arch/score/include/uapi/asm/byteorder.h | 6 - arch/score/include/uapi/asm/errno.h | 6 - arch/score/include/uapi/asm/fcntl.h | 6 - arch/score/include/uapi/asm/ioctl.h | 6 - arch/score/include/uapi/asm/ioctls.h | 6 - arch/score/include/uapi/asm/ipcbuf.h | 6 - arch/score/include/uapi/asm/kvm_para.h | 1 - arch/score/include/uapi/asm/mman.h | 6 - arch/score/include/uapi/asm/msgbuf.h | 6 - arch/score/include/uapi/asm/param.h | 6 - arch/score/include/uapi/asm/poll.h | 6 - arch/score/include/uapi/asm/posix_types.h | 6 - arch/score/include/uapi/asm/ptrace.h | 76 ----- arch/score/include/uapi/asm/resource.h | 6 - arch/score/include/uapi/asm/sembuf.h | 6 - arch/score/include/uapi/asm/setup.h | 9 - arch/score/include/uapi/asm/shmbuf.h | 6 - arch/score/include/uapi/asm/sigcontext.h | 22 -- arch/score/include/uapi/asm/siginfo.h | 6 - arch/score/include/uapi/asm/signal.h | 6 - arch/score/include/uapi/asm/socket.h | 6 - arch/score/include/uapi/asm/sockios.h | 6 - arch/score/include/uapi/asm/stat.h | 6 - arch/score/include/uapi/asm/statfs.h | 6 - arch/score/include/uapi/asm/swab.h | 6 - arch/score/include/uapi/asm/termbits.h | 6 - arch/score/include/uapi/asm/termios.h | 6 - arch/score/include/uapi/asm/types.h | 6 - arch/score/include/uapi/asm/unistd.h | 11 - arch/score/kernel/Makefile | 11 - arch/score/kernel/asm-offsets.c | 216 ------------ arch/score/kernel/entry.S | 493 ---------------------------- arch/score/kernel/head.S | 70 ---- arch/score/kernel/irq.c | 111 ------- arch/score/kernel/module.c | 132 -------- arch/score/kernel/process.c | 123 ------- arch/score/kernel/ptrace.c | 383 --------------------- arch/score/kernel/setup.c | 162 --------- arch/score/kernel/signal.c | 315 ------------------ arch/score/kernel/sys_call_table.c | 12 - arch/score/kernel/sys_score.c | 50 --- arch/score/kernel/time.c | 99 ------ arch/score/kernel/traps.c | 341 ------------------- arch/score/kernel/vmlinux.lds.S | 90 ----- arch/score/lib/Makefile | 8 - arch/score/lib/ashldi3.c | 46 --- arch/score/lib/ashrdi3.c | 48 --- arch/score/lib/checksum.S | 255 -------------- arch/score/lib/checksum_copy.c | 52 --- arch/score/lib/cmpdi2.c | 44 --- arch/score/lib/libgcc.h | 37 --- arch/score/lib/lshrdi3.c | 47 --- arch/score/lib/string.S | 184 ----------- arch/score/lib/ucmpdi2.c | 38 --- arch/score/mm/Makefile | 6 - arch/score/mm/cache.c | 279 ---------------- arch/score/mm/extable.c | 38 --- arch/score/mm/fault.c | 235 ------------- arch/score/mm/init.c | 109 ------ arch/score/mm/pgtable.c | 52 --- arch/score/mm/tlb-miss.S | 199 ----------- arch/score/mm/tlb-score.c | 251 -------------- 136 files changed, 7827 deletions(-) delete mode 100644 arch/score/Kconfig delete mode 100644 arch/score/Kconfig.debug delete mode 100644 arch/score/Makefile delete mode 100644 arch/score/boot/Makefile delete mode 100644 arch/score/configs/spct6600_defconfig delete mode 100644 arch/score/include/asm/Kbuild delete mode 100644 arch/score/include/asm/asm-offsets.h delete mode 100644 arch/score/include/asm/asmmacro.h delete mode 100644 arch/score/include/asm/atomic.h delete mode 100644 arch/score/include/asm/barrier.h delete mode 100644 arch/score/include/asm/bitops.h delete mode 100644 arch/score/include/asm/bug.h delete mode 100644 arch/score/include/asm/bugs.h delete mode 100644 arch/score/include/asm/cache.h delete mode 100644 arch/score/include/asm/cacheflush.h delete mode 100644 arch/score/include/asm/checksum.h delete mode 100644 arch/score/include/asm/cmpxchg.h delete mode 100644 arch/score/include/asm/cputime.h delete mode 100644 arch/score/include/asm/current.h delete mode 100644 arch/score/include/asm/delay.h delete mode 100644 arch/score/include/asm/device.h delete mode 100644 arch/score/include/asm/div64.h delete mode 100644 arch/score/include/asm/dma.h delete mode 100644 arch/score/include/asm/elf.h delete mode 100644 arch/score/include/asm/emergency-restart.h delete mode 100644 arch/score/include/asm/exec.h delete mode 100644 arch/score/include/asm/fixmap.h delete mode 100644 arch/score/include/asm/ftrace.h delete mode 100644 arch/score/include/asm/futex.h delete mode 100644 arch/score/include/asm/hardirq.h delete mode 100644 arch/score/include/asm/hw_irq.h delete mode 100644 arch/score/include/asm/io.h delete mode 100644 arch/score/include/asm/irq.h delete mode 100644 arch/score/include/asm/irq_regs.h delete mode 100644 arch/score/include/asm/irqflags.h delete mode 100644 arch/score/include/asm/kdebug.h delete mode 100644 arch/score/include/asm/kmap_types.h delete mode 100644 arch/score/include/asm/linkage.h delete mode 100644 arch/score/include/asm/local.h delete mode 100644 arch/score/include/asm/local64.h delete mode 100644 arch/score/include/asm/mmu.h delete mode 100644 arch/score/include/asm/mmu_context.h delete mode 100644 arch/score/include/asm/module.h delete mode 100644 arch/score/include/asm/mutex.h delete mode 100644 arch/score/include/asm/page.h delete mode 100644 arch/score/include/asm/pci.h delete mode 100644 arch/score/include/asm/percpu.h delete mode 100644 arch/score/include/asm/pgalloc.h delete mode 100644 arch/score/include/asm/pgtable-bits.h delete mode 100644 arch/score/include/asm/pgtable.h delete mode 100644 arch/score/include/asm/processor.h delete mode 100644 arch/score/include/asm/ptrace.h delete mode 100644 arch/score/include/asm/scatterlist.h delete mode 100644 arch/score/include/asm/scoreregs.h delete mode 100644 arch/score/include/asm/sections.h delete mode 100644 arch/score/include/asm/segment.h delete mode 100644 arch/score/include/asm/setup.h delete mode 100644 arch/score/include/asm/shmparam.h delete mode 100644 arch/score/include/asm/string.h delete mode 100644 arch/score/include/asm/switch_to.h delete mode 100644 arch/score/include/asm/syscalls.h delete mode 100644 arch/score/include/asm/thread_info.h delete mode 100644 arch/score/include/asm/timex.h delete mode 100644 arch/score/include/asm/tlb.h delete mode 100644 arch/score/include/asm/tlbflush.h delete mode 100644 arch/score/include/asm/topology.h delete mode 100644 arch/score/include/asm/uaccess.h delete mode 100644 arch/score/include/asm/ucontext.h delete mode 100644 arch/score/include/asm/unaligned.h delete mode 100644 arch/score/include/asm/user.h delete mode 100644 arch/score/include/uapi/asm/Kbuild delete mode 100644 arch/score/include/uapi/asm/auxvec.h delete mode 100644 arch/score/include/uapi/asm/bitsperlong.h delete mode 100644 arch/score/include/uapi/asm/byteorder.h delete mode 100644 arch/score/include/uapi/asm/errno.h delete mode 100644 arch/score/include/uapi/asm/fcntl.h delete mode 100644 arch/score/include/uapi/asm/ioctl.h delete mode 100644 arch/score/include/uapi/asm/ioctls.h delete mode 100644 arch/score/include/uapi/asm/ipcbuf.h delete mode 100644 arch/score/include/uapi/asm/kvm_para.h delete mode 100644 arch/score/include/uapi/asm/mman.h delete mode 100644 arch/score/include/uapi/asm/msgbuf.h delete mode 100644 arch/score/include/uapi/asm/param.h delete mode 100644 arch/score/include/uapi/asm/poll.h delete mode 100644 arch/score/include/uapi/asm/posix_types.h delete mode 100644 arch/score/include/uapi/asm/ptrace.h delete mode 100644 arch/score/include/uapi/asm/resource.h delete mode 100644 arch/score/include/uapi/asm/sembuf.h delete mode 100644 arch/score/include/uapi/asm/setup.h delete mode 100644 arch/score/include/uapi/asm/shmbuf.h delete mode 100644 arch/score/include/uapi/asm/sigcontext.h delete mode 100644 arch/score/include/uapi/asm/siginfo.h delete mode 100644 arch/score/include/uapi/asm/signal.h delete mode 100644 arch/score/include/uapi/asm/socket.h delete mode 100644 arch/score/include/uapi/asm/sockios.h delete mode 100644 arch/score/include/uapi/asm/stat.h delete mode 100644 arch/score/include/uapi/asm/statfs.h delete mode 100644 arch/score/include/uapi/asm/swab.h delete mode 100644 arch/score/include/uapi/asm/termbits.h delete mode 100644 arch/score/include/uapi/asm/termios.h delete mode 100644 arch/score/include/uapi/asm/types.h delete mode 100644 arch/score/include/uapi/asm/unistd.h delete mode 100644 arch/score/kernel/Makefile delete mode 100644 arch/score/kernel/asm-offsets.c delete mode 100644 arch/score/kernel/entry.S delete mode 100644 arch/score/kernel/head.S delete mode 100644 arch/score/kernel/irq.c delete mode 100644 arch/score/kernel/module.c delete mode 100644 arch/score/kernel/process.c delete mode 100644 arch/score/kernel/ptrace.c delete mode 100644 arch/score/kernel/setup.c delete mode 100644 arch/score/kernel/signal.c delete mode 100644 arch/score/kernel/sys_call_table.c delete mode 100644 arch/score/kernel/sys_score.c delete mode 100644 arch/score/kernel/time.c delete mode 100644 arch/score/kernel/traps.c delete mode 100644 arch/score/kernel/vmlinux.lds.S delete mode 100644 arch/score/lib/Makefile delete mode 100644 arch/score/lib/ashldi3.c delete mode 100644 arch/score/lib/ashrdi3.c delete mode 100644 arch/score/lib/checksum.S delete mode 100644 arch/score/lib/checksum_copy.c delete mode 100644 arch/score/lib/cmpdi2.c delete mode 100644 arch/score/lib/libgcc.h delete mode 100644 arch/score/lib/lshrdi3.c delete mode 100644 arch/score/lib/string.S delete mode 100644 arch/score/lib/ucmpdi2.c delete mode 100644 arch/score/mm/Makefile delete mode 100644 arch/score/mm/cache.c delete mode 100644 arch/score/mm/extable.c delete mode 100644 arch/score/mm/fault.c delete mode 100644 arch/score/mm/init.c delete mode 100644 arch/score/mm/pgtable.c delete mode 100644 arch/score/mm/tlb-miss.S delete mode 100644 arch/score/mm/tlb-score.cMAINTAINERS +0
-7@@ -7178,13 +7178,6 @@ F: kernel/sched/ F: include/linux/sched.h F: include/uapi/linux/sched.h -SCORE ARCHITECTURE -M: Chen Liqin <[email protected]> -M: Lennox Wu <[email protected]> -W: http://www.sunplusct.com -S: Supported -F: arch/score/ - SCSI CDROM DRIVER M: Jens Axboe <[email protected]> L: [email protected]arch/score/Kconfig deleted +0
-113@@ -1,113 +0,0 @@ -menu "Machine selection" - -config SCORE - def_bool y - select HAVE_GENERIC_HARDIRQS - select GENERIC_IRQ_SHOW - select GENERIC_IOMAP - select GENERIC_ATOMIC64 - select HAVE_MEMBLOCK - select HAVE_MEMBLOCK_NODE_MAP - select ARCH_DISCARD_MEMBLOCK - select GENERIC_CPU_DEVICES - select GENERIC_CLOCKEVENTS - select HAVE_MOD_ARCH_SPECIFIC - select VIRT_TO_BUS - select MODULES_USE_ELF_REL - select CLONE_BACKWARDS - -choice - prompt "System type" - default MACH_SPCT6600 - -config ARCH_SCORE7 - bool "SCORE7 processor" - select SYS_SUPPORTS_32BIT_KERNEL - select CPU_SCORE7 - select GENERIC_HAS_IOMAP - -config MACH_SPCT6600 - bool "SPCT6600 series based machines" - select SYS_SUPPORTS_32BIT_KERNEL - select CPU_SCORE7 - select GENERIC_HAS_IOMAP - -config SCORE_SIM - bool "Score simulator" - select SYS_SUPPORTS_32BIT_KERNEL - select CPU_SCORE7 - select GENERIC_HAS_IOMAP -endchoice - -endmenu - -config CPU_SCORE7 - bool - -config NO_DMA - bool - default y - -config RWSEM_GENERIC_SPINLOCK - def_bool y - -config GENERIC_HWEIGHT - def_bool y - -config GENERIC_CALIBRATE_DELAY - def_bool y - -menu "Kernel type" - -config 32BIT - def_bool y - -config ARCH_FLATMEM_ENABLE - def_bool y - -source "mm/Kconfig" - -config MEMORY_START - hex - default 0xa0000000 - -source "kernel/Kconfig.hz" -source "kernel/Kconfig.preempt" - -endmenu - -config RWSEM_GENERIC_SPINLOCK - def_bool y - -config LOCKDEP_SUPPORT - def_bool y - -config STACKTRACE_SUPPORT - def_bool y - -source "init/Kconfig" - -source "kernel/Kconfig.freezer" - -config MMU - def_bool y - -menu "Executable file formats" - -source "fs/Kconfig.binfmt" - -endmenu - -source "net/Kconfig" - -source "drivers/Kconfig" - -source "fs/Kconfig" - -source "arch/score/Kconfig.debug" - -source "security/Kconfig" - -source "crypto/Kconfig" - -source "lib/Kconfig"arch/score/Kconfig.debug deleted +0
-28@@ -1,28 +0,0 @@ -menu "Kernel hacking" - -config TRACE_IRQFLAGS_SUPPORT - bool - default y - -source "lib/Kconfig.debug" - -config CMDLINE - string "Default kernel command string" - default "" - help - On some platforms, there is currently no way for the boot loader to - pass arguments to the kernel. For these platforms, you can supply - some command-line options at build time by entering them here. In - other cases you can specify kernel args so that you don't have - to set them up in board prom initialization routines. - -config RUNTIME_DEBUG - bool "Enable run-time debugging" - depends on DEBUG_KERNEL - help - If you say Y here, some debugging macros will do run-time checking. - If you say N here, those macros will mostly turn to no-ops. See - include/asm-score/debug.h for debugging macros. - If unsure, say N. - -endmenuarch/score/Makefile deleted +0
-44@@ -1,44 +0,0 @@ -# -# arch/score/Makefile -# -# This file is subject to the terms and conditions of the GNU General Public -# License. See the file "COPYING" in the main directory of this archive -# for more details. -# - -KBUILD_DEFCONFIG := spct6600_defconfig -CROSS_COMPILE := score-linux- - -# -# CPU-dependent compiler/assembler options for optimization. -# -cflags-y += -G0 -pipe -mel -mnhwloop -D__SCOREEL__ \ - -D__linux__ -ffunction-sections -ffreestanding - -# -# Board-dependent options and extra files -# -KBUILD_AFLAGS += $(cflags-y) -KBUILD_CFLAGS += $(cflags-y) -KBUILD_AFLAGS_MODULE += -mlong-calls -KBUILD_CFLAGS_MODULE += -mlong-calls -LDFLAGS += --oformat elf32-littlescore -LDFLAGS_vmlinux += -G0 -static -nostdlib - -head-y := arch/score/kernel/head.o -libs-y += arch/score/lib/ -core-y += arch/score/kernel/ arch/score/mm/ - -boot := arch/score/boot - -vmlinux.bin: vmlinux - $(Q)$(MAKE) $(build)=$(boot) $(boot)/$@ - -archclean: - @$(MAKE) $(clean)=$(boot) - -define archhelp - echo ' vmlinux.bin - Raw binary boot image' - echo - echo ' These will be default as appropriate for a configured platform.' -endefarch/score/boot/Makefile deleted +0
-15@@ -1,15 +0,0 @@ -# -# arch/score/boot/Makefile -# -# This file is subject to the terms and conditions of the GNU General Public -# License. See the file "COPYING" in the main directory of this archive -# for more details. -# - -targets := vmlinux.bin - -$(obj)/vmlinux.bin: vmlinux FORCE - $(call if_changed,objcopy) - @echo 'Kernel: $@ is ready' ' (#'`cat .version`')' - -clean-files += vmlinux.binarch/score/configs/spct6600_defconfig deleted +0
-85@@ -1,85 +0,0 @@ -CONFIG_HZ_100=y -CONFIG_PREEMPT_VOLUNTARY=y -CONFIG_EXPERIMENTAL=y -# CONFIG_LOCALVERSION_AUTO is not set -CONFIG_SYSVIPC=y -CONFIG_POSIX_MQUEUE=y -CONFIG_BSD_PROCESS_ACCT=y -CONFIG_LOG_BUF_SHIFT=12 -CONFIG_SYSFS_DEPRECATED_V2=y -CONFIG_BLK_DEV_INITRD=y -# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set -CONFIG_EXPERT=y -# CONFIG_KALLSYMS is not set -# CONFIG_HOTPLUG is not set -CONFIG_SLAB=y -CONFIG_MODULES=y -CONFIG_MODULE_FORCE_LOAD=y -CONFIG_MODULE_UNLOAD=y -CONFIG_MODULE_FORCE_UNLOAD=y -# CONFIG_BLK_DEV_BSG is not set -CONFIG_BINFMT_MISC=y -CONFIG_NET=y -CONFIG_UNIX=y -CONFIG_NET_KEY=y -CONFIG_INET=y -CONFIG_IP_MULTICAST=y -CONFIG_ARPD=y -# CONFIG_INET_LRO is not set -# CONFIG_IPV6 is not set -# CONFIG_STANDALONE is not set -# CONFIG_PREVENT_FIRMWARE_BUILD is not set -CONFIG_BLK_DEV_LOOP=y -CONFIG_BLK_DEV_CRYPTOLOOP=y -CONFIG_BLK_DEV_RAM=y -CONFIG_BLK_DEV_RAM_COUNT=1 -# CONFIG_MISC_DEVICES is not set -CONFIG_NETDEVICES=y -# CONFIG_NETDEV_1000 is not set -# CONFIG_NETDEV_10000 is not set -# CONFIG_INPUT_MOUSEDEV is not set -# CONFIG_INPUT_KEYBOARD is not set -# CONFIG_INPUT_MOUSE is not set -# CONFIG_SERIO is not set -CONFIG_SERIAL_NONSTANDARD=y -CONFIG_STALDRV=y -# CONFIG_HW_RANDOM is not set -CONFIG_RAW_DRIVER=y -CONFIG_MAX_RAW_DEVS=8192 -# CONFIG_HWMON is not set -# CONFIG_VGA_CONSOLE is not set -# CONFIG_HID_SUPPORT is not set -# CONFIG_USB_SUPPORT is not set -CONFIG_EXT2_FS=y -CONFIG_EXT2_FS_XATTR=y -CONFIG_EXT2_FS_POSIX_ACL=y -CONFIG_EXT3_FS=y -# CONFIG_EXT3_DEFAULTS_TO_ORDERED is not set -CONFIG_EXT3_FS_POSIX_ACL=y -CONFIG_AUTOFS_FS=y -CONFIG_AUTOFS4_FS=y -CONFIG_PROC_KCORE=y -# CONFIG_PROC_PAGE_MONITOR is not set -CONFIG_TMPFS=y -CONFIG_TMPFS_POSIX_ACL=y -CONFIG_NFS_FS=y -CONFIG_NFS_V3=y -CONFIG_NFS_V3_ACL=y -CONFIG_NFS_V4=y -CONFIG_NFSD=y -CONFIG_NFSD_V3_ACL=y -CONFIG_NFSD_V4=y -# CONFIG_RCU_CPU_STALL_DETECTOR is not set -CONFIG_KEYS_DEBUG_PROC_KEYS=y -CONFIG_SECURITY=y -CONFIG_SECURITY_NETWORK=y -CONFIG_CRYPTO_NULL=y -CONFIG_CRYPTO_CRYPTD=y -CONFIG_CRYPTO_SEQIV=y -CONFIG_CRYPTO_MD4=y -CONFIG_CRYPTO_MICHAEL_MIC=y -# CONFIG_CRYPTO_ANSI_CPRNG is not set -# CONFIG_CRYPTO_HW is not set -CONFIG_CRC_CCITT=y -CONFIG_CRC16=y -CONFIG_LIBCRC32C=yarch/score/include/asm/Kbuild deleted +0
-6@@ -1,6 +0,0 @@ - -header-y += - -generic-y += clkdev.h -generic-y += trace_clock.h -generic-y += xor.harch/score/include/asm/asm-offsets.h deleted +0
-1@@ -1 +0,0 @@ -#include <generated/asm-offsets.h> arch/score/include/asm/asmmacro.h deleted +0
-161@@ -1,161 +0,0 @@ -#ifndef _ASM_SCORE_ASMMACRO_H -#define _ASM_SCORE_ASMMACRO_H - -#include <asm/asm-offsets.h> - -#ifdef __ASSEMBLY__ - -.macro SAVE_ALL - mfcr r30, cr0 - mv r31, r0 - nop - /* if UMs == 1, change stack. */ - slli.c r30, r30, 28 - bpl 1f - la r31, kernelsp - lw r31, [r31] -1: - mv r30, r0 - addri r0, r31, -PT_SIZE - - sw r30, [r0, PT_R0] - .set r1 - sw r1, [r0, PT_R1] - .set nor1 - sw r2, [r0, PT_R2] - sw r3, [r0, PT_R3] - sw r4, [r0, PT_R4] - sw r5, [r0, PT_R5] - sw r6, [r0, PT_R6] - sw r7, [r0, PT_R7] - - sw r8, [r0, PT_R8] - sw r9, [r0, PT_R9] - sw r10, [r0, PT_R10] - sw r11, [r0, PT_R11] - sw r12, [r0, PT_R12] - sw r13, [r0, PT_R13] - sw r14, [r0, PT_R14] - sw r15, [r0, PT_R15] - - sw r16, [r0, PT_R16] - sw r17, [r0, PT_R17] - sw r18, [r0, PT_R18] - sw r19, [r0, PT_R19] - sw r20, [r0, PT_R20] - sw r21, [r0, PT_R21] - sw r22, [r0, PT_R22] - sw r23, [r0, PT_R23] - - sw r24, [r0, PT_R24] - sw r25, [r0, PT_R25] - sw r25, [r0, PT_R25] - sw r26, [r0, PT_R26] - sw r27, [r0, PT_R27] - - sw r28, [r0, PT_R28] - sw r29, [r0, PT_R29] - orri r28, r0, 0x1fff - li r31, 0x00001fff - xor r28, r28, r31 - - mfcehl r30, r31 - sw r30, [r0, PT_CEH] - sw r31, [r0, PT_CEL] - - mfcr r31, cr0 - sw r31, [r0, PT_PSR] - - mfcr r31, cr1 - sw r31, [r0, PT_CONDITION] - - mfcr r31, cr2 - sw r31, [r0, PT_ECR] - - mfcr r31, cr5 - srli r31, r31, 1 - slli r31, r31, 1 - sw r31, [r0, PT_EPC] -.endm - -.macro RESTORE_ALL_AND_RET - mfcr r30, cr0 - srli r30, r30, 1 - slli r30, r30, 1 - mtcr r30, cr0 - nop - nop - nop - nop - nop - - .set r1 - ldis r1, 0x00ff - and r30, r30, r1 - not r1, r1 - lw r31, [r0, PT_PSR] - and r31, r31, r1 - .set nor1 - or r31, r31, r30 - mtcr r31, cr0 - nop - nop - nop - nop - nop - - lw r30, [r0, PT_CONDITION] - mtcr r30, cr1 - nop - nop - nop - nop - nop - - lw r30, [r0, PT_CEH] - lw r31, [r0, PT_CEL] - mtcehl r30, r31 - - .set r1 - lw r1, [r0, PT_R1] - .set nor1 - lw r2, [r0, PT_R2] - lw r3, [r0, PT_R3] - lw r4, [r0, PT_R4] - lw r5, [r0, PT_R5] - lw r6, [r0, PT_R6] - lw r7, [r0, PT_R7] - - lw r8, [r0, PT_R8] - lw r9, [r0, PT_R9] - lw r10, [r0, PT_R10] - lw r11, [r0, PT_R11] - lw r12, [r0, PT_R12] - lw r13, [r0, PT_R13] - lw r14, [r0, PT_R14] - lw r15, [r0, PT_R15] - - lw r16, [r0, PT_R16] - lw r17, [r0, PT_R17] - lw r18, [r0, PT_R18] - lw r19, [r0, PT_R19] - lw r20, [r0, PT_R20] - lw r21, [r0, PT_R21] - lw r22, [r0, PT_R22] - lw r23, [r0, PT_R23] - - lw r24, [r0, PT_R24] - lw r25, [r0, PT_R25] - lw r26, [r0, PT_R26] - lw r27, [r0, PT_R27] - lw r28, [r0, PT_R28] - lw r29, [r0, PT_R29] - - lw r30, [r0, PT_EPC] - lw r0, [r0, PT_R0] - mtcr r30, cr5 - rte -.endm - -#endif /* __ASSEMBLY__ */ -#endif /* _ASM_SCORE_ASMMACRO_H */arch/score/include/asm/atomic.h deleted +0
-7@@ -1,7 +0,0 @@ -#ifndef _ASM_SCORE_ATOMIC_H -#define _ASM_SCORE_ATOMIC_H - -#include <asm/cmpxchg.h> -#include <asm-generic/atomic.h> - -#endif /* _ASM_SCORE_ATOMIC_H */ arch/score/include/asm/barrier.h deleted +0
-16@@ -1,16 +0,0 @@ -#ifndef _ASM_SCORE_BARRIER_H -#define _ASM_SCORE_BARRIER_H - -#define mb () barrier() -#define rmb () barrier() -#define wmb () barrier() -#define smp_mb () barrier() -#define smp_rmb () barrier() -#define smp_wmb () barrier() - -#define read_barrier_depends () do {} while (0) -#define smp_read_barrier_depends () do {} while (0) - -#define set_mb (var, value) do {var = value; wmb(); } while (0) - -#endif /* _ASM_SCORE_BARRIER_H */ arch/score/include/asm/bitops.h deleted +0
-15@@ -1,15 +0,0 @@ -#ifndef _ASM_SCORE_BITOPS_H -#define _ASM_SCORE_BITOPS_H - -#include <asm/byteorder.h> /* swab32 */ - -/* -* clear_bit() doesn't provide any barrier for the compiler. -*/ -#define smp_mb__before_clear_bit () barrier() -#define smp_mb__after_clear_bit () barrier() - -#include <asm-generic/bitops.h> -#include <asm-generic/bitops/__fls.h> - -#endif /* _ASM_SCORE_BITOPS_H */ arch/score/include/asm/bug.h deleted +0
-17@@ -1,17 +0,0 @@ -#ifndef _ASM_SCORE_BUG_H -#define _ASM_SCORE_BUG_H - -#include <asm-generic/bug.h> - -struct pt_regs ; -extern void __die (const char *,struct pt_regs *,const char *, -const char *,unsigned long ) __attribute__((noreturn)); -extern void __die_if_kernel (const char *,struct pt_regs *,const char *, -const char *,unsigned long ); - -#define die (msg, regs) \ - __die(msg, regs, __FILE__ ":", __func__, __LINE__) -#define die_if_kernel (msg, regs) \ - __die_if_kernel(msg, regs, __FILE__ ":", __func__, __LINE__) - -#endif /* _ASM_SCORE_BUG_H */ arch/score/include/asm/bugs.h deleted +0
-6@@ -1,6 +0,0 @@ -#ifndef _ASM_SCORE_BUGS_H -#define _ASM_SCORE_BUGS_H - -#include <asm-generic/bugs.h> - -#endif /* _ASM_SCORE_BUGS_H */ arch/score/include/asm/cache.h deleted +0
-7@@ -1,7 +0,0 @@ -#ifndef _ASM_SCORE_CACHE_H -#define _ASM_SCORE_CACHE_H - -#define L1_CACHE_SHIFT 4 -#define L1_CACHE_BYTES (1 << L1_CACHE_SHIFT) - -#endif /* _ASM_SCORE_CACHE_H */ arch/score/include/asm/cacheflush.h deleted +0
-48@@ -1,48 +0,0 @@ -#ifndef _ASM_SCORE_CACHEFLUSH_H -#define _ASM_SCORE_CACHEFLUSH_H - -/* Keep includes the same across arches. */ -#include <linux/mm.h> - -extern void flush_cache_all (void ); -extern void flush_cache_mm (struct mm_struct *mm); -extern void flush_cache_range (struct vm_area_struct *vma, -unsigned long start,unsigned long end); -extern void flush_cache_page (struct vm_area_struct *vma, -unsigned long page,unsigned long pfn); -extern void flush_cache_sigtramp (unsigned long addr); -extern void flush_icache_all (void ); -extern void flush_icache_range (unsigned long start,unsigned long end); -extern void flush_dcache_range (unsigned long start,unsigned long end); -extern void flush_dcache_page (struct page *page); - -#define PG_dcache_dirty PG_arch_1 - -#define flush_cache_dup_mm (mm) do {} while (0) -#define ARCH_IMPLEMENTS_FLUSH_DCACHE_PAGE 0 -#define flush_dcache_mmap_lock (mapping) do {} while (0) -#define flush_dcache_mmap_unlock (mapping) do {} while (0) -#define flush_cache_vmap (start, end) do {} while (0) -#define flush_cache_vunmap (start, end) do {} while (0) - -static inline void flush_icache_page (struct vm_area_struct *vma, -struct page *page) -{ -if (vma->vm_flags &VM_EXEC ) { -void *v =page_address (page); -flush_icache_range ((unsigned long ) v, - (unsigned long ) v +PAGE_SIZE ); - } -} - -#define copy_from_user_page (vma, page, vaddr, dst, src, len) \ - memcpy(dst, src, len) - -#define copy_to_user_page (vma, page, vaddr, dst, src, len) \ - do { \ - memcpy(dst, src, len); \ - if ((vma->vm_flags & VM_EXEC)) \ - flush_cache_page(vma, vaddr, page_to_pfn(page));\ - } while (0) - -#endif /* _ASM_SCORE_CACHEFLUSH_H */ arch/score/include/asm/checksum.h deleted +0
-235@@ -1,235 +0,0 @@ -#ifndef _ASM_SCORE_CHECKSUM_H -#define _ASM_SCORE_CHECKSUM_H - -#include <linux/in6.h> -#include <asm/uaccess.h> - -/* -* computes the checksum of a memory block at buff, length len, -* and adds in "sum" (32-bit) -* -* returns a 32-bit number suitable for feeding into itself -* or csum_tcpudp_magic -* -* this function must be called with even lengths, except -* for the last fragment, which may be odd -* -* it's best to have buff aligned on a 32-bit boundary -*/ -unsigned int csum_partial (const void *buff,int len,__wsum sum); -unsigned int csum_partial_copy_from_user (const char *src,char *dst,int len, -unsigned int sum,int *csum_err); -unsigned int csum_partial_copy (const char *src,char *dst, -int len,unsigned int sum); - -/* -* this is a new version of the above that records errors it finds in *errp, -* but continues and zeros the rest of the buffer. -*/ - -/* -* Copy and checksum to user -*/ -#define HAVE_CSUM_COPY_USER -static inline -__wsum csum_and_copy_to_user (const void *src,void __user *dst,int len, -__wsum sum,int *err_ptr) -{ - sum =csum_partial (src, len, sum); -if (copy_to_user (dst, src, len)) { - *err_ptr = -EFAULT ; -return (__force __wsum) -1 ;/* invalid checksum */ - } -return sum; -} - - -#define csum_partial_copy_nocheck csum_partial_copy -/* -* Fold a partial checksum without adding pseudo headers -*/ - -static inline __sum16 csum_fold (__wsum sum) -{ -/* the while loop is unnecessary really, it's always enough with two -iterations */ - __asm__ __volatile__( -".set volatile\n\t" -".set\tr1\n\t" -"slli\tr1,%0, 16\n\t" -"add\t%0,%0, r1\n\t" -"cmp.c\tr1, %0\n\t" -"srli\t%0, %0, 16\n\t" -"bleu\t1f\n\t" -"addi\t%0, 0x1\n\t" -"1:ldi\tr30, 0xffff\n\t" -"xor\t%0, %0, r30\n\t" -"slli\t%0, %0, 16\n\t" -"srli\t%0, %0, 16\n\t" -".set\tnor1\n\t" -".set optimize\n\t" - :"=r" (sum) - :"0" (sum)); -return sum; -} - -/* -* This is a version of ip_compute_csum() optimized for IP headers, -* which always checksum on 4 octet boundaries. -* -* By Jorge Cwik <[email protected]>, adapted for linux by -* Arnt Gulbrandsen. -*/ -static inline __sum16 ip_fast_csum (const void *iph,unsigned int ihl) -{ -unsigned int sum; -unsigned long dummy; - - __asm__ __volatile__( -".set volatile\n\t" -".set\tnor1\n\t" -"lw\t%0, [%1]\n\t" -"subri\t%2, %2, 4\n\t" -"slli\t%2, %2, 2\n\t" -"lw\t%3, [%1, 4]\n\t" -"add\t%2, %2, %1\n\t" -"add\t%0, %0, %3\n\t" -"cmp.c\t%3, %0\n\t" -"lw\t%3, [%1, 8]\n\t" -"bleu\t1f\n\t" -"addi\t%0, 0x1\n\t" -"1:\n\t" -"add\t%0, %0, %3\n\t" -"cmp.c\t%3, %0\n\t" -"lw\t%3, [%1, 12]\n\t" -"bleu\t1f\n\t" -"addi\t%0, 0x1\n\t" -"1:add\t%0, %0, %3\n\t" -"cmp.c\t%3, %0\n\t" -"bleu\t1f\n\t" -"addi\t%0, 0x1\n" - -"1:\tlw\t%3, [%1, 16]\n\t" -"addi\t%1, 4\n\t" -"add\t%0, %0, %3\n\t" -"cmp.c\t%3, %0\n\t" -"bleu\t2f\n\t" -"addi\t%0, 0x1\n" -"2:cmp.c\t%2, %1\n\t" -"bne\t1b\n\t" - -".set\tr1\n\t" -".set optimize\n\t" - :"=&r" (sum),"=&r" (iph),"=&r" (ihl),"=&r" (dummy) - :"1" (iph),"2" (ihl)); - -return csum_fold (sum); -} - -static inline __wsum -csum_tcpudp_nofold (__be32 saddr,__be32 daddr,unsigned short len, -unsigned short proto,__wsum sum) -{ -unsigned long tmp = (ntohs (len) <<16 ) + proto *256 ; - __asm__ __volatile__( -".set volatile\n\t" -"add\t%0, %0, %2\n\t" -"cmp.c\t%2, %0\n\t" -"bleu\t1f\n\t" -"addi\t%0, 0x1\n\t" -"1:\n\t" -"add\t%0, %0, %3\n\t" -"cmp.c\t%3, %0\n\t" -"bleu\t1f\n\t" -"addi\t%0, 0x1\n\t" -"1:\n\t" -"add\t%0, %0, %4\n\t" -"cmp.c\t%4, %0\n\t" -"bleu\t1f\n\t" -"addi\t%0, 0x1\n\t" -"1:\n\t" -".set optimize\n\t" - :"=r" (sum) - :"0" (daddr),"r" (saddr), -"r" (tmp), -"r" (sum)); -return sum; -} - -/* -* computes the checksum of the TCP/UDP pseudo-header -* returns a 16-bit checksum, already complemented -*/ -static inline __sum16 -csum_tcpudp_magic (__be32 saddr,__be32 daddr,unsigned short len, -unsigned short proto,__wsum sum) -{ -return csum_fold (csum_tcpudp_nofold (saddr, daddr, len, proto, sum)); -} - -/* -* this routine is used for miscellaneous IP-like checksums, mainly -* in icmp.c -*/ - -static inline unsigned short ip_compute_csum (const void *buff,int len) -{ -return csum_fold (csum_partial (buff, len,0 )); -} - -#define _HAVE_ARCH_IPV6_CSUM -static inline __sum16 csum_ipv6_magic (const struct in6_addr *saddr, -const struct in6_addr *daddr, -__u32 len,unsigned short proto, -__wsum sum) -{ - __asm__ __volatile__( -".set\tnoreorder\t\t\t# csum_ipv6_magic\n\t" -".set\tnoat\n\t" -"addu\t%0, %5\t\t\t# proto (long in network byte order)\n\t" -"sltu\t$1, %0, %5\n\t" -"addu\t%0, $1\n\t" -"addu\t%0, %6\t\t\t# csum\n\t" -"sltu\t$1, %0, %6\n\t" -"lw\t%1, 0(%2)\t\t\t# four words source address\n\t" -"addu\t%0, $1\n\t" -"addu\t%0, %1\n\t" -"sltu\t$1, %0, %1\n\t" -"lw\t%1, 4(%2)\n\t" -"addu\t%0, $1\n\t" -"addu\t%0, %1\n\t" -"sltu\t$1, %0, %1\n\t" -"lw\t%1, 8(%2)\n\t" -"addu\t%0, $1\n\t" -"addu\t%0, %1\n\t" -"sltu\t$1, %0, %1\n\t" -"lw\t%1, 12(%2)\n\t" -"addu\t%0, $1\n\t" -"addu\t%0, %1\n\t" -"sltu\t$1, %0, %1\n\t" -"lw\t%1, 0(%3)\n\t" -"addu\t%0, $1\n\t" -"addu\t%0, %1\n\t" -"sltu\t$1, %0, %1\n\t" -"lw\t%1, 4(%3)\n\t" -"addu\t%0, $1\n\t" -"addu\t%0, %1\n\t" -"sltu\t$1, %0, %1\n\t" -"lw\t%1, 8(%3)\n\t" -"addu\t%0, $1\n\t" -"addu\t%0, %1\n\t" -"sltu\t$1, %0, %1\n\t" -"lw\t%1, 12(%3)\n\t" -"addu\t%0, $1\n\t" -"addu\t%0, %1\n\t" -"sltu\t$1, %0, %1\n\t" -"addu\t%0, $1\t\t\t# Add final carry\n\t" -".set\tnoat\n\t" -".set\tnoreorder" - :"=r" (sum),"=r" (proto) - :"r" (saddr),"r" (daddr), -"0" (htonl (len)),"1" (htonl (proto)),"r" (sum)); - -return csum_fold (sum); -} -#endif /* _ASM_SCORE_CHECKSUM_H */ arch/score/include/asm/cmpxchg.h deleted +0
-49@@ -1,49 +0,0 @@ -#ifndef _ASM_SCORE_CMPXCHG_H -#define _ASM_SCORE_CMPXCHG_H - -#include <linux/irqflags.h> - -struct __xchg_dummy {unsigned long a[100 ]; }; -#define __xg (x) ((struct __xchg_dummy *)(x)) - -static inline -unsigned long __xchg (volatile unsigned long *m,unsigned long val) -{ -unsigned long retval; -unsigned long flags; - -local_irq_save (flags); - retval = *m; - *m = val; -local_irq_restore (flags); -return retval; -} - -#define xchg (ptr, v) \ - ((__typeof__(*(ptr))) __xchg((unsigned long *)(ptr), \ - (unsigned long)(v))) - -static inline unsigned long __cmpxchg (volatile unsigned long *m, -unsigned long old,unsigned long new) -{ -unsigned long retval; -unsigned long flags; - -local_irq_save (flags); - retval = *m; -if (retval == old) - *m = new; -local_irq_restore (flags); -return retval; -} - -#define cmpxchg (ptr, o, n) \ - ((__typeof__(*(ptr))) __cmpxchg((unsigned long *)(ptr), \ - (unsigned long)(o), \ - (unsigned long)(n))) - -#define __HAVE_ARCH_CMPXCHG 1 - -#include <asm-generic/cmpxchg-local.h> - -#endif /* _ASM_SCORE_CMPXCHG_H */ arch/score/include/asm/cputime.h deleted +0
-6@@ -1,6 +0,0 @@ -#ifndef _ASM_SCORE_CPUTIME_H -#define _ASM_SCORE_CPUTIME_H - -#include <asm-generic/cputime.h> - -#endif /* _ASM_SCORE_CPUTIME_H */ arch/score/include/asm/current.h deleted +0
-6@@ -1,6 +0,0 @@ -#ifndef _ASM_SCORE_CURRENT_H -#define _ASM_SCORE_CURRENT_H - -#include <asm-generic/current.h> - -#endif /* _ASM_SCORE_CURRENT_H */ arch/score/include/asm/delay.h deleted +0
-28@@ -1,28 +0,0 @@ -#ifndef _ASM_SCORE_DELAY_H -#define _ASM_SCORE_DELAY_H - -#include <asm-generic/param.h> - -static inline void __delay (unsigned long loops) -{ -/* 3 cycles per loop. */ - __asm__ __volatile__ ( -"1:\tsubi\t%0, 3\n\t" -"cmpz.c\t%0\n\t" -"ble\t1b\n\t" - :"=r" (loops) - :"0" (loops)); -} - -static inline void __udelay (unsigned long usecs) -{ -unsigned long loops_per_usec; - - loops_per_usec = (loops_per_jiffy *HZ ) /1000000 ; - -__delay (usecs * loops_per_usec); -} - -#define udelay (usecs) __udelay(usecs) - -#endif /* _ASM_SCORE_DELAY_H */ arch/score/include/asm/device.h deleted +0
-6@@ -1,6 +0,0 @@ -#ifndef _ASM_SCORE_DEVICE_H -#define _ASM_SCORE_DEVICE_H - -#include <asm-generic/device.h> - -#endif /* _ASM_SCORE_DEVICE_H */ arch/score/include/asm/div64.h deleted +0
-6@@ -1,6 +0,0 @@ -#ifndef _ASM_SCORE_DIV64_H -#define _ASM_SCORE_DIV64_H - -#include <asm-generic/div64.h> - -#endif /* _ASM_SCORE_DIV64_H */ arch/score/include/asm/dma.h deleted +0
-8@@ -1,8 +0,0 @@ -#ifndef _ASM_SCORE_DMA_H -#define _ASM_SCORE_DMA_H - -#include <asm/io.h> - -#define MAX_DMA_ADDRESS (0) - -#endif /* _ASM_SCORE_DMA_H */ arch/score/include/asm/elf.h deleted +0
-97@@ -1,97 +0,0 @@ -#ifndef _ASM_SCORE_ELF_H -#define _ASM_SCORE_ELF_H - -#include <linux/ptrace.h> - -#define EM_SCORE7 135 - -/* Relocation types. */ -#define R_SCORE_NONE 0 -#define R_SCORE_HI16 1 -#define R_SCORE_LO16 2 -#define R_SCORE_BCMP 3 -#define R_SCORE_24 4 -#define R_SCORE_PC19 5 -#define R_SCORE16_11 6 -#define R_SCORE16_PC8 7 -#define R_SCORE_ABS32 8 -#define R_SCORE_ABS16 9 -#define R_SCORE_DUMMY2 10 -#define R_SCORE_GP15 11 -#define R_SCORE_GNU_VTINHERIT 12 -#define R_SCORE_GNU_VTENTRY 13 -#define R_SCORE_GOT15 14 -#define R_SCORE_GOT_LO16 15 -#define R_SCORE_CALL15 16 -#define R_SCORE_GPREL32 17 -#define R_SCORE_REL32 18 -#define R_SCORE_DUMMY_HI16 19 -#define R_SCORE_IMM30 20 -#define R_SCORE_IMM32 21 - -/* ELF register definitions */ -typedef unsigned long elf_greg_t ; - -#define ELF_NGREG (sizeof(struct pt_regs) / sizeof(elf_greg_t)) -typedef elf_greg_t elf_gregset_t [ELF_NGREG ]; - -/* Score does not have fp regs. */ -typedef double elf_fpreg_t ; -typedef elf_fpreg_t elf_fpregset_t ; - -#define elf_check_arch (x) ((x)->e_machine == EM_SCORE7) - -/* -* These are used to set parameters in the core dumps. -*/ -#define ELF_CLASS ELFCLASS32 - -/* -* These are used to set parameters in the core dumps. -*/ -#define ELF_DATA ELFDATA2LSB -#define ELF_ARCH EM_SCORE7 - -struct task_struct ; -struct pt_regs ; - -#define CORE_DUMP_USE_REGSET -#define ELF_EXEC_PAGESIZE PAGE_SIZE - -/* This yields a mask that user programs can use to figure out what -instruction set this cpu supports. This could be done in userspace, -but it's not easy, and we've already done it here. */ - -#define ELF_HWCAP (0) - -/* This yields a string that ld.so will use to load implementation -specific libraries for optimization. This is more specific in -intent than poking at uname or /proc/cpuinfo. - -For the moment, we have only optimizations for the Intel generations, -but that could change... */ - -#define ELF_PLATFORM (NULL) - -#define ELF_PLAT_INIT (_r, load_addr) \ -do { \ - _r->regs[1] = _r->regs[2] = _r->regs[3] = _r->regs[4] = 0; \ - _r->regs[5] = _r->regs[6] = _r->regs[7] = _r->regs[8] = 0; \ - _r->regs[9] = _r->regs[10] = _r->regs[11] = _r->regs[12] = 0; \ - _r->regs[13] = _r->regs[14] = _r->regs[15] = _r->regs[16] = 0; \ - _r->regs[17] = _r->regs[18] = _r->regs[19] = _r->regs[20] = 0; \ - _r->regs[21] = _r->regs[22] = _r->regs[23] = _r->regs[24] = 0; \ - _r->regs[25] = _r->regs[26] = _r->regs[27] = _r->regs[28] = 0; \ - _r->regs[30] = _r->regs[31] = 0; \ -} while (0) - -/* This is the location that an ET_DYN program is loaded if exec'ed. Typical -use of this is to invoke "./ld.so someprog" to test out a new version of -the loader. We need to make sure that it is out of the way of the program -that it will "exec", and that there is sufficient room for the brk. */ - -#ifndef ELF_ET_DYN_BASE -#define ELF_ET_DYN_BASE (TASK_SIZE / 3 * 2) -#endif - -#endif /* _ASM_SCORE_ELF_H */ arch/score/include/asm/emergency-restart.h deleted +0
-6@@ -1,6 +0,0 @@ -#ifndef _ASM_SCORE_EMERGENCY_RESTART_H -#define _ASM_SCORE_EMERGENCY_RESTART_H - -#include <asm-generic/emergency-restart.h> - -#endif /* _ASM_SCORE_EMERGENCY_RESTART_H */ arch/score/include/asm/exec.h deleted +0
-6@@ -1,6 +0,0 @@ -#ifndef _ASM_SCORE_EXEC_H -#define _ASM_SCORE_EXEC_H - -extern unsigned long arch_align_stack (unsigned long sp); - -#endif /* _ASM_SCORE_EXEC_H */ arch/score/include/asm/fixmap.h deleted +0
-82@@ -1,82 +0,0 @@ -#ifndef _ASM_SCORE_FIXMAP_H -#define _ASM_SCORE_FIXMAP_H - -#include <asm/page.h> - -#define PHY_RAM_BASE 0x00000000 -#define PHY_IO_BASE 0x10000000 - -#define VIRTUAL_RAM_BASE 0xa0000000 -#define VIRTUAL_IO_BASE 0xb0000000 - -#define RAM_SPACE_SIZE 0x10000000 -#define IO_SPACE_SIZE 0x10000000 - -/* Kernel unmapped, cached 512MB */ -#define KSEG1 0xa0000000 - -/* -* Here we define all the compile-time 'special' virtual -* addresses. The point is to have a constant address at -* compile time, but to set the physical address only -* in the boot process. We allocate these special addresses -* from the end of virtual memory (0xfffff000) backwards. -* Also this lets us do fail-safe vmalloc(), we -* can guarantee that these special addresses and -* vmalloc()-ed addresses never overlap. -* -* these 'compile-time allocated' memory buffers are -* fixed-size 4k pages. (or larger if used with an increment -* highger than 1) use fixmap_set(idx,phys) to associate -* physical memory with fixmap indices. -* -* TLB entries of such buffers will not be flushed across -* task switches. -*/ - -/* -* on UP currently we will have no trace of the fixmap mechanizm, -* no page table allocations, etc. This might change in the -* future, say framebuffers for the console driver(s) could be -* fix-mapped? -*/ -enum fixed_addresses { -#define FIX_N_COLOURS 8 - FIX_CMAP_BEGIN, -FIX_CMAP_END =FIX_CMAP_BEGIN +FIX_N_COLOURS , - __end_of_fixed_addresses -}; - -/* -* used by vmalloc.c. -* -* Leave one empty page between vmalloc'ed areas and -* the start of the fixmap, and leave one page empty -* at the top of mem.. -*/ -#define FIXADDR_TOP ((unsigned long)(long)(int)0xfefe0000) -#define FIXADDR_SIZE (__end_of_fixed_addresses << PAGE_SHIFT) -#define FIXADDR_START (FIXADDR_TOP - FIXADDR_SIZE) - -#define __fix_to_virt (x) (FIXADDR_TOP - ((x) << PAGE_SHIFT)) -#define __virt_to_fix (x) \ - ((FIXADDR_TOP - ((x) & PAGE_MASK)) >> PAGE_SHIFT) - -extern void __this_fixmap_does_not_exist (void ); - -/* -* 'index to address' translation. If anyone tries to use the idx -* directly without tranlation, we catch the bug with a NULL-deference -* kernel oops. Illegal ranges of incoming indices are caught too. -*/ -static inline unsigned long fix_to_virt (const unsigned int idx) -{ -return __fix_to_virt (idx); -} - -static inline unsigned long virt_to_fix (const unsigned long vaddr) -{ -return __virt_to_fix (vaddr); -} - -#endif /* _ASM_SCORE_FIXMAP_H */ arch/score/include/asm/ftrace.h deleted +0
-4@@ -1,4 +0,0 @@ -#ifndef _ASM_SCORE_FTRACE_H -#define _ASM_SCORE_FTRACE_H - -#endif /* _ASM_SCORE_FTRACE_H */ arch/score/include/asm/futex.h deleted +0
-6@@ -1,6 +0,0 @@ -#ifndef _ASM_SCORE_FUTEX_H -#define _ASM_SCORE_FUTEX_H - -#include <asm-generic/futex.h> - -#endif /* _ASM_SCORE_FUTEX_H */ arch/score/include/asm/hardirq.h deleted +0
-6@@ -1,6 +0,0 @@ -#ifndef _ASM_SCORE_HARDIRQ_H -#define _ASM_SCORE_HARDIRQ_H - -#include <asm-generic/hardirq.h> - -#endif /* _ASM_SCORE_HARDIRQ_H */ arch/score/include/asm/hw_irq.h deleted +0
-4@@ -1,4 +0,0 @@ -#ifndef _ASM_SCORE_HW_IRQ_H -#define _ASM_SCORE_HW_IRQ_H - -#endif /* _ASM_SCORE_HW_IRQ_H */ arch/score/include/asm/io.h deleted +0
-9@@ -1,9 +0,0 @@ -#ifndef _ASM_SCORE_IO_H -#define _ASM_SCORE_IO_H - -#include <asm-generic/io.h> - -#define virt_to_bus virt_to_phys -#define bus_to_virt phys_to_virt - -#endif /* _ASM_SCORE_IO_H */ arch/score/include/asm/irq.h deleted +0
-25@@ -1,25 +0,0 @@ -#ifndef _ASM_SCORE_IRQ_H -#define _ASM_SCORE_IRQ_H - -#define EXCEPTION_VECTOR_BASE_ADDR 0xa0000000 -#define VECTOR_ADDRESS_OFFSET_MODE4 0 -#define VECTOR_ADDRESS_OFFSET_MODE16 1 - -#define DEBUG_VECTOR_SIZE (0x4) -#define DEBUG_VECTOR_BASE_ADDR ((EXCEPTION_VECTOR_BASE_ADDR) + 0x1fc) - -#define GENERAL_VECTOR_SIZE (0x10) -#define GENERAL_VECTOR_BASE_ADDR ((EXCEPTION_VECTOR_BASE_ADDR) + 0x200) - -#define NR_IRQS 64 -#define IRQ_VECTOR_SIZE (0x10) -#define IRQ_VECTOR_BASE_ADDR ((EXCEPTION_VECTOR_BASE_ADDR) + 0x210) -#define IRQ_VECTOR_END_ADDR ((EXCEPTION_VECTOR_BASE_ADDR) + 0x5f0) - -#define irq_canonicalize (irq) (irq) - -#define IRQ_TIMER (7)/* Timer IRQ number of SPCT6600 */ - -extern void interrupt_exception_vector (void ); - -#endif /* _ASM_SCORE_IRQ_H */ arch/score/include/asm/irq_regs.h deleted +0
-11@@ -1,11 +0,0 @@ -#ifndef _ASM_SCORE_IRQ_REGS_H -#define _ASM_SCORE_IRQ_REGS_H - -#include <linux/thread_info.h> - -static inline struct pt_regs *get_irq_regs (void ) -{ -return current_thread_info ()->regs; -} - -#endif /* _ASM_SCORE_IRQ_REGS_H */ arch/score/include/asm/irqflags.h deleted +0
-120@@ -1,120 +0,0 @@ -#ifndef _ASM_SCORE_IRQFLAGS_H -#define _ASM_SCORE_IRQFLAGS_H - -#ifndef __ASSEMBLY__ - -#include <linux/types.h> - -static inline unsigned long arch_local_save_flags (void ) -{ -unsigned long flags; - - asmvolatile ( -" mfcr r8, cr0 \n" -" nop \n" -" nop \n" -" mv %0, r8 \n" -" nop \n" -" nop \n" -" nop \n" -" nop \n" -" nop \n" -" ldi r9, 0x1 \n" -" and %0, %0, r9 \n" - :"=r" (flags) - : - :"r8" ,"r9" ); -return flags; -} - -static inline unsigned long arch_local_irq_save (void ) -{ -unsigned long flags; - - asmvolatile ( -" mfcr r8, cr0 \n" -" li r9, 0xfffffffe \n" -" nop \n" -" mv %0, r8 \n" -" and r8, r8, r9 \n" -" mtcr r8, cr0 \n" -" nop \n" -" nop \n" -" nop \n" -" nop \n" -" nop \n" - :"=r" (flags) - : - :"r8" ,"r9" ,"memory" ); - -return flags; -} - -static inline void arch_local_irq_restore (unsigned long flags) -{ - asmvolatile ( -" mfcr r8, cr0 \n" -" ldi r9, 0x1 \n" -" and %0, %0, r9 \n" -" or r8, r8, %0 \n" -" mtcr r8, cr0 \n" -" nop \n" -" nop \n" -" nop \n" -" nop \n" -" nop \n" - : - :"r" (flags) - :"r8" ,"r9" ,"memory" ); -} - -static inline void arch_local_irq_enable (void ) -{ - asmvolatile ( -" mfcr r8,cr0 \n" -" nop \n" -" nop \n" -" ori r8,0x1 \n" -" mtcr r8,cr0 \n" -" nop \n" -" nop \n" -" nop \n" -" nop \n" -" nop \n" - : - : - :"r8" ,"memory" ); -} - -static inline void arch_local_irq_disable (void ) -{ - asmvolatile ( -" mfcr r8,cr0 \n" -" nop \n" -" nop \n" -" srli r8,r8,1 \n" -" slli r8,r8,1 \n" -" mtcr r8,cr0 \n" -" nop \n" -" nop \n" -" nop \n" -" nop \n" -" nop \n" - : - : - :"r8" ,"memory" ); -} - -static inline bool arch_irqs_disabled_flags (unsigned long flags) -{ -return !(flags &1 ); -} - -static inline bool arch_irqs_disabled (void ) -{ -return arch_irqs_disabled_flags (arch_local_save_flags ()); -} - -#endif /* __ASSEMBLY__ */ - -#endif /* _ASM_SCORE_IRQFLAGS_H */ arch/score/include/asm/kdebug.h deleted +0
-6@@ -1,6 +0,0 @@ -#ifndef _ASM_SCORE_KDEBUG_H -#define _ASM_SCORE_KDEBUG_H - -#include <asm-generic/kdebug.h> - -#endif /* _ASM_SCORE_KDEBUG_H */ arch/score/include/asm/kmap_types.h deleted +0
-6@@ -1,6 +0,0 @@ -#ifndef _ASM_SCORE_KMAP_TYPES_H -#define _ASM_SCORE_KMAP_TYPES_H - -#include <asm-generic/kmap_types.h> - -#endif /* _ASM_SCORE_KMAP_TYPES_H */ arch/score/include/asm/linkage.h deleted +0
-7@@ -1,7 +0,0 @@ -#ifndef _ASM_SCORE_LINKAGE_H -#define _ASM_SCORE_LINKAGE_H - -#define __ALIGN .align 2 -#define __ALIGN_STR ".align 2" - -#endif /* _ASM_SCORE_LINKAGE_H */ arch/score/include/asm/local.h deleted +0
-6@@ -1,6 +0,0 @@ -#ifndef _ASM_SCORE_LOCAL_H -#define _ASM_SCORE_LOCAL_H - -#include <asm-generic/local.h> - -#endif /* _ASM_SCORE_LOCAL_H */ arch/score/include/asm/local64.h deleted +0
-1@@ -1 +0,0 @@ -#include <asm-generic/local64.h> arch/score/include/asm/mmu.h deleted +0
-6@@ -1,6 +0,0 @@ -#ifndef _ASM_SCORE_MMU_H -#define _ASM_SCORE_MMU_H - -typedef unsigned long mm_context_t ; - -#endif /* _ASM_SCORE_MMU_H */ arch/score/include/asm/mmu_context.h deleted +0
-113@@ -1,113 +0,0 @@ -#ifndef _ASM_SCORE_MMU_CONTEXT_H -#define _ASM_SCORE_MMU_CONTEXT_H - -#include <linux/errno.h> -#include <linux/sched.h> -#include <linux/slab.h> -#include <asm-generic/mm_hooks.h> - -#include <asm/cacheflush.h> -#include <asm/tlbflush.h> -#include <asm/scoreregs.h> - -/* -* For the fast tlb miss handlers, we keep a per cpu array of pointers -* to the current pgd for each processor. Also, the proc. id is stuffed -* into the context register. -*/ -extern unsigned long asid_cache; -extern unsigned long pgd_current; - -#define TLBMISS_HANDLER_SETUP_PGD (pgd) (pgd_current = (unsigned long)(pgd)) - -#define TLBMISS_HANDLER_SETUP () \ -do { \ - write_c0_context(0); \ - TLBMISS_HANDLER_SETUP_PGD(swapper_pg_dir) \ -} while (0) - -/* -* All unused by hardware upper bits will be considered -* as a software asid extension. -*/ -#define ASID_VERSION_MASK 0xfffff000 -#define ASID_FIRST_VERSION 0x1000 - -/* PEVN --------- VPN ---------- --ASID--- -NA- */ -/* binary: 0000 0000 0000 0000 0000 0000 0001 0000 */ -/* binary: 0000 0000 0000 0000 0000 1111 1111 0000 */ -#define ASID_INC 0x10 -#define ASID_MASK 0xff0 - -static inline void enter_lazy_tlb (struct mm_struct *mm, -struct task_struct *tsk) -{} - -static inline void -get_new_mmu_context (struct mm_struct *mm) -{ -unsigned long asid = asid_cache +ASID_INC ; - -if (!(asid &ASID_MASK )) { -local_flush_tlb_all ();/* start new asid cycle */ -if (!asid)/* fix version if needed */ - asid =ASID_FIRST_VERSION ; - } - - mm->context = asid; - asid_cache = asid; -} - -/* -* Initialize the context related info for a new mm_struct -* instance. -*/ -static inline int -init_new_context (struct task_struct *tsk,struct mm_struct *mm) -{ - mm->context =0 ; -return 0 ; -} - -static inline void switch_mm (struct mm_struct *prev,struct mm_struct *next, -struct task_struct *tsk) -{ -unsigned long flags; - -local_irq_save (flags); -if ((next->context ^ asid_cache) &ASID_VERSION_MASK ) -get_new_mmu_context (next); - -pevn_set (next->context); -TLBMISS_HANDLER_SETUP_PGD (next->pgd); -local_irq_restore (flags); -} - -/* -* Destroy context related info for an mm_struct that is about -* to be put to rest. -*/ -static inline void destroy_context (struct mm_struct *mm) -{} - -static inline void -deactivate_mm (struct task_struct *task,struct mm_struct *mm) -{} - -/* -* After we have set current->mm to a new value, this activates -* the context for the new mm so we see the new mappings. -*/ -static inline void -activate_mm (struct mm_struct *prev,struct mm_struct *next) -{ -unsigned long flags; - -local_irq_save (flags); -get_new_mmu_context (next); -pevn_set (next->context); -TLBMISS_HANDLER_SETUP_PGD (next->pgd); -local_irq_restore (flags); -} - -#endif /* _ASM_SCORE_MMU_CONTEXT_H */ arch/score/include/asm/module.h deleted +0
-35@@ -1,35 +0,0 @@ -#ifndef _ASM_SCORE_MODULE_H -#define _ASM_SCORE_MODULE_H - -#include <linux/list.h> -#include <asm/uaccess.h> -#include <asm-generic/module.h> - -struct mod_arch_specific { -/* Data Bus Error exception tables */ -struct list_head dbe_list; -const struct exception_table_entry *dbe_start; -const struct exception_table_entry *dbe_end; -}; - -typedef uint8_t Elf64_Byte ;/* Type for a 8-bit quantity. */ - -/* Given an address, look for it in the exception tables. */ -#ifdef CONFIG_MODULES -const struct exception_table_entry *search_module_dbetables (unsigned long addr); -#else -static inline const struct exception_table_entry -*search_module_dbetables (unsigned long addr) -{ -return NULL ; -} -#endif - -#define MODULE_PROC_FAMILY "SCORE7" -#define MODULE_KERNEL_TYPE "32BIT " -#define MODULE_KERNEL_SMTC "" - -#define MODULE_ARCH_VERMAGIC \ - MODULE_PROC_FAMILY MODULE_KERNEL_TYPE MODULE_KERNEL_SMTC - -#endif /* _ASM_SCORE_MODULE_H */ arch/score/include/asm/mutex.h deleted +0
-6@@ -1,6 +0,0 @@ -#ifndef _ASM_SCORE_MUTEX_H -#define _ASM_SCORE_MUTEX_H - -#include <asm-generic/mutex-dec.h> - -#endif /* _ASM_SCORE_MUTEX_H */ arch/score/include/asm/page.h deleted +0
-93@@ -1,93 +0,0 @@ -#ifndef _ASM_SCORE_PAGE_H -#define _ASM_SCORE_PAGE_H - -#include <linux/pfn.h> -#include <linux/const.h> - -/* PAGE_SHIFT determines the page size */ -#define PAGE_SHIFT (12) -#define PAGE_SIZE (_AC(1,UL) << PAGE_SHIFT) -#define PAGE_MASK (~(PAGE_SIZE-1)) - -#ifdef __KERNEL__ - -#ifndef __ASSEMBLY__ - -#define PAGE_UP (addr) (((addr)+((PAGE_SIZE)-1))&(~((PAGE_SIZE)-1))) -#define PAGE_DOWN (addr) ((addr)&(~((PAGE_SIZE)-1))) - -/* align addr on a size boundary - adjust address up/down if needed */ -#define _ALIGN_UP (addr, size) (((addr)+((size)-1))&(~((size)-1))) -#define _ALIGN_DOWN (addr, size) ((addr)&(~((size)-1))) - -/* align addr on a size boundary - adjust address up if needed */ -#define _ALIGN (addr, size) _ALIGN_UP(addr, size) - -/* -* PAGE_OFFSET -- the first address of the first page of memory. When not -* using MMU this corresponds to the first free page in physical memory (aligned -* on a page boundary). -*/ -#define PAGE_OFFSET (0xA0000000UL) - -#define clear_page (pgaddr) memset((pgaddr), 0, PAGE_SIZE) -#define copy_page (to, from) memcpy((to), (from), PAGE_SIZE) - -#define clear_user_page (pgaddr, vaddr, page) memset((pgaddr), 0, PAGE_SIZE) -#define copy_user_page (vto, vfrom, vaddr, topg) \ - memcpy((vto), (vfrom), PAGE_SIZE) - -/* -* These are used to make use of C type-checking.. -*/ - -typedef struct {unsigned long pte; }pte_t ;/* page table entry */ -typedef struct {unsigned long pgd; }pgd_t ;/* PGD table entry */ -typedef struct {unsigned long pgprot; }pgprot_t ; -typedef struct page *pgtable_t ; - -#define pte_val (x) ((x).pte) -#define pgd_val (x) ((x).pgd) -#define pgprot_val (x) ((x).pgprot) - -#define __pte (x) ((pte_t) { (x) }) -#define __pgd (x) ((pgd_t) { (x) }) -#define __pgprot (x) ((pgprot_t) { (x) }) - -extern unsigned long max_low_pfn; -extern unsigned long min_low_pfn; -extern unsigned long max_pfn; - -#define __pa (x) ((unsigned long)(x) - PAGE_OFFSET) -#define __va (x) ((void *)((unsigned long) (x) + PAGE_OFFSET)) - -#define phys_to_pfn (phys) (PFN_DOWN(phys)) -#define pfn_to_phys (pfn) (PFN_PHYS(pfn)) - -#define virt_to_pfn (vaddr) (phys_to_pfn((__pa(vaddr)))) -#define pfn_to_virt (pfn) __va(pfn_to_phys((pfn))) - -#define virt_to_page (vaddr) (pfn_to_page(virt_to_pfn(vaddr))) -#define page_to_virt (page) (pfn_to_virt(page_to_pfn(page))) - -#define page_to_phys (page) (pfn_to_phys(page_to_pfn(page))) -#define page_to_bus (page) (page_to_phys(page)) -#define phys_to_page (paddr) (pfn_to_page(phys_to_pfn(paddr))) - -#define pfn_valid (pfn) (((pfn) >= min_low_pfn) && ((pfn) < max_low_pfn)) - -#define ARCH_PFN_OFFSET (PAGE_OFFSET >> PAGE_SHIFT) - -#endif /* __ASSEMBLY__ */ - -#define virt_addr_valid (vaddr) (pfn_valid(virt_to_pfn(vaddr))) - -#endif /* __KERNEL__ */ - -#define VM_DATA_DEFAULT_FLAGS (VM_READ | VM_WRITE | VM_EXEC | \ - VM_MAYREAD | VM_MAYWRITE | VM_MAYEXEC) - -#include <asm-generic/memory_model.h> -#include <asm-generic/getorder.h> - -#endif /* _ASM_SCORE_PAGE_H */ arch/score/include/asm/pci.h deleted +0
-4@@ -1,4 +0,0 @@ -#ifndef _ASM_SCORE_PCI_H -#define _ASM_SCORE_PCI_H - -#endif /* _ASM_SCORE_PCI_H */ arch/score/include/asm/percpu.h deleted +0
-6@@ -1,6 +0,0 @@ -#ifndef _ASM_SCORE_PERCPU_H -#define _ASM_SCORE_PERCPU_H - -#include <asm-generic/percpu.h> - -#endif /* _ASM_SCORE_PERCPU_H */ arch/score/include/asm/pgalloc.h deleted +0
-83@@ -1,83 +0,0 @@ -#ifndef _ASM_SCORE_PGALLOC_H -#define _ASM_SCORE_PGALLOC_H - -#include <linux/mm.h> - -static inline void pmd_populate_kernel (struct mm_struct *mm,pmd_t *pmd, -pte_t *pte) -{ -set_pmd (pmd,__pmd ((unsigned long )pte)); -} - -static inline void pmd_populate (struct mm_struct *mm,pmd_t *pmd, -pgtable_t pte) -{ -set_pmd (pmd,__pmd ((unsigned long )page_address (pte))); -} - -#define pmd_pgtable (pmd) pmd_page(pmd) - -static inline pgd_t *pgd_alloc (struct mm_struct *mm) -{ -pgd_t *ret, *init; - - ret = (pgd_t *)__get_free_pages (GFP_KERNEL ,PGD_ORDER ); -if (ret) { - init =pgd_offset (&init_mm,0UL ); -pgd_init ((unsigned long )ret); -memcpy (ret +USER_PTRS_PER_PGD , init +USER_PTRS_PER_PGD , - (PTRS_PER_PGD -USER_PTRS_PER_PGD ) *sizeof (pgd_t)); - } - -return ret; -} - -static inline void pgd_free (struct mm_struct *mm,pgd_t *pgd) -{ -free_pages ((unsigned long )pgd,PGD_ORDER ); -} - -static inline pte_t *pte_alloc_one_kernel (struct mm_struct *mm, -unsigned long address) -{ -pte_t *pte; - - pte = (pte_t *)__get_free_pages (GFP_KERNEL |__GFP_REPEAT|__GFP_ZERO, -PTE_ORDER ); - -return pte; -} - -static inline struct page *pte_alloc_one (struct mm_struct *mm, -unsigned long address) -{ -struct page *pte; - - pte =alloc_pages (GFP_KERNEL | __GFP_REPEAT,PTE_ORDER ); -if (pte) { -clear_highpage (pte); -pgtable_page_ctor (pte); - } -return pte; -} - -static inline void pte_free_kernel (struct mm_struct *mm,pte_t *pte) -{ -free_pages ((unsigned long )pte,PTE_ORDER ); -} - -static inline void pte_free (struct mm_struct *mm,pgtable_t pte) -{ -pgtable_page_dtor (pte); -__free_pages (pte,PTE_ORDER ); -} - -#define __pte_free_tlb (tlb, pte, buf) \ -do { \ - pgtable_page_dtor(pte); \ - tlb_remove_page((tlb), pte); \ -} while (0) - -#define check_pgt_cache () do {} while (0) - -#endif /* _ASM_SCORE_PGALLOC_H */ arch/score/include/asm/pgtable-bits.h deleted +0
-25@@ -1,25 +0,0 @@ -#ifndef _ASM_SCORE_PGTABLE_BITS_H -#define _ASM_SCORE_PGTABLE_BITS_H - -#define _PAGE_ACCESSED (1<<5)/* implemented in software */ -#define _PAGE_READ (1<<6)/* implemented in software */ -#define _PAGE_WRITE (1<<7)/* implemented in software */ -#define _PAGE_PRESENT (1<<9)/* implemented in software */ -#define _PAGE_MODIFIED (1<<10)/* implemented in software */ -#define _PAGE_FILE (1<<10) - -#define _PAGE_GLOBAL (1<<0) -#define _PAGE_VALID (1<<1) -#define _PAGE_SILENT_READ (1<<1)/* synonym */ -#define _PAGE_DIRTY (1<<2)/* Write bit */ -#define _PAGE_SILENT_WRITE (1<<2) -#define _PAGE_CACHE (1<<3)/* cache */ -#define _CACHE_MASK (1<<3) -#define _PAGE_BUFFERABLE (1<<4)/*Fallow Spec. */ - -#define __READABLE (_PAGE_READ | _PAGE_SILENT_READ | _PAGE_ACCESSED) -#define __WRITEABLE (_PAGE_WRITE | _PAGE_SILENT_WRITE | _PAGE_MODIFIED) -#define _PAGE_CHG_MASK \ - (PAGE_MASK | _PAGE_ACCESSED | _PAGE_MODIFIED | _PAGE_CACHE) - -#endif /* _ASM_SCORE_PGTABLE_BITS_H */ arch/score/include/asm/pgtable.h deleted +0
-282@@ -1,282 +0,0 @@ -#ifndef _ASM_SCORE_PGTABLE_H -#define _ASM_SCORE_PGTABLE_H - -#include <linux/const.h> -#include <asm-generic/pgtable-nopmd.h> - -#include <asm/fixmap.h> -#include <asm/setup.h> -#include <asm/pgtable-bits.h> - -extern void load_pgd (unsigned long pg_dir); -extern pte_t invalid_pte_table[PAGE_SIZE /sizeof (pte_t)]; - -/* PGDIR_SHIFT determines what a third-level page table entry can map */ -#define PGDIR_SHIFT 22 -#define PGDIR_SIZE (_AC(1, UL) << PGDIR_SHIFT) -#define PGDIR_MASK (~(PGDIR_SIZE - 1)) - -/* -* Entries per page directory level: we use two-level, so -* we don't really have any PUD/PMD directory physically. -*/ -#define PGD_ORDER 0 -#define PTE_ORDER 0 - -#define PTRS_PER_PGD 1024 -#define PTRS_PER_PTE 1024 - -#define USER_PTRS_PER_PGD (0x80000000UL/PGDIR_SIZE) -#define FIRST_USER_ADDRESS 0 - -#define VMALLOC_START (0xc0000000UL) - -#define PKMAP_BASE (0xfd000000UL) - -#define VMALLOC_END (FIXADDR_START - 2*PAGE_SIZE) - -#define pte_ERROR (e) \ - printk(KERN_ERR "%s:%d: bad pte %08lx.\n", \ - __FILE__, __LINE__, pte_val(e)) -#define pgd_ERROR (e) \ - printk(KERN_ERR "%s:%d: bad pgd %08lx.\n", \ - __FILE__, __LINE__, pgd_val(e)) - -/* -* Empty pgd/pmd entries point to the invalid_pte_table. -*/ -static inline int pmd_none (pmd_t pmd) -{ -return pmd_val (pmd) == (unsigned long ) invalid_pte_table; -} - -#define pmd_bad (pmd) (pmd_val(pmd) & ~PAGE_MASK) - -static inline int pmd_present (pmd_t pmd) -{ -return pmd_val (pmd) != (unsigned long ) invalid_pte_table; -} - -static inline void pmd_clear (pmd_t *pmdp) -{ -pmd_val (*pmdp) = ((unsigned long ) invalid_pte_table); -} - -#define pte_page (x) pfn_to_page(pte_pfn(x)) -#define pte_pfn (x) ((unsigned long)((x).pte >> PAGE_SHIFT)) -#define pfn_pte (pfn, prot) \ - __pte(((unsigned long long)(pfn) << PAGE_SHIFT) | pgprot_val(prot)) - -#define __pgd_offset (address) pgd_index(address) -#define __pud_offset (address) (((address) >> PUD_SHIFT) & (PTRS_PER_PUD-1)) -#define __pmd_offset (address) (((address) >> PMD_SHIFT) & (PTRS_PER_PMD-1)) - -/* to find an entry in a kernel page-table-directory */ -#define pgd_offset_k (address) pgd_offset(&init_mm, address) -#define pgd_index (address) (((address) >> PGDIR_SHIFT) & (PTRS_PER_PGD-1)) - -/* to find an entry in a page-table-directory */ -#define pgd_offset (mm, addr) ((mm)->pgd + pgd_index(addr)) - -/* Find an entry in the third-level page table.. */ -#define __pte_offset (address) \ - (((address) >> PAGE_SHIFT) & (PTRS_PER_PTE - 1)) -#define pte_offset (dir, address) \ - ((pte_t *) pmd_page_vaddr(*(dir)) + __pte_offset(address)) -#define pte_offset_kernel (dir, address) \ - ((pte_t *) pmd_page_vaddr(*(dir)) + __pte_offset(address)) - -#define pte_offset_map (dir, address) \ - ((pte_t *)page_address(pmd_page(*(dir))) + __pte_offset(address)) -#define pte_unmap (pte) ((void)(pte)) - -/* -* Bits 9(_PAGE_PRESENT) and 10(_PAGE_FILE)are taken, -* split up 30 bits of offset into this range: -*/ -#define PTE_FILE_MAX_BITS 30 -#define pte_to_pgoff (_pte) \ - (((_pte).pte & 0x1ff) | (((_pte).pte >> 11) << 9)) -#define pgoff_to_pte (off) \ - ((pte_t) {((off) & 0x1ff) | (((off) >> 9) << 11) | _PAGE_FILE}) -#define __pte_to_swp_entry (pte) \ - ((swp_entry_t) { pte_val(pte)}) -#define __swp_entry_to_pte (x) ((pte_t) {(x).val}) - -#define pmd_phys (pmd) __pa((void *)pmd_val(pmd)) -#define pmd_page (pmd) (pfn_to_page(pmd_phys(pmd) >> PAGE_SHIFT)) -#define mk_pte (page, prot) pfn_pte(page_to_pfn(page), prot) -static inline pte_t pte_mkspecial (pte_t pte) {return pte; } - -#define set_pte (pteptr, pteval) (*(pteptr) = pteval) -#define set_pte_at (mm, addr, ptep, pteval) set_pte(ptep, pteval) -#define pte_clear (mm, addr, xp) \ - do { set_pte_at(mm, addr, xp, __pte(0)); } while (0) - -/* -* The "pgd_xxx()" functions here are trivial for a folded two-level -* setup: the pgd is never bad, and a pmd always exists (as it's folded -* into the pgd entry) -*/ -#define pgd_present (pgd) (1) -#define pgd_none (pgd) (0) -#define pgd_bad (pgd) (0) -#define pgd_clear (pgdp) do { } while (0) - -#define kern_addr_valid (addr) (1) -#define pmd_page_vaddr (pmd) pmd_val(pmd) - -#define pte_none (pte) (!(pte_val(pte) & ~_PAGE_GLOBAL)) -#define pte_present (pte) (pte_val(pte) & _PAGE_PRESENT) - -#define PAGE_NONE __pgprot(_PAGE_PRESENT | _PAGE_CACHE) -#define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_READ | _PAGE_WRITE | \ - _PAGE_CACHE) -#define PAGE_COPY __pgprot(_PAGE_PRESENT | _PAGE_READ | _PAGE_CACHE) -#define PAGE_READONLY __pgprot(_PAGE_PRESENT | _PAGE_READ | _PAGE_CACHE) -#define PAGE_KERNEL __pgprot(_PAGE_PRESENT | __READABLE | __WRITEABLE | \ - _PAGE_GLOBAL | _PAGE_CACHE) -#define PAGE_KERNEL_UNCACHED __pgprot(_PAGE_PRESENT | __READABLE | \ - __WRITEABLE | _PAGE_GLOBAL & ~_PAGE_CACHE) - -#define __P000 PAGE_NONE -#define __P001 PAGE_READONLY -#define __P010 PAGE_COPY -#define __P011 PAGE_COPY -#define __P100 PAGE_READONLY -#define __P101 PAGE_READONLY -#define __P110 PAGE_COPY -#define __P111 PAGE_COPY - -#define __S000 PAGE_NONE -#define __S001 PAGE_READONLY -#define __S010 PAGE_SHARED -#define __S011 PAGE_SHARED -#define __S100 PAGE_READONLY -#define __S101 PAGE_READONLY -#define __S110 PAGE_SHARED -#define __S111 PAGE_SHARED - -#define pgprot_noncached pgprot_noncached - -static inline pgprot_t pgprot_noncached (pgprot_t _prot) -{ -unsigned long prot =pgprot_val (_prot); - - prot = (prot & ~_CACHE_MASK); - -return __pgprot (prot); -} - -#define __swp_type (x) ((x).val & 0x1f) -#define __swp_offset (x) ((x).val >> 11) -#define __swp_entry (type, offset) ((swp_entry_t){(type) | ((offset) << 11)}) - -extern unsigned long empty_zero_page; -extern unsigned long zero_page_mask; - -#define ZERO_PAGE (vaddr) \ - (virt_to_page((void *)(empty_zero_page + \ - (((unsigned long)(vaddr)) & zero_page_mask)))) - -#define pgtable_cache_init () do {} while (0) - -#define arch_enter_lazy_cpu_mode () do {} while (0) - -static inline int pte_write (pte_t pte) -{ -return pte_val (pte) & _PAGE_WRITE; -} - -static inline int pte_dirty (pte_t pte) -{ -return pte_val (pte) & _PAGE_MODIFIED; -} - -static inline int pte_young (pte_t pte) -{ -return pte_val (pte) & _PAGE_ACCESSED; -} - -static inline int pte_file (pte_t pte) -{ -return pte_val (pte) & _PAGE_FILE; -} - -#define pte_special (pte) (0) - -static inline pte_t pte_wrprotect (pte_t pte) -{ -pte_val (pte) &= ~(_PAGE_WRITE | _PAGE_SILENT_WRITE); -return pte; -} - -static inline pte_t pte_mkclean (pte_t pte) -{ -pte_val (pte) &= ~(_PAGE_MODIFIED|_PAGE_SILENT_WRITE); -return pte; -} - -static inline pte_t pte_mkold (pte_t pte) -{ -pte_val (pte) &= ~(_PAGE_ACCESSED|_PAGE_SILENT_READ); -return pte; -} - -static inline pte_t pte_mkwrite (pte_t pte) -{ -pte_val (pte) |= _PAGE_WRITE; -if (pte_val (pte) & _PAGE_MODIFIED) -pte_val (pte) |= _PAGE_SILENT_WRITE; -return pte; -} - -static inline pte_t pte_mkdirty (pte_t pte) -{ -pte_val (pte) |= _PAGE_MODIFIED; -if (pte_val (pte) & _PAGE_WRITE) -pte_val (pte) |= _PAGE_SILENT_WRITE; -return pte; -} - -static inline pte_t pte_mkyoung (pte_t pte) -{ -pte_val (pte) |= _PAGE_ACCESSED; -if (pte_val (pte) & _PAGE_READ) -pte_val (pte) |= _PAGE_SILENT_READ; -return pte; -} - -#define set_pmd (pmdptr, pmdval) \ - do { *(pmdptr) = (pmdval); } while (0) -#define pte_present (pte) (pte_val(pte) & _PAGE_PRESENT) - -extern unsigned long pgd_current; -extern pgd_t swapper_pg_dir[PTRS_PER_PGD ]; -extern void paging_init (void ); - -static inline pte_t pte_modify (pte_t pte,pgprot_t newprot) -{ -return __pte ((pte_val (pte) & _PAGE_CHG_MASK) |pgprot_val (newprot)); -} - -extern void __update_tlb (struct vm_area_struct *vma, -unsigned long address,pte_t pte); -extern void __update_cache (struct vm_area_struct *vma, -unsigned long address,pte_t pte); - -static inline void update_mmu_cache (struct vm_area_struct *vma, -unsigned long address,pte_t *ptep) -{ -pte_t pte = *ptep; -__update_tlb (vma, address, pte); -__update_cache (vma, address, pte); -} - -#ifndef __ASSEMBLY__ -#include <asm-generic/pgtable.h> - -void setup_memory (void ); -#endif /* __ASSEMBLY__ */ - -#endif /* _ASM_SCORE_PGTABLE_H */ arch/score/include/asm/processor.h deleted +0
-104@@ -1,104 +0,0 @@ -#ifndef _ASM_SCORE_PROCESSOR_H -#define _ASM_SCORE_PROCESSOR_H - -#include <linux/cpumask.h> -#include <linux/threads.h> - -#include <asm/segment.h> - -struct task_struct ; - -/* -* System setup and hardware flags.. -*/ -extern void (*cpu_wait)(void ); - -extern unsigned long thread_saved_pc (struct task_struct *tsk); -extern void start_thread (struct pt_regs *regs, -unsigned long pc,unsigned long sp); -extern unsigned long get_wchan (struct task_struct *p); - -/* -* Return current * instruction pointer ("program counter"). -*/ -#define current_text_addr () ({ __label__ _l; _l: &&_l; }) - -#define cpu_relax () barrier() -#define release_thread (thread) do {} while (0) - -/* -* User space process size: 2GB. This is hardcoded into a few places, -* so don't change it unless you know what you are doing. -*/ -#define TASK_SIZE 0x7fff8000UL - -/* -* This decides where the kernel will search for a free chunk of vm -* space during mmap's. -*/ -#define TASK_UNMAPPED_BASE ((TASK_SIZE / 3) & ~(PAGE_SIZE)) - -#ifdef __KERNEL__ -#define STACK_TOP TASK_SIZE -#define STACK_TOP_MAX TASK_SIZE -#endif - -/* -* If you change thread_struct remember to change the #defines below too! -*/ -struct thread_struct { -unsigned long reg0, reg2, reg3; -unsigned long reg12, reg13, reg14, reg15, reg16; -unsigned long reg17, reg18, reg19, reg20, reg21; - -unsigned long cp0_psr; -unsigned long cp0_ema;/* Last user fault */ -unsigned long cp0_badvaddr;/* Last user fault */ -unsigned long cp0_baduaddr;/* Last kernel fault accessing USEG */ -unsigned long error_code; -unsigned long trap_no; - -unsigned long mflags; -unsigned long reg29; - -unsigned long single_step; -unsigned long ss_nextcnt; - -unsigned long insn1_type; -unsigned long addr1; -unsigned long insn1; - -unsigned long insn2_type; -unsigned long addr2; -unsigned long insn2; - -mm_segment_t current_ds; -}; - -#define INIT_THREAD { \ - .reg0 = 0, \ - .reg2 = 0, \ - .reg3 = 0, \ - .reg12 = 0, \ - .reg13 = 0, \ - .reg14 = 0, \ - .reg15 = 0, \ - .reg16 = 0, \ - .reg17 = 0, \ - .reg18 = 0, \ - .reg19 = 0, \ - .reg20 = 0, \ - .reg21 = 0, \ - .cp0_psr = 0, \ - .error_code = 0, \ - .trap_no = 0, \ -} - -#define kstk_tos (tsk) \ - ((unsigned long)task_stack_page(tsk) + THREAD_SIZE - 32) -#define task_pt_regs (tsk) ((struct pt_regs *)kstk_tos(tsk) - 1) - -#define KSTK_EIP (tsk) (task_pt_regs(tsk)->cp0_epc) -#define KSTK_ESP (tsk) (task_pt_regs(tsk)->regs[29]) - -#endif /* _ASM_SCORE_PROCESSOR_H */ arch/score/include/asm/ptrace.h deleted +0
-25@@ -1,25 +0,0 @@ -#ifndef _ASM_SCORE_PTRACE_H -#define _ASM_SCORE_PTRACE_H - -#include <uapi/asm/ptrace.h> - - -struct task_struct ; - -/* -* Does the process account for user or for system time? -*/ -#define user_mode (regs) ((regs->cp0_psr & 8) == 8) - -#define instruction_pointer (regs) ((unsigned long)(regs)->cp0_epc) -#define profile_pc (regs) instruction_pointer(regs) -#define user_stack_pointer (r) ((unsigned long)(r)->regs[0]) - -extern void do_syscall_trace (struct pt_regs *regs,int entryexit); -extern int read_tsk_long (struct task_struct *,unsigned long ,unsigned long *); -extern int read_tsk_short (struct task_struct *,unsigned long , -unsigned short *); - -#define arch_has_single_step () (1) - -#endif /* _ASM_SCORE_PTRACE_H */ arch/score/include/asm/scatterlist.h deleted +0
-6@@ -1,6 +0,0 @@ -#ifndef _ASM_SCORE_SCATTERLIST_H -#define _ASM_SCORE_SCATTERLIST_H - -#include <asm-generic/scatterlist.h> - -#endif /* _ASM_SCORE_SCATTERLIST_H */ arch/score/include/asm/scoreregs.h deleted +0
-51@@ -1,51 +0,0 @@ -#ifndef _ASM_SCORE_SCOREREGS_H -#define _ASM_SCORE_SCOREREGS_H - -#include <linux/linkage.h> - -/* TIMER register */ -#define TIME0BASE 0x96080000 -#define P_TIMER0_CTRL (TIME0BASE + 0x00) -#define P_TIMER0_CPP_CTRL (TIME0BASE + 0x04) -#define P_TIMER0_PRELOAD (TIME0BASE + 0x08) -#define P_TIMER0_CPP_REG (TIME0BASE + 0x0C) -#define P_TIMER0_UPCNT (TIME0BASE + 0x10) - -/* Timer Controller Register */ -/* bit 0 Timer enable */ -#define TMR_DISABLE 0x0000 -#define TMR_ENABLE 0x0001 - -/* bit 1 Interrupt enable */ -#define TMR_IE_DISABLE 0x0000 -#define TMR_IE_ENABLE 0x0002 - -/* bit 2 Output enable */ -#define TMR_OE_DISABLE 0x0004 -#define TMR_OE_ENABLE 0x0000 - -/* bit4 Up/Down counting selection */ -#define TMR_UD_DOWN 0x0000 -#define TMR_UD_UP 0x0010 - -/* bit5 Up/Down counting control selection */ -#define TMR_UDS_UD 0x0000 -#define TMR_UDS_EXTUD 0x0020 - -/* bit6 Time output mode */ -#define TMR_OM_TOGGLE 0x0000 -#define TMR_OM_PILSE 0x0040 - -/* bit 8..9 External input active edge selection */ -#define TMR_ES_PE 0x0000 -#define TMR_ES_NE 0x0100 -#define TMR_ES_BOTH 0x0200 - -/* bit 10..11 Operating mode */ -#define TMR_M_FREE 0x0000/* free running timer mode */ -#define TMR_M_PERIODIC 0x0400/* periodic timer mode */ -#define TMR_M_FC 0x0800/* free running counter mode */ -#define TMR_M_PC 0x0c00/* periodic counter mode */ - -#define SYSTEM_CLOCK (27*1000000/4)/* 27 MHz */ -#endif /* _ASM_SCORE_SCOREREGS_H */ arch/score/include/asm/sections.h deleted +0
-6@@ -1,6 +0,0 @@ -#ifndef _ASM_SCORE_SECTIONS_H -#define _ASM_SCORE_SECTIONS_H - -#include <asm-generic/sections.h> - -#endif /* _ASM_SCORE_SECTIONS_H */ arch/score/include/asm/segment.h deleted +0
-21@@ -1,21 +0,0 @@ -#ifndef _ASM_SCORE_SEGMENT_H -#define _ASM_SCORE_SEGMENT_H - -#ifndef __ASSEMBLY__ - -typedef struct { -unsigned long seg; -}mm_segment_t ; - -#define KERNEL_DS ((mm_segment_t){0}) -#define USER_DS KERNEL_DS - -# define get_ds () (KERNEL_DS) -# define get_fs () (current_thread_info()->addr_limit) -# define set_fs (x) \ - do { current_thread_info()->addr_limit = (x); } while (0) - -# define segment_eq (a, b) ((a).seg == (b).seg) - -# endif /* __ASSEMBLY__ */ -#endif /* _ASM_SCORE_SEGMENT_H */ arch/score/include/asm/setup.h deleted +0
-36@@ -1,36 +0,0 @@ -#ifndef _ASM_SCORE_SETUP_H -#define _ASM_SCORE_SETUP_H - -#include <uapi/asm/setup.h> - - -extern void pagetable_init (void ); -extern void pgd_init (unsigned long page); - -extern void setup_early_printk (void ); -extern void cpu_cache_init (void ); -extern void tlb_init (void ); - -extern void handle_nmi (void ); -extern void handle_adelinsn (void ); -extern void handle_adedata (void ); -extern void handle_ibe (void ); -extern void handle_pel (void ); -extern void handle_sys (void ); -extern void handle_ccu (void ); -extern void handle_ri (void ); -extern void handle_tr (void ); -extern void handle_ades (void ); -extern void handle_cee (void ); -extern void handle_cpe (void ); -extern void handle_dve (void ); -extern void handle_dbe (void ); -extern void handle_reserved (void ); -extern void handle_tlb_refill (void ); -extern void handle_tlb_invaild (void ); -extern void handle_mod (void ); -extern void debug_exception_vector (void ); -extern void general_exception_vector (void ); -extern void interrupt_exception_vector (void ); - -#endif /* _ASM_SCORE_SETUP_H */ arch/score/include/asm/shmparam.h deleted +0
-6@@ -1,6 +0,0 @@ -#ifndef _ASM_SCORE_SHMPARAM_H -#define _ASM_SCORE_SHMPARAM_H - -#include <asm-generic/shmparam.h> - -#endif /* _ASM_SCORE_SHMPARAM_H */ arch/score/include/asm/string.h deleted +0
-8@@ -1,8 +0,0 @@ -#ifndef _ASM_SCORE_STRING_H -#define _ASM_SCORE_STRING_H - -extern void *memset (void *__s,int __c,size_t __count); -extern void *memcpy(void *__to, __const__ void *__from, size_t __n); -extern void *memmove(void *__dest, __const__ void *__src, size_t __n); - -#endif /* _ASM_SCORE_STRING_H */ arch/score/include/asm/switch_to.h deleted +0
-13@@ -1,13 +0,0 @@ -#ifndef _ASM_SCORE_SWITCH_TO_H -#define _ASM_SCORE_SWITCH_TO_H - -extern void *resume (void *last,void *next,void *next_ti); - -#define switch_to (prev, next, last) \ -do { \ - (last) = resume(prev, next, task_thread_info(next)); \ -} while (0) - -#define finish_arch_switch (prev) do {} while (0) - -#endif /* _ASM_SCORE_SWITCH_TO_H */ arch/score/include/asm/syscalls.h deleted +0
-8@@ -1,8 +0,0 @@ -#ifndef _ASM_SCORE_SYSCALLS_H -#define _ASM_SCORE_SYSCALLS_H - -asmlinkage long score_rt_sigreturn (struct pt_regs *regs); - -#include <asm-generic/syscalls.h> - -#endif /* _ASM_SCORE_SYSCALLS_H */ arch/score/include/asm/thread_info.h deleted +0
-100@@ -1,100 +0,0 @@ -#ifndef _ASM_SCORE_THREAD_INFO_H -#define _ASM_SCORE_THREAD_INFO_H - -#ifdef __KERNEL__ - -#define KU_MASK 0x08 -#define KU_USER 0x08 -#define KU_KERN 0x00 - -#include <asm/page.h> -#include <linux/const.h> - -/* thread information allocation */ -#define THREAD_SIZE_ORDER (1) -#define THREAD_SIZE (PAGE_SIZE << THREAD_SIZE_ORDER) -#define THREAD_MASK (THREAD_SIZE - _AC(1,UL)) - -#ifndef __ASSEMBLY__ - -#include <asm/processor.h> - -/* -* low level task data that entry.S needs immediate access to -* - this struct should fit entirely inside of one cache line -* - this struct shares the supervisor stack pages -* - if the contents of this structure are changed, the assembly constants -* must also be changed -*/ -struct thread_info { -struct task_struct *task;/* main task structure */ -struct exec_domain *exec_domain;/* execution domain */ -unsigned long flags;/* low level flags */ -unsigned long tp_value;/* thread pointer */ -__u32 cpu;/* current CPU */ - -/* 0 => preemptable, < 0 => BUG */ -int preempt_count; - -/* -* thread address space: -* 0-0xBFFFFFFF for user-thead -* 0-0xFFFFFFFF for kernel-thread -*/ -mm_segment_t addr_limit; -struct restart_block restart_block; -struct pt_regs *regs; -}; - -/* -* macros/functions for gaining access to the thread information structure -* -* preempt_count needs to be 1 initially, until the scheduler is functional. -*/ -#define INIT_THREAD_INFO (tsk) \ -{ \ - .task = &tsk, \ - .exec_domain = &default_exec_domain, \ - .cpu = 0, \ - .preempt_count = 1, \ - .addr_limit = KERNEL_DS, \ - .restart_block = { \ - .fn = do_no_restart_syscall, \ - }, \ -} - -#define init_thread_info (init_thread_union.thread_info) -#define init_stack (init_thread_union.stack) - -/* How to get the thread information struct from C. */ -registerstruct thread_info *__current_thread_info __asm__("r28" ); -#define current_thread_info () __current_thread_info - -#endif /* !__ASSEMBLY__ */ - -#define PREEMPT_ACTIVE 0x10000000 - -/* -* thread information flags -* - these are process state flags that various assembly files may need to -* access -* - pending work-to-be-done flags are in LSW -* - other flags in MSW -*/ -#define TIF_SYSCALL_TRACE 0/* syscall trace active */ -#define TIF_SIGPENDING 1/* signal pending */ -#define TIF_NEED_RESCHED 2/* rescheduling necessary */ -#define TIF_NOTIFY_RESUME 5/* callback before returning to user */ -#define TIF_RESTORE_SIGMASK 9/* restore signal mask in do_signal() */ -#define TIF_MEMDIE 18/* is terminating due to OOM killer */ - -#define _TIF_SYSCALL_TRACE (1<<TIF_SYSCALL_TRACE) -#define _TIF_SIGPENDING (1<<TIF_SIGPENDING) -#define _TIF_NEED_RESCHED (1<<TIF_NEED_RESCHED) -#define _TIF_NOTIFY_RESUME (1<<TIF_NOTIFY_RESUME) - -#define _TIF_WORK_MASK (0x0000ffff) - -#endif /* __KERNEL__ */ - -#endif /* _ASM_SCORE_THREAD_INFO_H */ arch/score/include/asm/timex.h deleted +0
-8@@ -1,8 +0,0 @@ -#ifndef _ASM_SCORE_TIMEX_H -#define _ASM_SCORE_TIMEX_H - -#define CLOCK_TICK_RATE 27000000/* Timer input freq. */ - -#include <asm-generic/timex.h> - -#endif /* _ASM_SCORE_TIMEX_H */ arch/score/include/asm/tlb.h deleted +0
-17@@ -1,17 +0,0 @@ -#ifndef _ASM_SCORE_TLB_H -#define _ASM_SCORE_TLB_H - -/* -* SCORE doesn't need any special per-pte or per-vma handling, except -* we need to flush cache for area to be unmapped. -*/ -#define tlb_start_vma (tlb, vma) do {} while (0) -#define tlb_end_vma (tlb, vma) do {} while (0) -#define __tlb_remove_tlb_entry (tlb, ptep, address) do {} while (0) -#define tlb_flush (tlb) flush_tlb_mm((tlb)->mm) - -extern void score7_FTLB_refill_Handler (void ); - -#include <asm-generic/tlb.h> - -#endif /* _ASM_SCORE_TLB_H */ arch/score/include/asm/tlbflush.h deleted +0
-142@@ -1,142 +0,0 @@ -#ifndef _ASM_SCORE_TLBFLUSH_H -#define _ASM_SCORE_TLBFLUSH_H - -#include <linux/mm.h> - -/* -* TLB flushing: -* -* - flush_tlb_all() flushes all processes TLB entries -* - flush_tlb_mm(mm) flushes the specified mm context TLB entries -* - flush_tlb_page(vma, vmaddr) flushes one page -* - flush_tlb_range(vma, start, end) flushes a range of pages -* - flush_tlb_kernel_range(start, end) flushes a range of kernel pages -*/ -extern void local_flush_tlb_all (void ); -extern void local_flush_tlb_mm (struct mm_struct *mm); -extern void local_flush_tlb_range (struct vm_area_struct *vma, -unsigned long start,unsigned long end); -extern void local_flush_tlb_kernel_range (unsigned long start, -unsigned long end); -extern void local_flush_tlb_page (struct vm_area_struct *vma, -unsigned long page); -extern void local_flush_tlb_one (unsigned long vaddr); - -#define flush_tlb_all () local_flush_tlb_all() -#define flush_tlb_mm (mm) local_flush_tlb_mm(mm) -#define flush_tlb_range (vma, vmaddr, end) \ - local_flush_tlb_range(vma, vmaddr, end) -#define flush_tlb_kernel_range (vmaddr, end) \ - local_flush_tlb_kernel_range(vmaddr, end) -#define flush_tlb_page (vma, page) local_flush_tlb_page(vma, page) -#define flush_tlb_one (vaddr) local_flush_tlb_one(vaddr) - -#ifndef __ASSEMBLY__ - -static inline unsigned long pevn_get (void ) -{ -unsigned long val; - - __asm__ __volatile__( -"mfcr %0, cr11\n" -"nop\nnop\n" - :"=r" (val)); - -return val; -} - -static inline void pevn_set (unsigned long val) -{ - __asm__ __volatile__( -"mtcr %0, cr11\n" -"nop\nnop\nnop\nnop\nnop\n" - : :"r" (val)); -} - -static inline void pectx_set (unsigned long val) -{ - __asm__ __volatile__( -"mtcr %0, cr12\n" -"nop\nnop\nnop\nnop\nnop\n" - : :"r" (val)); -} - -static inline unsigned long pectx_get (void ) -{ -unsigned long val; - __asm__ __volatile__( -"mfcr %0, cr12\n" -"nop\nnop\n" - :"=r" (val)); -return val; -} -static inline unsigned long tlblock_get (void ) -{ -unsigned long val; - - __asm__ __volatile__( -"mfcr %0, cr7\n" -"nop\nnop\n" - :"=r" (val)); -return val; -} -static inline void tlblock_set (unsigned long val) -{ - __asm__ __volatile__( -"mtcr %0, cr7\n" -"nop\nnop\nnop\nnop\nnop\n" - : :"r" (val)); -} - -static inline void tlbpt_set (unsigned long val) -{ - __asm__ __volatile__( -"mtcr %0, cr8\n" -"nop\nnop\nnop\nnop\nnop\n" - : :"r" (val)); -} - -static inline long tlbpt_get (void ) -{ -long val; - - __asm__ __volatile__( -"mfcr %0, cr8\n" -"nop\nnop\n" - :"=r" (val)); - -return val; -} - -static inline void peaddr_set (unsigned long val) -{ - __asm__ __volatile__( -"mtcr %0, cr9\n" -"nop\nnop\nnop\nnop\nnop\n" - : :"r" (val)); -} - -/* TLB operations. */ -static inline void tlb_probe (void ) -{ - __asm__ __volatile__("stlb;nop;nop;nop;nop;nop" ); -} - -static inline void tlb_read (void ) -{ - __asm__ __volatile__("mftlb;nop;nop;nop;nop;nop" ); -} - -static inline void tlb_write_indexed (void ) -{ - __asm__ __volatile__("mtptlb;nop;nop;nop;nop;nop" ); -} - -static inline void tlb_write_random (void ) -{ - __asm__ __volatile__("mtrtlb;nop;nop;nop;nop;nop" ); -} - -#endif /* Not __ASSEMBLY__ */ - -#endif /* _ASM_SCORE_TLBFLUSH_H */ arch/score/include/asm/topology.h deleted +0
-6@@ -1,6 +0,0 @@ -#ifndef _ASM_SCORE_TOPOLOGY_H -#define _ASM_SCORE_TOPOLOGY_H - -#include <asm-generic/topology.h> - -#endif /* _ASM_SCORE_TOPOLOGY_H */ arch/score/include/asm/uaccess.h deleted +0
-424@@ -1,424 +0,0 @@ -#ifndef __SCORE_UACCESS_H -#define __SCORE_UACCESS_H - -#include <linux/kernel.h> -#include <linux/errno.h> -#include <linux/thread_info.h> - -#define VERIFY_READ 0 -#define VERIFY_WRITE 1 - -#define get_ds () (KERNEL_DS) -#define get_fs () (current_thread_info()->addr_limit) -#define segment_eq (a, b) ((a).seg == (b).seg) - -/* -* Is a address valid? This does a straighforward calculation rather -* than tests. -* -* Address valid if: -* - "addr" doesn't have any high-bits set -* - AND "size" doesn't have any high-bits set -* - AND "addr+size" doesn't have any high-bits set -* - OR we are in kernel mode. -* -* __ua_size() is a trick to avoid runtime checking of positive constant -* sizes; for those we already know at compile time that the size is ok. -*/ -#define __ua_size (size) \ - ((__builtin_constant_p(size) && (signed long) (size) > 0) ? 0 : (size)) - -/* -* access_ok: - Checks if a user space pointer is valid -* @type: Type of access: %VERIFY_READ or %VERIFY_WRITE. Note that -* %VERIFY_WRITE is a superset of %VERIFY_READ - if it is safe -* to write to a block, it is always safe to read from it. -* @addr: User space pointer to start of block to check -* @size: Size of block to check -* -* Context: User context only. This function may sleep. -* -* Checks if a pointer to a block of memory in user space is valid. -* -* Returns true (nonzero) if the memory block may be valid, false (zero) -* if it is definitely invalid. -* -* Note that, depending on architecture, this function probably just -* checks that the pointer is in the user space range - after calling -* this function, memory access functions may still return -EFAULT. -*/ - -#define __access_ok (addr, size) \ - (((long)((get_fs().seg) & \ - ((addr) | ((addr) + (size)) | \ - __ua_size(size)))) == 0) - -#define access_ok (type, addr, size) \ - likely(__access_ok((unsigned long)(addr), (size))) - -/* -* put_user: - Write a simple value into user space. -* @x: Value to copy to user space. -* @ptr: Destination address, in user space. -* -* Context: User context only. This function may sleep. -* -* This macro copies a single simple value from kernel space to user -* space. It supports simple types like char and int, but not larger -* data types like structures or arrays. -* -* @ptr must have pointer-to-simple-variable type, and @x must be assignable -* to the result of dereferencing @ptr. -* -* Returns zero on success, or -EFAULT on error. -*/ -#define put_user (x, ptr) __put_user_check((x), (ptr), sizeof(*(ptr))) - -/* -* get_user: - Get a simple variable from user space. -* @x: Variable to store result. -* @ptr: Source address, in user space. -* -* Context: User context only. This function may sleep. -* -* This macro copies a single simple variable from user space to kernel -* space. It supports simple types like char and int, but not larger -* data types like structures or arrays. -* -* @ptr must have pointer-to-simple-variable type, and the result of -* dereferencing @ptr must be assignable to @x without a cast. -* -* Returns zero on success, or -EFAULT on error. -* On error, the variable @x is set to zero. -*/ -#define get_user (x, ptr) __get_user_check((x), (ptr), sizeof(*(ptr))) - -/* -* __put_user: - Write a simple value into user space, with less checking. -* @x: Value to copy to user space. -* @ptr: Destination address, in user space. -* -* Context: User context only. This function may sleep. -* -* This macro copies a single simple value from kernel space to user -* space. It supports simple types like char and int, but not larger -* data types like structures or arrays. -* -* @ptr must have pointer-to-simple-variable type, and @x must be assignable -* to the result of dereferencing @ptr. -* -* Caller must check the pointer with access_ok() before calling this -* function. -* -* Returns zero on success, or -EFAULT on error. -*/ -#define __put_user (x, ptr) __put_user_nocheck((x), (ptr), sizeof(*(ptr))) - -/* -* __get_user: - Get a simple variable from user space, with less checking. -* @x: Variable to store result. -* @ptr: Source address, in user space. -* -* Context: User context only. This function may sleep. -* -* This macro copies a single simple variable from user space to kernel -* space. It supports simple types like char and int, but not larger -* data types like structures or arrays. -* -* @ptr must have pointer-to-simple-variable type, and the result of -* dereferencing @ptr must be assignable to @x without a cast. -* -* Caller must check the pointer with access_ok() before calling this -* function. -* -* Returns zero on success, or -EFAULT on error. -* On error, the variable @x is set to zero. -*/ -#define __get_user (x, ptr) __get_user_nocheck((x), (ptr), sizeof(*(ptr))) - -struct __large_struct {unsigned long buf[100 ]; }; -#define __m (x) (*(struct __large_struct __user *)(x)) - -/* -* Yuck. We need two variants, one for 64bit operation and one -* for 32 bit mode and old iron. -*/ -extern void __get_user_unknown (void ); - -#define __get_user_common (val, size, ptr) \ -do { \ - switch (size) { \ - case 1: \ - __get_user_asm(val, "lb", ptr); \ - break; \ - case 2: \ - __get_user_asm(val, "lh", ptr); \ - break; \ - case 4: \ - __get_user_asm(val, "lw", ptr); \ - break; \ - case 8: \ - if ((copy_from_user((void *)&val, ptr, 8)) == 0) \ - __gu_err = 0; \ - else \ - __gu_err = -EFAULT; \ - break; \ - default: \ - __get_user_unknown(); \ - break; \ - } \ -} while (0) - -#define __get_user_nocheck (x, ptr, size) \ -({ \ - long __gu_err = 0; \ - __get_user_common((x), size, ptr); \ - __gu_err; \ -}) - -#define __get_user_check (x, ptr, size) \ -({ \ - long __gu_err = -EFAULT; \ - const __typeof__(*(ptr)) __user *__gu_ptr = (ptr); \ - \ - if (likely(access_ok(VERIFY_READ, __gu_ptr, size))) \ - __get_user_common((x), size, __gu_ptr); \ - \ - __gu_err; \ -}) - -#define __get_user_asm (val, insn, addr) \ -{ \ - long __gu_tmp; \ - \ - __asm__ __volatile__( \ - "1:" insn " %1, %3\n" \ - "2:\n" \ - ".section .fixup,\"ax\"\n" \ - "3:li %0, %4\n" \ - "j 2b\n" \ - ".previous\n" \ - ".section __ex_table,\"a\"\n" \ - ".word 1b, 3b\n" \ - ".previous\n" \ - : "=r" (__gu_err), "=r" (__gu_tmp) \ - : "0" (0), "o" (__m(addr)), "i" (-EFAULT)); \ - \ - (val) = (__typeof__(*(addr))) __gu_tmp; \ -} - -/* -* Yuck. We need two variants, one for 64bit operation and one -* for 32 bit mode and old iron. -*/ -#define __put_user_nocheck (val, ptr, size) \ -({ \ - __typeof__(*(ptr)) __pu_val; \ - long __pu_err = 0; \ - \ - __pu_val = (val); \ - switch (size) { \ - case 1: \ - __put_user_asm("sb", ptr); \ - break; \ - case 2: \ - __put_user_asm("sh", ptr); \ - break; \ - case 4: \ - __put_user_asm("sw", ptr); \ - break; \ - case 8: \ - if ((__copy_to_user((void *)ptr, &__pu_val, 8)) == 0) \ - __pu_err = 0; \ - else \ - __pu_err = -EFAULT; \ - break; \ - default: \ - __put_user_unknown(); \ - break; \ - } \ - __pu_err; \ -}) - - -#define __put_user_check (val, ptr, size) \ -({ \ - __typeof__(*(ptr)) __user *__pu_addr = (ptr); \ - __typeof__(*(ptr)) __pu_val = (val); \ - long __pu_err = -EFAULT; \ - \ - if (likely(access_ok(VERIFY_WRITE, __pu_addr, size))) { \ - switch (size) { \ - case 1: \ - __put_user_asm("sb", __pu_addr); \ - break; \ - case 2: \ - __put_user_asm("sh", __pu_addr); \ - break; \ - case 4: \ - __put_user_asm("sw", __pu_addr); \ - break; \ - case 8: \ - if ((__copy_to_user((void *)__pu_addr, &__pu_val, 8)) == 0)\ - __pu_err = 0; \ - else \ - __pu_err = -EFAULT; \ - break; \ - default: \ - __put_user_unknown(); \ - break; \ - } \ - } \ - __pu_err; \ -}) - -#define __put_user_asm (insn, ptr) \ - __asm__ __volatile__( \ - "1:" insn " %2, %3\n" \ - "2:\n" \ - ".section .fixup,\"ax\"\n" \ - "3:li %0, %4\n" \ - "j 2b\n" \ - ".previous\n" \ - ".section __ex_table,\"a\"\n" \ - ".word 1b, 3b\n" \ - ".previous\n" \ - : "=r" (__pu_err) \ - : "0" (0), "r" (__pu_val), "o" (__m(ptr)), \ - "i" (-EFAULT)); - -extern void __put_user_unknown (void ); -extern int __copy_tofrom_user (void *to,const void *from,unsigned long len); - -static inline unsigned long -copy_from_user (void *to,const void *from,unsigned long len) -{ -unsigned long over; - -if (access_ok (VERIFY_READ , from, len)) -return __copy_tofrom_user (to, from, len); - -if ((unsigned long )from <TASK_SIZE ) { - over = (unsigned long )from + len -TASK_SIZE ; -return __copy_tofrom_user (to, from, len - over) + over; - } -return len; -} - -static inline unsigned long -copy_to_user (void *to,const void *from,unsigned long len) -{ -unsigned long over; - -if (access_ok (VERIFY_WRITE , to, len)) -return __copy_tofrom_user (to, from, len); - -if ((unsigned long )to <TASK_SIZE ) { - over = (unsigned long )to + len -TASK_SIZE ; -return __copy_tofrom_user (to, from, len - over) + over; - } -return len; -} - -#define __copy_from_user (to, from, len) \ - __copy_tofrom_user((to), (from), (len)) - -#define __copy_to_user (to, from, len) \ - __copy_tofrom_user((to), (from), (len)) - -static inline unsigned long -__copy_to_user_inatomic (void *to,const void *from,unsigned long len) -{ -return __copy_to_user (to, from, len); -} - -static inline unsigned long -__copy_from_user_inatomic (void *to,const void *from,unsigned long len) -{ -return __copy_from_user (to, from, len); -} - -#define __copy_in_user (to, from, len) __copy_from_user(to, from, len) - -static inline unsigned long -copy_in_user (void *to,const void *from,unsigned long len) -{ -if (access_ok (VERIFY_READ , from, len) && -access_ok (VERFITY_WRITE , to, len)) -return copy_from_user (to, from, len); -} - -/* -* __clear_user: - Zero a block of memory in user space, with less checking. -* @to: Destination address, in user space. -* @n: Number of bytes to zero. -* -* Zero a block of memory in user space. Caller must check -* the specified block with access_ok() before calling this function. -* -* Returns number of bytes that could not be cleared. -* On success, this will be zero. -*/ -extern unsigned long __clear_user (void __user *src,unsigned long size); - -static inline unsigned long clear_user (char *src,unsigned long size) -{ -if (access_ok (VERIFY_WRITE , src, size)) -return __clear_user (src, size); - -return -EFAULT ; -} -/* -* __strncpy_from_user: - Copy a NUL terminated string from userspace, with less checking. -* @dst: Destination address, in kernel space. This buffer must be at -* least @count bytes long. -* @src: Source address, in user space. -* @count: Maximum number of bytes to copy, including the trailing NUL. -* -* Copies a NUL-terminated string from userspace to kernel space. -* Caller must check the specified block with access_ok() before calling -* this function. -* -* On success, returns the length of the string (not including the trailing -* NUL). -* -* If access to userspace fails, returns -EFAULT (some data may have been -* copied). -* -* If @count is smaller than the length of the string, copies @count bytes -* and returns @count. -*/ -extern int __strncpy_from_user (char *dst,const char *src,long len); - -static inline int strncpy_from_user (char *dst,const char *src,long len) -{ -if (access_ok (VERIFY_READ , src,1 )) -return __strncpy_from_user (dst, src, len); - -return -EFAULT ; -} - -extern int __strlen_user (const char *src); -static inline long strlen_user (const char __user *src) -{ -return __strlen_user (src); -} - -extern int __strnlen_user (const char *str,long len); -static inline long strnlen_user (const char __user *str,long len) -{ -if (!access_ok (VERIFY_READ , str,0 )) -return 0 ; -else -return __strnlen_user (str, len); -} - -struct exception_table_entry { -unsigned long insn; -unsigned long fixup; -}; - -extern int fixup_exception (struct pt_regs *regs); - -#endif /* __SCORE_UACCESS_H */ -arch/score/include/asm/ucontext.h deleted +0
-1@@ -1 +0,0 @@ -#include <asm-generic/ucontext.h> arch/score/include/asm/unaligned.h deleted +0
-6@@ -1,6 +0,0 @@ -#ifndef _ASM_SCORE_UNALIGNED_H -#define _ASM_SCORE_UNALIGNED_H - -#include <asm-generic/unaligned.h> - -#endif /* _ASM_SCORE_UNALIGNED_H */ arch/score/include/asm/user.h deleted +0
-21@@ -1,21 +0,0 @@ -#ifndef _ASM_SCORE_USER_H -#define _ASM_SCORE_USER_H - -struct user_regs_struct { -unsigned long regs[32 ]; - -unsigned long cel; -unsigned long ceh; - -unsigned long sr0;/* cnt */ -unsigned long sr1;/* lcr */ -unsigned long sr2;/* scr */ - -unsigned long cp0_epc; -unsigned long cp0_ema; -unsigned long cp0_psr; -unsigned long cp0_ecr; -unsigned long cp0_condition; -}; - -#endif /* _ASM_SCORE_USER_H */ arch/score/include/uapi/asm/Kbuild deleted +0
-34@@ -1,34 +0,0 @@ -# UAPI Header export list -include include/uapi/asm-generic/Kbuild.asm - -header-y += auxvec.h -header-y += bitsperlong.h -header-y += byteorder.h -header-y += errno.h -header-y += fcntl.h -header-y += ioctl.h -header-y += ioctls.hLines of this file are not shown. View the raw message.
arch/score/include/uapi/asm/auxvec.h deleted +0
-4Lines of this file are not shown. View the raw message.
arch/score/include/uapi/asm/bitsperlong.h deleted +0
-6Lines of this file are not shown. View the raw message.
arch/score/include/uapi/asm/byteorder.h deleted +0
-6Lines of this file are not shown. View the raw message.
arch/score/include/uapi/asm/errno.h deleted +0
-6Lines of this file are not shown. View the raw message.
arch/score/include/uapi/asm/fcntl.h deleted +0
-6Lines of this file are not shown. View the raw message.
arch/score/include/uapi/asm/ioctl.h deleted +0
-6Lines of this file are not shown. View the raw message.
arch/score/include/uapi/asm/ioctls.h deleted +0
-6Lines of this file are not shown. View the raw message.
arch/score/include/uapi/asm/ipcbuf.h deleted +0
-6Lines of this file are not shown. View the raw message.
arch/score/include/uapi/asm/kvm_para.h deleted +0
-1Lines of this file are not shown. View the raw message.
arch/score/include/uapi/asm/mman.h deleted +0
-6Lines of this file are not shown. View the raw message.
arch/score/include/uapi/asm/msgbuf.h deleted +0
-6Lines of this file are not shown. View the raw message.
arch/score/include/uapi/asm/param.h deleted +0
-6Lines of this file are not shown. View the raw message.
arch/score/include/uapi/asm/poll.h deleted +0
-6Lines of this file are not shown. View the raw message.
arch/score/include/uapi/asm/posix_types.h deleted +0
-6Lines of this file are not shown. View the raw message.
arch/score/include/uapi/asm/ptrace.h deleted +0
-76Lines of this file are not shown. View the raw message.
arch/score/include/uapi/asm/resource.h deleted +0
-6Lines of this file are not shown. View the raw message.
arch/score/include/uapi/asm/sembuf.h deleted +0
-6Lines of this file are not shown. View the raw message.
arch/score/include/uapi/asm/setup.h deleted +0
-9Lines of this file are not shown. View the raw message.
arch/score/include/uapi/asm/shmbuf.h deleted +0
-6Lines of this file are not shown. View the raw message.
arch/score/include/uapi/asm/sigcontext.h deleted +0
-22Lines of this file are not shown. View the raw message.
arch/score/include/uapi/asm/siginfo.h deleted +0
-6Lines of this file are not shown. View the raw message.
arch/score/include/uapi/asm/signal.h deleted +0
-6Lines of this file are not shown. View the raw message.
arch/score/include/uapi/asm/socket.h deleted +0
-6Lines of this file are not shown. View the raw message.
arch/score/include/uapi/asm/sockios.h deleted +0
-6Lines of this file are not shown. View the raw message.
arch/score/include/uapi/asm/stat.h deleted +0
-6Lines of this file are not shown. View the raw message.
arch/score/include/uapi/asm/statfs.h deleted +0
-6Lines of this file are not shown. View the raw message.
arch/score/include/uapi/asm/swab.h deleted +0
-6Lines of this file are not shown. View the raw message.
arch/score/include/uapi/asm/termbits.h deleted +0
-6Lines of this file are not shown. View the raw message.
arch/score/include/uapi/asm/termios.h deleted +0
-6Lines of this file are not shown. View the raw message.
arch/score/include/uapi/asm/types.h deleted +0
-6Lines of this file are not shown. View the raw message.
arch/score/include/uapi/asm/unistd.h deleted +0
-11Lines of this file are not shown. View the raw message.
arch/score/kernel/asm-offsets.c deleted +0
-216Lines of this file are not shown. View the raw message.
arch/score/kernel/sys_call_table.c deleted +0
-12Lines of this file are not shown. View the raw message.
arch/score/kernel/vmlinux.lds.S deleted +0
-90Lines of this file are not shown. View the raw message.
arch/score/lib/checksum_copy.c deleted +0
-52Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
1.7.9.7
Part of the diff is not shown here. View the raw message.
Quoted 13 lines · Lennox Wu
Dear all,
Indeed, Sunplus S+core is not a popular architecture and there is no standalone to be sold so you should not find related news on the Internet. However, the s+core is adopted by our SoCs and these SoCs are indeed adopted by some companies, we hope the architecture can be reserved to provide the more and more powerful Linux for our customers. It is true that we rarely update the code because that we are rarely requested to add new functions and to correct bugs by our customers, and it is also because we have no new product to release. In the near future, we will release some patches for the existed S+core architecture.
Key question is not if the platform is popular, but if it is maintained. The commit log over the last two years strongly suggests that this is not the case. I suspect that the code is far from compilable at this point, much less executable. Unfortunately this is hard to verify, as a pre-built or even buildable toolchain is not easily available.
From a company perspective, you might want to decide if you want to put resources into this architecture to keep it alive, or focus on more recent chips and architectures. Information available on the internet suggests that Suncore's more recent chips are based on ARM. Given that, it appears somewhat unlikely that resources for maintaining S+core will be made available. Guess we'll see if the situation changes.
Guenter
Quoted 16 lines
2013/8/31 Guenter Roeck <[email protected]>:
Quoted 15 lines
The web site associated with the score architecture in
MAINTAINERSis non-functional and available for sale. The last Ack from one of the maintainers was in December 2012. The main maintainer's last commit was in 2011. The last maintainer pull request was early 2011.Cc Lennox Wu <[email protected]>Cc Chen Liqin <[email protected]>Signed-off-by Guenter Roeck <[email protected]>---
More housekeeping.Maybe this removal request is a bit early, but architecture support seems to have vanished entirely. At the very least this puts interested parties (if there are any) on notice.
Before we start the development of the S+core, Sunplus had licensed ARM and MIPS. We develop S+core for other reason such as the price. Some products on the web of Sunplus adopt S+core , for example the SPV7050.(http://w3.sunplus.com/products/spv7050.asp) These products could still be bought from the market. Some high-end products adopt ARM or MIPS. So, there is no conflict for a company adopts multiple architectures.
As I said, we recognize that we rarely update because of the limited applications and rare requests from customers. Maybe we don’t understand the culture enough; we think that it is unnecessary if we have no new bugs or new functions, the thought seems wrong. We can commit some patches in the near future.
Best,
Lennox
2013/9/2 Guenter Roeck <[email protected]>:
Quoted 50 lines · Lennox Wu
Quoted 14 lines
Dear all,
Indeed, Sunplus S+core is not a popular architecture and there is no standalone to be sold so you should not find related news on the Internet. However, the s+core is adopted by our SoCs and these SoCs are indeed adopted by some companies, we hope the architecture can be reserved to provide the more and more powerful Linux for our customers. It is true that we rarely update the code because that we are rarely requested to add new functions and to correct bugs by our customers, and it is also because we have no new product to release. In the near future, we will release some patches for the existed S+core architecture.
Key question is not if the platform is popular, but if it is maintained. The commit log over the last two years strongly suggests that this is not the case. I suspect that the code is far from compilable at this point, much less executable. Unfortunately this is hard to verify, as a pre-built or even buildable toolchain is not easily available.
From a company perspective, you might want to decide if you want to put resources into this architecture to keep it alive, or focus on more recent chips and architectures. Information available on the internet suggests that Suncore's more recent chips are based on ARM. Given that, it appears somewhat unlikely that resources for maintaining S+core will be made available. Guess we'll see if the situation changes.
Guenter
Quoted 17 lines
2013/8/31 Guenter Roeck <[email protected]>:
Quoted 16 lines
The web site associated with the score architecture in
MAINTAINERSis non-functional and available for sale. The last Ack from one of the maintainers was in December 2012. The main maintainer's last commit was in 2011. The last maintainer pull request was early 2011.Cc Lennox Wu <[email protected]>Cc Chen Liqin <[email protected]>Signed-off-by Guenter Roeck <[email protected]>---
More housekeeping.Maybe this removal request is a bit early, but architecture support seems to have vanished entirely. At the very least this puts interested parties (if there are any) on notice.
Quoted 8 lines · Lennox Wu
Before we start the development of the S+core, Sunplus had licensed ARM and MIPS. We develop S+core for other reason such as the price. Some products on the web of Sunplus adopt S+core , for example the SPV7050.(http://w3.sunplus.com/products/spv7050.asp) These products could still be bought from the market. Some high-end products adopt ARM or MIPS. So, there is no conflict for a company adopts multiple architectures.
Quoted 5 lines
As I said, we recognize that we rarely update because of the limited applications and rare requests from customers. Maybe we don?t understand the culture enough; we think that it is unnecessary if we have no new bugs or new functions, the thought seems wrong. We can commit some patches in the near future.
"New bugs" as in "don't bother with the stuff that had been broken since the initial merge"? You might want to take a look at arch/score/kernel/entry.S, for starters. And compare these pieces of code:
brl r10 # Do The Real system call
cmpi.c r4, 0
blt 1f
ldi r8, 0
sw r8, [r0, PT_R7]
b 2f
1:
cmpi.c r4, -MAX_ERRNO - 1
ble 2f
ldi r8, 0x1;
sw r8, [r0, PT_R7]
neg r4, r42:
sw r4, [r0, PT_R4] # save result
- syscall without being traced vs.
brl r8
li r8, -MAX_ERRNO - 1
sw r8, [r0, PT_R7] # set error flag
neg r4, r4 # error
sw r4, [r0, PT_R0] # set flag for syscall
# restarting
1: sw r4, [r0, PT_R2] # result
- syscall under ptrace. Estimate the amount of testing (or reading, for that matter) the second chunk had...
Both pieces are obviously derived from mips, except that
* mips ABI has return values go in r2, score one - in r4. Note where
the ptraced variant stores the result...
* syscall restart logics on mips uses regs->regs[0] as "syscall restart
allowed" flag; score does no such thing - regs->is_syscall is used and no, PT_R0 isn't equal to its offset
* both mips and non-traced path on score implement this: r7 = (unsigned long)res >= -MAX_ERRNO; if (r7) res = -res;
ptraced path on score, OTOH, doesn't do comparison at all, slaps -MAX_ERRNO-1 into r7, always negates the return value and, while we are at it, still contains the target of lost conditional branch instruction.
And yes, it had been that way since the initial merge into the mainline tree - this didn't come from subsequent bitrot. Does that disqualify it from being a "new bug"?
Quoted 8 lines · Lennox Wu
Before we start the development of the S+core, Sunplus had licensed ARM and MIPS. We develop S+core for other reason such as the price. Some products on the web of Sunplus adopt S+core , for example the SPV7050.(http://w3.sunplus.com/products/spv7050.asp) These products could still be bought from the market. Some high-end products adopt ARM or MIPS. So, there is no conflict for a company adopts multiple architectures.
Quoted 6 lines
As I said, we recognize that we rarely update because of the limited applications and rare requests from customers. Maybe we don’t understand the culture enough; we think that it is unnecessary if we have no new bugs or new functions, the thought seems wrong. We can commit some patches in the near future.
The point is not about submitting patches, it is about maintaining the code. Even if you don't add functionality, one would expect that you ensure that new kernel versions compile and run on your hardware.
Since January 2012, 68 patches have been applied to arch/score, pretty much all of them addressing kernel API changes or global cleanup. Only two of them got an Ack by one of the score maintainers. This strongly suggests that you don't keep track of what is going on, and at the very least raises the question if you do compile and test new kernel versions on a regular basis. Even if you do, no one knows about it, because ....
As part of this process, I would expect the architecture maintainer to accept incoming patches, test the same, and send pull requests to Linus. The last time this happened was early 2011; since then all score patches were sent to Linus through Andrew and a few other maintainers. Actually, I don't see many signoffs from a score maintainer at all, even from the very beginning.
As pointed out, the MAINTAINERS entry for score points to a non-existing domain, as does the e-mail address of one of the maintainers.
I would not call that "maintained".
Guenter
Quoted 56 lines
Best,
Lennox2013/9/2 Guenter Roeck <[email protected]>:
Quoted 50 lines · Lennox Wu
Quoted 14 lines
Dear all,
Indeed, Sunplus S+core is not a popular architecture and there is no standalone to be sold so you should not find related news on the Internet. However, the s+core is adopted by our SoCs and these SoCs are indeed adopted by some companies, we hope the architecture can be reserved to provide the more and more powerful Linux for our customers. It is true that we rarely update the code because that we are rarely requested to add new functions and to correct bugs by our customers, and it is also because we have no new product to release. In the near future, we will release some patches for the existed S+core architecture.
Key question is not if the platform is popular, but if it is maintained. The commit log over the last two years strongly suggests that this is not the case. I suspect that the code is far from compilable at this point, much less executable. Unfortunately this is hard to verify, as a pre-built or even buildable toolchain is not easily available.
From a company perspective, you might want to decide if you want to put
resources into this architecture to keep it alive, or focus on more recent chips and architectures. Information available on the internet suggests that Suncore's more recent chips are based on ARM. Given that, it appears somewhat unlikely that resources for maintaining S+core will be made available. Guess we'll see if the situation changes.Guenter
Quoted 17 lines
2013/8/31 Guenter Roeck <[email protected]>:
Quoted 16 lines
The web site associated with the score architecture in
MAINTAINERSis non-functional and available for sale. The last Ack from one of the maintainers was in December 2012. The main maintainer's last commit was in 2011. The last maintainer pull request was early 2011.Cc Lennox Wu <[email protected]>Cc Chen Liqin <[email protected]>Signed-off-by Guenter Roeck <[email protected]>---
More housekeeping.Maybe this removal request is a bit early, but architecture support seems to have vanished entirely. At the very least this puts interested parties (if there are any) on notice.
A message that is not in the archive (sent off-list or not yet received): CAFP0e=Gio_o6QFboVGe3aBCM0zFrsrJuNBthj63RXr+=SDPp7Q@mail.gmail.com
Quoted 53 lines · Liqin Chen
2013/9/3 Guenter Roeck <[email protected]>
Quoted 38 lines · Lennox Wu
Quoted 10 lines
Before we start the development of the S+core, Sunplus had licensed
ARM and MIPS. We develop S+core for other reason such as the price.
Some products on the web of Sunplus adopt S+core , for example
the SPV7050.(http://w3.sunplus.**com/products/spv7050.asp<http://w3.sunplus.com/products/spv7050.asp>) These products
could still be bought from the market. Some high-end products adopt
ARM or MIPS. So, there is no conflict for a company adopts multiple
architectures.Quoted 7 lines
As I said, we recognize that we rarely update because of the limited applications and rare requests from customers. Maybe we don’t understand the culture enough; we think that it is unnecessary if we have no new bugs or new functions, the thought seems wrong. We can commit some patches in the near future.
The point is not about submitting patches, it is about maintaining the code.
Even if you don't add functionality, one would expect that you ensure that new kernel versions compile and run on your hardware.Since January 2012, 68 patches have been applied to
arch/score, pretty much all of them addressing kernel API changes or global cleanup. Only two of them got an Ack by one of the score maintainers. This strongly suggests that you don't keep track of what is going on, and at the very least raises the question if you do compile and test new kernel versions on a regular basis. Even if you do, no one knows about it, because ....As part of this process, I would expect the architecture maintainer to accept incoming patches, test the same, and send pull requests to Linus. The last time this happened was early 2011; since then all score patches were sent to Linus through Andrew and a few other maintainers. Actually, I don't see many signoffs from a score maintainer at all, even from the very beginning.
Quoted 6 lines
As pointed out, the
MAINTAINERSentry for score points to a non-existing domain, as does the e-mail address of one of the maintainers.I would not call that "maintained".
Hi Al Viro, Guenter Roeck, Arnd Bergmann and all,
I still supports the S+core team to maintain their codes, although I left sunplus co. in 2011.
Quoted 7 lines
I keep reading the mailing list and testing these patches for S+core, I think the main problems are they have not echoed to any comments on score's questions. Maybe they think the current situation is good enough for their customers, and they don’t understand the rules of the group enough. Even so, they should update score code to the latest status, include my mail address.
Updating your e-mail address, sending Ack or Nack replies to patches for the architecture, and possibly sending pull requests to Linus would be entirely up to you.
With neither you nor Suncore showing any activity, how is the kernel community supposed to know if anyone maintains the architecture ? Your e-mail pointing to a domain which no longer exists doesn't really show much engagement.
Similar, if you _don't_ maintain the architecture anymore, it would be prudent to let the community know by submitting a patch removing yourself as maintainer.
Quoted 4 lines
We will discuss how to maintain the code of S+core. However, if all of you and Linus also think the S+core should be removed from the upstream, we will do it.
The main concern is that the architecture appears to be un-maintained in practice. We don't know if the code even compiles, much less if it works on any target hardware. We'll see if that situation changes.
Guenter
Quoted 59 lines · Liqin Chen
2013/9/3 Guenter Roeck <[email protected] <mailto:[email protected]>>
On 09/02/2013 08:18 AM, Lennox Wu wrote:
Before we start the development of the S+core, Sunplus had licensed
ARM and MIPS. We develop S+core for other reason such as the price.
Some products on the web of Sunplus adopt S+core , for example
the SPV7050.(http://w3.sunplus.__com/products/spv7050.asp <http://w3.sunplus.com/products/spv7050.asp>) These products could still be bought from the market. Some high-end products adopt
ARM or MIPS. So, there is no conflict for a company adopts multiple
architectures.As I said, we recognize that we rarely update because of the limited applications and rare requests from customers. Maybe we don’t understand the culture enough; we think that it is unnecessary if we have no new bugs or new functions, the thought seems wrong. We can commit some patches in the near future.
The point is not about submitting patches, it is about maintaining the code. Even if you don't add functionality, one would expect that you ensure that new kernel versions compile and run on your hardware.
Since January 2012, 68 patches have been applied to
arch/score, pretty much all of them addressing kernel API changes or global cleanup. Only two of them got an Ack by one of the score maintainers. This strongly suggests that you don't keep track of what is going on, and at the very least raises the question if you do compile and test new kernel versions on a regular basis. Even if you do, no one knows about it, because ....As part of this process, I would expect the architecture maintainer to accept incoming patches, test the same, and send pull requests to Linus. The last time this happened was early 2011; since then all score patches were sent to Linus through Andrew and a few other maintainers. Actually, I don't see many signoffs from a score maintainer at all, even from the very beginning.
As pointed out, the
MAINTAINERSentry for score points to a non-existing domain, as does the e-mail address of one of the maintainers.I would not call that "maintained".
Hi Al Viro, Guenter Roeck, Arnd Bergmann and all,
I still supports the S+core team to maintain their codes, although I left sunplus co. in 2011.
I keep reading the mailing list and testing these patches for S+core, I think the main problems are they have not echoed to any comments on score's questions. Maybe they think the current situation is good enough for their customers, and they don’t understand the rules of the group enough. Even so, they should update score code to the latest status, include my mail address.
Quoted 4 lines
We will discuss how to maintain the code of S+core. However, if all of you and Linus also think the S+core should be removed from the upstream, we will do it.
Trying to build gcc for score says:
*** Configuration score-unknown-elf is obsolete. *** Specify --enable-obsolete to build it anyway. *** Support will be REMOVED in the next major release of GCC, *** unless a maintainer comes forward.
That does not sound very encouraging.
Guenter
Quoted 8 lines · Guenter Roeck
The web site associated with the score architecture in
MAINTAINERSis non-functional and available for sale. The last Ack from one of the maintainers was in December 2012. The main maintainer's last commit was in 2011. The last maintainer pull request was early 2011.Cc Lennox Wu <[email protected]>Cc Chen Liqin <[email protected]>Signed-off-by Guenter Roeck <[email protected]>
Quoted 6 lines
---
More housekeeping.Maybe this removal request is a bit early, but architecture support seems to have vanished entirely. At the very least this puts interested parties (if there are any) on notice.
I note that if qemu system emulation supports an obscurish platform, the rest of us can regression test it. If qemu doesn't support it, we can't.
(I'm looking at you, Hexagon.)
Rob
Quoted 18 lines · Rob Landley
Quoted 8 lines · Guenter Roeck
The web site associated with the score architecture in
MAINTAINERSis non-functional and available for sale. The last Ack from one of the maintainers was in December 2012. The main maintainer's last commit was in 2011. The last maintainer pull request was early 2011.Cc Lennox Wu <[email protected]>Cc Chen Liqin <[email protected]>Signed-off-by Guenter Roeck <[email protected]>Quoted 8 lines
---
More housekeeping.Maybe this removal request is a bit early, but architecture support seems
to have vanished entirely. At the very least this puts interested parties
(if there are any) on notice.
Quoted 6 lines
I note that if qemu system emulation supports an obscurish platform, the rest of us can regression test it. If qemu doesn't support it, we can't.
(I'm looking at you, Hexagon.)
At least they have a working compiler. It also helps if qemu runs with an unpatched upstream kernel, which is unfortunately not always the case.
Guenter