linux-2.6
16 years agosh: Fix up switch_to() type casts.
Paul Mundt [Mon, 17 Dec 2007 01:52:37 +0000 (10:52 +0900)] 
sh: Fix up switch_to() type casts.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
16 years agosh: Stub in page_table_range_init() on nommu.
Paul Mundt [Mon, 17 Dec 2007 01:52:11 +0000 (10:52 +0900)] 
sh: Stub in page_table_range_init() on nommu.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
16 years agosh: Use def_bool where possible.
Harvey Harrison [Tue, 11 Dec 2007 04:49:35 +0000 (13:49 +0900)] 
sh: Use def_bool where possible.

Change occurances of:
bool
default X

to:
def_bool X

Change ocurances of:
bool "Foo"
default X

to:
def_bool X
prompt "Foo"

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
16 years agosh: Kill off superfluous __KERNEL__ check in asm/elf.h.
Paul Mundt [Mon, 10 Dec 2007 07:33:32 +0000 (16:33 +0900)] 
sh: Kill off superfluous __KERNEL__ check in asm/elf.h.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
16 years agosh: Provide the FPSCR init through AT_FPUCW.
Paul Mundt [Mon, 10 Dec 2007 07:21:57 +0000 (16:21 +0900)] 
sh: Provide the FPSCR init through AT_FPUCW.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
16 years agosh: Use utsname()->machine for ELF_PLATFORM.
Paul Mundt [Mon, 10 Dec 2007 07:06:32 +0000 (16:06 +0900)] 
sh: Use utsname()->machine for ELF_PLATFORM.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
16 years agosh: Encode L1/L2 cache shape in auxvt.
Paul Mundt [Mon, 10 Dec 2007 06:50:28 +0000 (15:50 +0900)] 
sh: Encode L1/L2 cache shape in auxvt.

This adds in the L1I/L1D/L2 cache shape support to their respective
entries in the ELF auxvt, based on the Alpha implementation. We use
this on the userspace libc side for calculating a tightly packed
SHMLBA amongst other things.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
16 years agosh: Support denormalization on SH-4 FPU.
Stuart Menefy [Fri, 30 Nov 2007 09:42:27 +0000 (18:42 +0900)] 
sh: Support denormalization on SH-4 FPU.

Signed-off-by: Stuart Menefy <stuart.menefy@st.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
16 years agosh: Fix up uImage target entry point.
Thomas Betker [Fri, 30 Nov 2007 09:22:10 +0000 (18:22 +0900)] 
sh: Fix up uImage target entry point.

This patch changes the uImage target so that it generates a wrapped
compressed vmlinux, rather than a wrapped zImage. The previous version
matched the ARM, this version matches the PPC. However I would question
how useful a self decompressing image is with a boot loader which does
decompression, so I think this is more useful. I also feel it matches
the descrition in the help text ("Compressed kernel image") better.

Signed-off-by: Thomas Betker <thomas.betker@5etech.eu>
Signed-off-by: Stuart Menefy <stuart.menefy@st.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
16 years agosh: get_user fixes and nommu consolidation.
Stuart Menefy [Fri, 30 Nov 2007 09:16:23 +0000 (18:16 +0900)] 
sh: get_user fixes and nommu consolidation.

When a get_user(to, from++) is called the pointer increment is performed
after its first usage, in the specific after the __add_ok invokation.
This causes a wrong get_user return value, putting a wrong character
in the destination variable. This patch solves the problem using a new
temporary pointer.

Additionally this reworks the use of the register banks, allowing for
consolidation between the MMU and nommu implementations.

Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
Signed-off-by: Giuseppe Condorelli <giuseppe.condorelli@st.com>
Signed-off-by: Stuart Menefy <stuart.menefy@st.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
16 years agosh: Document PTEL 31:29 use on PTEA-wielding parts.
Stuart Menefy [Fri, 30 Nov 2007 09:05:18 +0000 (18:05 +0900)] 
sh: Document PTEL 31:29 use on PTEA-wielding parts.

Signed-off-by: Stuart Menefy <stuart.menefy@st.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
16 years agosh: Populate swapper_pg_dir with fixmap range.
Stuart Menefy [Fri, 30 Nov 2007 08:59:55 +0000 (17:59 +0900)] 
sh: Populate swapper_pg_dir with fixmap range.

This saves us from having to use kmalloc() for the fixmap entries,
which is needed early for the uncached fixmap.

Signed-off-by: Stuart Menefy <stuart.menefy@st.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
16 years agosh: Clean up places that make 29-bit physical assumptions.
Stuart Menefy [Fri, 30 Nov 2007 08:52:53 +0000 (17:52 +0900)] 
sh: Clean up places that make 29-bit physical assumptions.

Signed-off-by: Stuart Menefy <stuart.menefy@st.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
16 years agosh: Preparation for uncached jumps through PMB.
Stuart Menefy [Fri, 30 Nov 2007 08:06:36 +0000 (17:06 +0900)] 
sh: Preparation for uncached jumps through PMB.

Presently most of the 29-bit physical parts do P1/P2 segmentation
with a 1:1 cached/uncached mapping, jumping between the two to
control the caching behaviour. This provides the basic infrastructure
to maintain this behaviour on 32-bit physical parts that don't map
P1/P2 at all, using a shiny new linker section and corresponding
fixmap entry.

Signed-off-by: Stuart Menefy <stuart.menefy@st.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
16 years agosh: Explicit alignment for PAGE_SIZE in copy/clear_page().
Paul Mundt [Fri, 30 Nov 2007 07:34:26 +0000 (16:34 +0900)] 
sh: Explicit alignment for PAGE_SIZE in copy/clear_page().

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
16 years agosh: GUSA atomic rollback support.
Stuart Menefy [Fri, 30 Nov 2007 07:12:36 +0000 (16:12 +0900)] 
sh: GUSA atomic rollback support.

This implements kernel-level atomic rollback built on top of gUSA,
as an alternative non-IRQ based atomicity method. This is generally
a faster method for platforms that are lacking the LL/SC pairs that
SH-4A and later use, and is only supportable on legacy cores.

Signed-off-by: Stuart Menefy <stuart.menefy@st.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
16 years agosh: Fix compile error of arch/sh/mm/pmb.c
Nobuhiro Iwamatsu [Fri, 30 Nov 2007 03:33:17 +0000 (12:33 +0900)] 
sh: Fix compile error of arch/sh/mm/pmb.c

Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
16 years agosh: comment tidying for sh64->sh migration.
Paul Mundt [Wed, 28 Nov 2007 11:19:38 +0000 (20:19 +0900)] 
sh: comment tidying for sh64->sh migration.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
16 years agosh: syscall auditing for sh5, too.
Paul Mundt [Wed, 28 Nov 2007 10:58:11 +0000 (19:58 +0900)] 
sh: syscall auditing for sh5, too.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
16 years agortc: rtc-sh: Split out the CPU defs to asm/cpu/.
Paul Mundt [Wed, 28 Nov 2007 10:14:23 +0000 (19:14 +0900)] 
rtc: rtc-sh: Split out the CPU defs to asm/cpu/.

With all of the different CPU types this was getting a but unwieldly.
Since sh64 is now integrated, we don't have to worry about multiple
architectures caring about the header definitions.

Split out the defs for each asm/cpu/ to make rtc-sh slightly less
visually offensive.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
16 years agosh: CCR1->CCR renaming for SH-2 parts.
Paul Mundt [Wed, 28 Nov 2007 06:56:27 +0000 (15:56 +0900)] 
sh: CCR1->CCR renaming for SH-2 parts.

Avoid namespace collision with a CCR1 definition. The general
SH code always expects CCR anyways, so there's no point in keeping
the CCR1 naming around.

Fixes up synclink collisions:

drivers/char/pcmcia/synclink_cs.c:283:1: warning: "CCR1" redefined
In file included from include/asm/cache.h:13,
                 from include/asm/processor_32.h:15,
                 from include/asm/processor.h:60,
                 from include/linux/prefetch.h:14,
                 from include/linux/list.h:8,
                 from include/linux/module.h:9,
                 from drivers/char/pcmcia/synclink_cs.c:38:
include/asm/cpu/cache.h:21:1: warning: this is the location of the previous definition

Reported-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
16 years agosh: Bump up ARCH_KMALLOC_MINALIGN for DMA cases.
Paul Mundt [Tue, 27 Nov 2007 06:57:30 +0000 (15:57 +0900)] 
sh: Bump up ARCH_KMALLOC_MINALIGN for DMA cases.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
16 years agosh: Invalidate the TLB after applying PMB mappings.
Stuart Menefy [Mon, 26 Nov 2007 12:32:40 +0000 (21:32 +0900)] 
sh: Invalidate the TLB after applying PMB mappings.

Signed-off-by: Stuart Menefy <stuart.menefy@st.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
16 years agosh: Provide a 29/32-bit physical hint for bootloaders.
Stuart Menefy [Mon, 26 Nov 2007 12:29:09 +0000 (21:29 +0900)] 
sh: Provide a 29/32-bit physical hint for bootloaders.

Shoves a magic word in to the empty_zero_page section for the
bootloader to work out whether to start the kernel in 29-bit
or 32-bit mode.

[ Renesas CPUs already take care of the initial PMB mappings entirely
  in hardware and decide on 29-bit/32-bit physical depending on which
  pin powered up the CPU, so this is mostly for ST parts. -- PFM ].

Signed-off-by: Stuart Menefy <stuart.menefy@st.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
16 years agosh: Add a printk() to warn legacy mem= growers.
Stuart Menefy [Mon, 26 Nov 2007 12:16:09 +0000 (21:16 +0900)] 
sh: Add a printk() to warn legacy mem= growers.

mem= can't be used to grow the size of kernel memory, so provide a
warning to that effect.

Signed-off-by: Stuart Menefy <stuart.menefy@st.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
16 years agosh: SH-2A FPU support.
Paul Mundt [Mon, 26 Nov 2007 11:38:36 +0000 (20:38 +0900)] 
sh: SH-2A FPU support.

Signed-off-by: Kieran Bingham <kbingham@mpc-data.co.uk>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
16 years agosh: Add SH7263 CPU support.
Paul Mundt [Mon, 26 Nov 2007 10:54:02 +0000 (19:54 +0900)] 
sh: Add SH7263 CPU support.

This adds support for the SH7263 (SH-2A) CPU.

This particular CPU is a superset of SH7203, adding some additional
peripheral blocks and hooking up additional (reserved on SH7203)
vectors in the INTC block.

No visibly nasty surprises, yet..

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
16 years agosh: Fix the arch/sh/kernel/traps.c build for sh32.
Paul Mundt [Mon, 26 Nov 2007 09:17:51 +0000 (18:17 +0900)] 
sh: Fix the arch/sh/kernel/traps.c build for sh32.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
16 years agosh: Add SH7203 CPU support.
Paul Mundt [Mon, 26 Nov 2007 09:17:21 +0000 (18:17 +0900)] 
sh: Add SH7203 CPU support.

This adds support for the SH7203 (SH-2A) CPU.

Signed-off-by: Kieran Bingham <kbingham@mpc-data.co.uk>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
16 years agortc: rtc-sh: SH-2A support.
Paul Mundt [Mon, 26 Nov 2007 08:56:31 +0000 (17:56 +0900)] 
rtc: rtc-sh: SH-2A support.

Trivial support for the SH-2A on-chip RTC.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
16 years agosh: syscall audit support.
Yuichi Nakamura [Sat, 10 Nov 2007 10:21:34 +0000 (19:21 +0900)] 
sh: syscall audit support.

Support syscall auditing..

Signed-off-by: Yuichi Nakamura <ynakam@hitachisoft.jp>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
16 years agosh: Fix up uname -m matching for native sh64.
Paul Mundt [Fri, 23 Nov 2007 05:24:25 +0000 (14:24 +0900)] 
sh: Fix up uname -m matching for native sh64.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
16 years agosh: Move mach-cayman in with the rest of the boards.
Paul Mundt [Fri, 23 Nov 2007 05:23:50 +0000 (14:23 +0900)] 
sh: Move mach-cayman in with the rest of the boards.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
16 years agosh: Kill off the mach-harp and mach-sim machtypes.
Paul Mundt [Fri, 23 Nov 2007 05:17:42 +0000 (14:17 +0900)] 
sh: Kill off the mach-harp and mach-sim machtypes.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
16 years agosh: Fix up bug trap handler build for sh32.
Paul Mundt [Fri, 23 Nov 2007 05:02:20 +0000 (14:02 +0900)] 
sh: Fix up bug trap handler build for sh32.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
16 years agosh: Build fixes for lib32 clear_page.
Paul Mundt [Fri, 23 Nov 2007 04:55:02 +0000 (13:55 +0900)] 
sh: Build fixes for lib32 clear_page.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
16 years agosh: Fix up default zImage target for sh32.
Paul Mundt [Fri, 23 Nov 2007 04:54:34 +0000 (13:54 +0900)] 
sh: Fix up default zImage target for sh32.

This was using the absolute path, which was confusing the make target.
Switch it to just 'zImage', as per powerpc.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
16 years agosh: Bring the SH-5 FPU in line with the SH-4 FPU API.
Paul Mundt [Thu, 22 Nov 2007 08:30:50 +0000 (17:30 +0900)] 
sh: Bring the SH-5 FPU in line with the SH-4 FPU API.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
16 years agosh: Get the SH-5 PCI support building.
Paul Mundt [Thu, 22 Nov 2007 07:29:10 +0000 (16:29 +0900)] 
sh: Get the SH-5 PCI support building.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
16 years agosh: Bump number of quicklists for SH-5.
Paul Mundt [Thu, 22 Nov 2007 07:28:26 +0000 (16:28 +0900)] 
sh: Bump number of quicklists for SH-5.

Sync up with the SH definitions.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
16 years agosh: Add SH-5 subtypes to check_bugs() for utsname.
Paul Mundt [Thu, 22 Nov 2007 04:11:39 +0000 (13:11 +0900)] 
sh: Add SH-5 subtypes to check_bugs() for utsname.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
16 years agosh: Kill off the rest of arch/sh64/kernel/.
Paul Mundt [Wed, 21 Nov 2007 14:27:52 +0000 (23:27 +0900)] 
sh: Kill off the rest of arch/sh64/kernel/.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
16 years agosh: Get the mach-cayman IRQ support building.
Paul Mundt [Wed, 21 Nov 2007 14:16:33 +0000 (23:16 +0900)] 
sh: Get the mach-cayman IRQ support building.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
16 years agosh: Kill off the last of the sh64 headers.
Paul Mundt [Wed, 21 Nov 2007 13:53:34 +0000 (22:53 +0900)] 
sh: Kill off the last of the sh64 headers.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
16 years agosh: clear/copy_page renames in lib and lib64.
Paul Mundt [Wed, 21 Nov 2007 13:46:14 +0000 (22:46 +0900)] 
sh: clear/copy_page renames in lib and lib64.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
16 years agosh: Rename the _32 and _64 TLB flush variants.
Paul Mundt [Wed, 21 Nov 2007 13:30:58 +0000 (22:30 +0900)] 
sh: Rename the _32 and _64 TLB flush variants.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
16 years agosh: Consolidate sh/sh64 Makefiles.
Paul Mundt [Wed, 21 Nov 2007 13:28:28 +0000 (22:28 +0900)] 
sh: Consolidate sh/sh64 Makefiles.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
16 years agosh: Tidy up KBUILD_IMAGE for sh64.
Paul Mundt [Wed, 21 Nov 2007 13:13:34 +0000 (22:13 +0900)] 
sh: Tidy up KBUILD_IMAGE for sh64.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
16 years agosh: Remove duplicate SUPERH64 symbol.
Paul Mundt [Wed, 21 Nov 2007 12:54:07 +0000 (21:54 +0900)] 
sh: Remove duplicate SUPERH64 symbol.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
16 years agosh: Generic BUG only works for sh32.
Paul Mundt [Wed, 21 Nov 2007 09:22:05 +0000 (18:22 +0900)] 
sh: Generic BUG only works for sh32.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
16 years agosh: Add onchip remap prototypes, kill old sh64 io.h.
Paul Mundt [Wed, 21 Nov 2007 09:06:34 +0000 (18:06 +0900)] 
sh: Add onchip remap prototypes, kill old sh64 io.h.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
16 years agosh: Copy over special CFLAGS for SH-5 TLB miss.
Paul Mundt [Wed, 21 Nov 2007 08:58:13 +0000 (17:58 +0900)] 
sh: Copy over special CFLAGS for SH-5 TLB miss.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
16 years agosh: Fix up user_fpu_struct typo for SH-5.
Paul Mundt [Wed, 21 Nov 2007 08:55:12 +0000 (17:55 +0900)] 
sh: Fix up user_fpu_struct typo for SH-5.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
16 years agosh: Mark some IRQ debug options sh32 only.
Paul Mundt [Wed, 21 Nov 2007 08:47:15 +0000 (17:47 +0900)] 
sh: Mark some IRQ debug options sh32 only.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
16 years agosh: Special layout for SH-5 stat.h and user.h.
Paul Mundt [Wed, 21 Nov 2007 08:28:37 +0000 (17:28 +0900)] 
sh: Special layout for SH-5 stat.h and user.h.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
16 years agosh: Purge dead sh64 headers.
Paul Mundt [Wed, 21 Nov 2007 08:28:09 +0000 (17:28 +0900)] 
sh: Purge dead sh64 headers.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
16 years agosh: Kill off arch/sh64/mm.
Paul Mundt [Wed, 21 Nov 2007 08:09:14 +0000 (17:09 +0900)] 
sh: Kill off arch/sh64/mm.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
16 years agosh: Fix up proc ASIDs for CPU-local ASID cache accessors.
Paul Mundt [Wed, 21 Nov 2007 08:07:46 +0000 (17:07 +0900)] 
sh: Fix up proc ASIDs for CPU-local ASID cache accessors.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
16 years agosh: Move over SH-5 TLB and cache support code.
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>
16 years agosh: Merge sh64 Kconfig.debug options.
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>
16 years agosh: Kill off a stray proc tlb reference in fault_64.
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>
16 years agosh: Merge the sh64 zImage bits.
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>
16 years agosh: SH-5 uses a 64-bit PTE_MAGNITUDE, as X2 TLB.
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>
16 years agosh: Use existing CONFIG_CACHE_xx options in head_64.S.
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>
16 years agosh: Fix up generic BUG build for SH-5.
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>
16 years agosh: Consolidate Kconfig.sh/Kconfig.sh64.
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>
16 years agosh: Bump the MEMORY_SIZE default to something reasonable.
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>
16 years agosh: Kill off some dead sh64 kconfig symbols.
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>
16 years agosh: Switch SH-5 to use CONFIG_PAGE_OFFSET.
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>
16 years agosh: Move PXSEG comments to addrspace.h.
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>
16 years agosh: Set HPAGE_SHIFT for 512MB hugetlb pages.
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>
16 years agosh: Update cayman defconfig.
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>
16 years agosh: Stubs for fpu disabled on SH-5.
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>
16 years agosh: Stub in CPU subtype setup code for SH5-101/103.
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>
16 years agosh: Add the SH-5 cpu type symbolic names.
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>
16 years agosh: Plug in simple SH-5 subtype probing.
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>
16 years agosh: Kill off do_NMI stub in SH-5 ex table.
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>
16 years agosh: Move quad-word real-address I/O defs to io.h.
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>
16 years agosh: Share bug/debug traps across _32 and _64.
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>
16 years agosh: Move in the SH-5 TLB miss.
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>
16 years agosh: Tidy up various clear_page()/copy_page() definitions.
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>
16 years agosh: sys_sh consolidation for arch_get_unmapped_area().
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>
16 years agosh: Share the ELF dump_task interfaces.
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>
16 years agosh: Kill off SH-5 enter_deep_standby() cruft.
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>
16 years agosh: Fix up the _stext references for SH-5.
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>
16 years agosh: Sync up the _64 linker script with the _32 version.
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>
16 years agosh: Merge sh and sh64 module.c.
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>
16 years agosh: ioremap_64 needs after_bootmem.
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>
16 years agosh: Plug in the SHmedia ELF relocations.
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>
16 years agosh: Tidy up lib64 udelay impl.
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>
16 years agosh: Move over and enable FPU support for SH-5.
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>
16 years agosh: Common swapper_pg_dir usage for SH-5.
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>
16 years agosh: Provide dummy swapper pt_regs for SH-5 ctx switch.
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>
16 years agosh: Move over sh64 switch_to and stack unwinder.
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>
16 years agosh: Split out tlb-flush in to _32 and _64 variants.
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>
16 years agosh: Split out pgtable.h in to _32 and _64 variants.
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>
16 years agosh: ioremap_64 needs proc_fs.h.
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>
16 years agosh: Split out ioremap in to _32 and _64 variants.
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>
16 years agosh: Split out sh_ksyms.c in to _32 and _64 variants.
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>
16 years agosh: Move over the SH-5 entry.S.
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>