aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2008-01-28sh: Explicit alignment for PAGE_SIZE in copy/clear_page().Paul Mundt2-1/+4
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28sh: GUSA atomic rollback support.Stuart Menefy13-181/+591
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>
2008-01-28sh: Fix compile error of arch/sh/mm/pmb.cNobuhiro Iwamatsu1-1/+1
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28sh: comment tidying for sh64->sh migration.Paul Mundt30-190/+150
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28sh: syscall auditing for sh5, too.Paul Mundt2-18/+30
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28rtc: rtc-sh: Split out the CPU defs to asm/cpu/.Paul Mundt7-19/+43
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>
2008-01-28sh: CCR1->CCR renaming for SH-2 parts.Paul Mundt2-7/+2
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>
2008-01-28sh: Bump up ARCH_KMALLOC_MINALIGN for DMA cases.Paul Mundt1-13/+9
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28sh: Invalidate the TLB after applying PMB mappings.Stuart Menefy2-0/+8
Signed-off-by: Stuart Menefy <stuart.menefy@st.com> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28sh: Provide a 29/32-bit physical hint for bootloaders.Stuart Menefy1-1/+5
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>
2008-01-28sh: Add a printk() to warn legacy mem= growers.Stuart Menefy1-0/+11
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>
2008-01-28sh: SH-2A FPU support.Paul Mundt11-30/+673
Signed-off-by: Kieran Bingham <kbingham@mpc-data.co.uk> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28sh: Add SH7263 CPU support.Paul Mundt10-10/+61
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>
2008-01-28sh: Fix the arch/sh/kernel/traps.c build for sh32.Paul Mundt1-0/+2
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28sh: Add SH7203 CPU support.Paul Mundt12-15/+399
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>
2008-01-28rtc: rtc-sh: SH-2A support.Paul Mundt2-3/+19
Trivial support for the SH-2A on-chip RTC. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28sh: syscall audit support.Yuichi Nakamura4-7/+26
Support syscall auditing.. Signed-off-by: Yuichi Nakamura <ynakam@hitachisoft.jp> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28sh: Fix up uname -m matching for native sh64.Paul Mundt1-1/+1
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28sh: Move mach-cayman in with the rest of the boards.Paul Mundt7-5/+2
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28sh: Kill off the mach-harp and mach-sim machtypes.Paul Mundt11-1648/+294
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28sh: Fix up bug trap handler build for sh32.Paul Mundt1-1/+2
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28sh: Build fixes for lib32 clear_page.Paul Mundt1-3/+3
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28sh: Fix up default zImage target for sh32.Paul Mundt1-1/+1
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>
2008-01-28sh: Bring the SH-5 FPU in line with the SH-4 FPU API.Paul Mundt9-59/+59
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28sh: Get the SH-5 PCI support building.Paul Mundt8-384/+275
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28sh: Bump number of quicklists for SH-5.Paul Mundt1-1/+1
Sync up with the SH definitions. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28sh: Add SH-5 subtypes to check_bugs() for utsname.Paul Mundt1-3/+10
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28sh: Kill off the rest of arch/sh64/kernel/.Paul Mundt13-1073/+8
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28sh: Get the mach-cayman IRQ support building.Paul Mundt10-243/+42
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28sh: Kill off the last of the sh64 headers.Paul Mundt8-305/+5
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28sh: clear/copy_page renames in lib and lib64.Paul Mundt7-4/+4
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28sh: Rename the _32 and _64 TLB flush variants.Paul Mundt4-2/+2
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28sh: Consolidate sh/sh64 Makefiles.Paul Mundt2-117/+44
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28sh: Tidy up KBUILD_IMAGE for sh64.Paul Mundt1-17/+12
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28sh: Remove duplicate SUPERH64 symbol.Paul Mundt1-3/+0
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28sh: Generic BUG only works for sh32.Paul Mundt1-1/+1
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28sh: Add onchip remap prototypes, kill old sh64 io.h.Paul Mundt2-197/+16
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28sh: Copy over special CFLAGS for SH-5 TLB miss.Paul Mundt1-0/+25
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28sh: Fix up user_fpu_struct typo for SH-5.Paul Mundt4-220/+1
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28sh: Mark some IRQ debug options sh32 only.Paul Mundt2-117/+2
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28sh: Special layout for SH-5 stat.h and user.h.Paul Mundt2-1/+69
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28sh: Purge dead sh64 headers.Paul Mundt78-2873/+0
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28sh: Kill off arch/sh64/mm.Paul Mundt4-391/+0
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28sh: Fix up proc ASIDs for CPU-local ASID cache accessors.Paul Mundt1-10/+8
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28sh: Move over SH-5 TLB and cache support code.Paul Mundt3-2/+5
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28sh: Merge sh64 Kconfig.debug options.Paul Mundt2-33/+25
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28sh: Kill off a stray proc tlb reference in fault_64.Paul Mundt1-4/+0
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28sh: Merge the sh64 zImage bits.Paul Mundt12-180/+80
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28sh: SH-5 uses a 64-bit PTE_MAGNITUDE, as X2 TLB.Paul Mundt1-1/+1
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28sh: Use existing CONFIG_CACHE_xx options in head_64.S.Paul Mundt1-5/+5
Signed-off-by: Paul Mundt <lethal@linux-sh.org>