OSDN Git Service
Paul Mundt [Wed, 21 Nov 2007 08:07:06 +0000 (17:07 +0900)]
sh: Move over SH-5 TLB and cache support code.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Paul Mundt [Wed, 21 Nov 2007 07:58:56 +0000 (16:58 +0900)]
sh: Merge sh64 Kconfig.debug options.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Paul Mundt [Wed, 21 Nov 2007 07:55:27 +0000 (16:55 +0900)]
sh: Kill off a stray proc tlb reference in fault_64.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Paul Mundt [Wed, 21 Nov 2007 07:53:37 +0000 (16:53 +0900)]
sh: Merge the sh64 zImage bits.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Paul Mundt [Wed, 21 Nov 2007 07:19:12 +0000 (16:19 +0900)]
sh: SH-5 uses a 64-bit PTE_MAGNITUDE, as X2 TLB.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Paul Mundt [Wed, 21 Nov 2007 07:04:12 +0000 (16:04 +0900)]
sh: Use existing CONFIG_CACHE_xx options in head_64.S.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Paul Mundt [Wed, 21 Nov 2007 06:58:24 +0000 (15:58 +0900)]
sh: Fix up generic BUG build for SH-5.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Paul Mundt [Wed, 21 Nov 2007 06:58:01 +0000 (15:58 +0900)]
sh: Consolidate Kconfig.sh/Kconfig.sh64.
Fold in the sh64-specific bits in to the main Kconfig.sh, and move
this back as arch/sh/Kconfig.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Paul Mundt [Wed, 21 Nov 2007 06:46:07 +0000 (15:46 +0900)]
sh: Bump the MEMORY_SIZE default to something reasonable.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Paul Mundt [Wed, 21 Nov 2007 06:43:43 +0000 (15:43 +0900)]
sh: Kill off some dead sh64 kconfig symbols.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Paul Mundt [Wed, 21 Nov 2007 06:34:33 +0000 (15:34 +0900)]
sh: Switch SH-5 to use CONFIG_PAGE_OFFSET.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Paul Mundt [Wed, 21 Nov 2007 06:34:02 +0000 (15:34 +0900)]
sh: Move PXSEG comments to addrspace.h.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Paul Mundt [Wed, 21 Nov 2007 06:23:07 +0000 (15:23 +0900)]
sh: Set HPAGE_SHIFT for 512MB hugetlb pages.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Paul Mundt [Tue, 20 Nov 2007 09:45:39 +0000 (18:45 +0900)]
sh: Update cayman defconfig.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Paul Mundt [Tue, 20 Nov 2007 09:44:39 +0000 (18:44 +0900)]
sh: Stubs for fpu disabled on SH-5.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Paul Mundt [Tue, 20 Nov 2007 09:33:03 +0000 (18:33 +0900)]
sh: Stub in CPU subtype setup code for SH5-101/103.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Paul Mundt [Tue, 20 Nov 2007 09:29:00 +0000 (18:29 +0900)]
sh: Add the SH-5 cpu type symbolic names.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Paul Mundt [Tue, 20 Nov 2007 09:27:20 +0000 (18:27 +0900)]
sh: Plug in simple SH-5 subtype probing.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Paul Mundt [Tue, 20 Nov 2007 09:26:54 +0000 (18:26 +0900)]
sh: Kill off do_NMI stub in SH-5 ex table.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Paul Mundt [Tue, 20 Nov 2007 09:26:28 +0000 (18:26 +0900)]
sh: Move quad-word real-address I/O defs to io.h.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Paul Mundt [Tue, 20 Nov 2007 09:08:06 +0000 (18:08 +0900)]
sh: Share bug/debug traps across _32 and _64.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Paul Mundt [Tue, 20 Nov 2007 08:01:55 +0000 (17:01 +0900)]
sh: Move in the SH-5 TLB miss.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Paul Mundt [Tue, 20 Nov 2007 07:51:28 +0000 (16:51 +0900)]
sh: Tidy up various clear_page()/copy_page() definitions.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Paul Mundt [Tue, 20 Nov 2007 06:50:59 +0000 (15:50 +0900)]
sh: sys_sh consolidation for arch_get_unmapped_area().
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Paul Mundt [Tue, 20 Nov 2007 06:48:39 +0000 (15:48 +0900)]
sh: Share the ELF dump_task interfaces.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Paul Mundt [Tue, 20 Nov 2007 06:38:50 +0000 (15:38 +0900)]
sh: Kill off SH-5 enter_deep_standby() cruft.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Paul Mundt [Tue, 20 Nov 2007 06:38:11 +0000 (15:38 +0900)]
sh: Fix up the _stext references for SH-5.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Paul Mundt [Tue, 20 Nov 2007 06:35:42 +0000 (15:35 +0900)]
sh: Sync up the _64 linker script with the _32 version.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Paul Mundt [Tue, 20 Nov 2007 06:16:25 +0000 (15:16 +0900)]
sh: Merge sh and sh64 module.c.
This is trivial, in that they're both effectively the same for the base
relocations anyways. SH-5 doesn't need the unaligned bits, and has a
few extra relocations, which are never hit on non-SH5 parts.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Paul Mundt [Tue, 20 Nov 2007 06:14:48 +0000 (15:14 +0900)]
sh: ioremap_64 needs after_bootmem.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Paul Mundt [Tue, 20 Nov 2007 06:14:31 +0000 (15:14 +0900)]
sh: Plug in the SHmedia ELF relocations.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Paul Mundt [Tue, 20 Nov 2007 05:49:36 +0000 (14:49 +0900)]
sh: Tidy up lib64 udelay impl.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Paul Mundt [Mon, 19 Nov 2007 10:13:38 +0000 (19:13 +0900)]
sh: Move over and enable FPU support for SH-5.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Paul Mundt [Mon, 19 Nov 2007 10:08:49 +0000 (19:08 +0900)]
sh: Common swapper_pg_dir usage for SH-5.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Paul Mundt [Mon, 19 Nov 2007 10:07:51 +0000 (19:07 +0900)]
sh: Provide dummy swapper pt_regs for SH-5 ctx switch.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Paul Mundt [Mon, 19 Nov 2007 10:00:41 +0000 (19:00 +0900)]
sh: Move over sh64 switch_to and stack unwinder.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Paul Mundt [Mon, 19 Nov 2007 09:57:03 +0000 (18:57 +0900)]
sh: Split out tlb-flush in to _32 and _64 variants.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Paul Mundt [Mon, 19 Nov 2007 09:26:19 +0000 (18:26 +0900)]
sh: Split out pgtable.h in to _32 and _64 variants.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Paul Mundt [Mon, 19 Nov 2007 05:26:09 +0000 (14:26 +0900)]
sh: ioremap_64 needs proc_fs.h.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Paul Mundt [Sun, 11 Nov 2007 09:43:33 +0000 (18:43 +0900)]
sh: Split out ioremap in to _32 and _64 variants.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Paul Mundt [Sun, 11 Nov 2007 09:22:55 +0000 (18:22 +0900)]
sh: Split out sh_ksyms.c in to _32 and _64 variants.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Paul Mundt [Sun, 11 Nov 2007 09:11:18 +0000 (18:11 +0900)]
sh: Move over the SH-5 entry.S.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Paul Mundt [Sun, 11 Nov 2007 08:58:11 +0000 (17:58 +0900)]
sh: Split out linker script to _32 and _64 variants.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Paul Mundt [Sun, 11 Nov 2007 08:46:49 +0000 (17:46 +0900)]
sh: Split out syscall ABI for _32 and _64 variants.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Paul Mundt [Sun, 11 Nov 2007 08:41:56 +0000 (17:41 +0900)]
sh: Fix up the head-y targets for _32 and _64.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Paul Mundt [Sun, 11 Nov 2007 08:41:35 +0000 (17:41 +0900)]
sh: Fix up header reference for arch/sh/lib64/panic.c.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Paul Mundt [Sun, 11 Nov 2007 08:37:21 +0000 (17:37 +0900)]
sh: Kill off lib64 version of iomap wrappers.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Paul Mundt [Sun, 11 Nov 2007 08:36:13 +0000 (17:36 +0900)]
sh: Split out checksum.h in to _32 and _64 variants.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Paul Mundt [Sun, 11 Nov 2007 08:28:18 +0000 (17:28 +0900)]
sh: Plug in SH-5 ffz()/__ffs() bitops.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Paul Mundt [Sun, 11 Nov 2007 08:25:10 +0000 (17:25 +0900)]
sh: Fix up 64kB page size selection on SH-5.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Paul Mundt [Sun, 11 Nov 2007 08:24:50 +0000 (17:24 +0900)]
sh: Split out extable.c _32 and _64 variants.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Paul Mundt [Sun, 11 Nov 2007 08:07:06 +0000 (17:07 +0900)]
sh: Add SH-5 support to the consistent DMA impl.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Paul Mundt [Sun, 11 Nov 2007 06:53:51 +0000 (15:53 +0900)]
sh: flush_cache_sigtramp() takes 1 arg only.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Paul Mundt [Sat, 10 Nov 2007 11:39:56 +0000 (20:39 +0900)]
sh: Move vsyscall_init() defs up one level.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Paul Mundt [Sat, 10 Nov 2007 11:39:32 +0000 (20:39 +0900)]
sh: Nopped out p3_cache_init() on SH-5 also.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Paul Mundt [Sat, 10 Nov 2007 11:39:06 +0000 (20:39 +0900)]
sh: Fix up VMALLOC_START for SH-5.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Paul Mundt [Sat, 10 Nov 2007 11:35:53 +0000 (20:35 +0900)]
sh: Move over the SH-5 head.S and tlb.h.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Paul Mundt [Sat, 10 Nov 2007 11:27:03 +0000 (20:27 +0900)]
sh: Have SH-5 provide an {en,dis}able_fpu() impl.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Paul Mundt [Sat, 10 Nov 2007 11:25:28 +0000 (20:25 +0900)]
sh: Disable initial cache flush on SH-5.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Paul Mundt [Sat, 10 Nov 2007 11:18:18 +0000 (20:18 +0900)]
sh: Don't reference UBC code in CPU init on sh64.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Paul Mundt [Sat, 10 Nov 2007 11:15:31 +0000 (20:15 +0900)]
sh: imask IRQ depends on sh32.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Paul Mundt [Sat, 10 Nov 2007 11:14:15 +0000 (20:14 +0900)]
sh: Move in the SH-5 traps.c impl.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Paul Mundt [Sat, 10 Nov 2007 11:12:25 +0000 (20:12 +0900)]
sh: timer.h stub for SH-5.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Paul Mundt [Sat, 10 Nov 2007 11:12:01 +0000 (20:12 +0900)]
sh: Move arch/sh64/kernel/sys_sh64.c to arch/sh/kernel/
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Paul Mundt [Sat, 10 Nov 2007 11:07:57 +0000 (20:07 +0900)]
sh: Move in the SH-5 signal trampoline impl.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Paul Mundt [Sat, 10 Nov 2007 11:01:51 +0000 (20:01 +0900)]
sh: More SH-5 cpuinfo tidying.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Paul Mundt [Sat, 10 Nov 2007 10:57:58 +0000 (19:57 +0900)]
sh: Consolidate slab/kmalloc minalign values.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Paul Mundt [Sat, 10 Nov 2007 10:55:50 +0000 (19:55 +0900)]
sh: Split out uaccess.h in to _32 and _64 variants.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Paul Mundt [Sat, 10 Nov 2007 10:54:16 +0000 (19:54 +0900)]
sh: SH-5 also uses the ASID cache.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Paul Mundt [Sat, 10 Nov 2007 10:53:31 +0000 (19:53 +0900)]
sh: Move in the SH-5 ptrace impl.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Paul Mundt [Sat, 10 Nov 2007 10:46:31 +0000 (19:46 +0900)]
sh: Split out system.h in to _32 and _64 variants.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Paul Mundt [Sat, 10 Nov 2007 10:16:55 +0000 (19:16 +0900)]
sh: Split out 29-bit and 32-bit physical mode definitions.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Paul Mundt [Fri, 9 Nov 2007 08:08:54 +0000 (17:08 +0900)]
sh: Split out processor.h in to _32 and _64 variants.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Paul Mundt [Fri, 9 Nov 2007 07:57:27 +0000 (16:57 +0900)]
sh: SH-5 pt_regs.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Paul Mundt [Fri, 9 Nov 2007 07:57:04 +0000 (16:57 +0900)]
sh: Split out arch/sh/kernel/process.c for _32 and _64 variants.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Paul Mundt [Fri, 9 Nov 2007 07:40:43 +0000 (16:40 +0900)]
sh: Have 32-bit use arch/sh/kernel/Makefile_32.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Paul Mundt [Fri, 9 Nov 2007 07:37:18 +0000 (16:37 +0900)]
sh: Move in the SH-5 mmu_context headers.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Paul Mundt [Fri, 9 Nov 2007 05:07:56 +0000 (14:07 +0900)]
sh: Kill off lib64 version of io.c.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Paul Mundt [Fri, 9 Nov 2007 05:06:24 +0000 (14:06 +0900)]
sh: Move sh32 optimized I/O routines to arch/sh/lib/
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Paul Mundt [Fri, 9 Nov 2007 04:58:44 +0000 (13:58 +0900)]
sh: SH-5 byteorder routines.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Paul Mundt [Fri, 9 Nov 2007 04:45:42 +0000 (13:45 +0900)]
sh: Consolidate CPU features in Kconfig.cpu.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Paul Mundt [Fri, 9 Nov 2007 04:40:50 +0000 (13:40 +0900)]
sh: SH-5 version of current_thread_info().
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Paul Mundt [Fri, 9 Nov 2007 04:34:36 +0000 (13:34 +0900)]
sh: Split out irqflags.h in to _32 and _64 variants.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Paul Mundt [Fri, 9 Nov 2007 04:00:30 +0000 (13:00 +0900)]
sh: Split out asm/string.h for sh32 and sh64.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Paul Mundt [Fri, 9 Nov 2007 03:58:12 +0000 (12:58 +0900)]
sh: Add SH-5 support to io.h.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Paul Mundt [Fri, 9 Nov 2007 03:56:06 +0000 (12:56 +0900)]
sh: Add in cacheflush and DMA headers for SH-5.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Paul Mundt [Thu, 8 Nov 2007 10:24:00 +0000 (19:24 +0900)]
sh64: Kill off arch/sh64/oprofile.
The same implementation exists in arch/sh/oprofile, so get rid of
this version.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Paul Mundt [Thu, 8 Nov 2007 10:22:26 +0000 (19:22 +0900)]
sh: Move sh64 board defconfigs to arch/sh/configs.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Paul Mundt [Thu, 8 Nov 2007 10:21:50 +0000 (19:21 +0900)]
sh: Move sh64 boards to arch/sh/.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Paul Mundt [Thu, 8 Nov 2007 10:08:28 +0000 (19:08 +0900)]
sh: Correct SH-5 instruction size value.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Paul Mundt [Thu, 8 Nov 2007 10:00:27 +0000 (19:00 +0900)]
sh: Add cache definitions for SH-5.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Paul Mundt [Thu, 8 Nov 2007 09:58:52 +0000 (18:58 +0900)]
sh: Add addrspace.h segmentation stub for SH-5.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Paul Mundt [Thu, 8 Nov 2007 09:58:00 +0000 (18:58 +0900)]
sh: BUGFLAG_WARNING needs GENERIC_BUG.
Move the HAVE_ARCH_BUG/HAVE_ARCH_WARN_ON definitions underneath
CONFIG_GENERIC_BUG. This is needed for BUGFLAG_WARNING usage.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Paul Mundt [Thu, 8 Nov 2007 09:55:39 +0000 (18:55 +0900)]
sh: Fix up fixmap location for SH-5.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Paul Mundt [Thu, 8 Nov 2007 09:54:58 +0000 (18:54 +0900)]
sh: Add SH-5 support to asm/module.h.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Paul Mundt [Thu, 8 Nov 2007 09:54:16 +0000 (18:54 +0900)]
sh: Switch Kconfig.sh64 to use arch/sh/mm/Kconfig.
Consolidates the HUGETLB definitions and others.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Paul Mundt [Thu, 8 Nov 2007 09:52:35 +0000 (18:52 +0900)]
sh: Plug SH-5 in to arch/sh/Makefile.
Adds the ISA tuning and a lib64 rule.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Paul Mundt [Thu, 8 Nov 2007 09:51:33 +0000 (18:51 +0900)]
sh: Move arch/sh64/lib to arch/sh/lib64.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Paul Mundt [Thu, 8 Nov 2007 09:46:51 +0000 (18:46 +0900)]
sh: Move the sh64 Kconfig to arch/sh/Kconfig.sh64.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Paul Mundt [Thu, 8 Nov 2007 09:44:09 +0000 (18:44 +0900)]
sh: Split out cache status bits per-CPU family.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>