aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/kernel (follow)
AgeCommit message (Collapse)AuthorFilesLines
2008-01-28sh: Add support for SH7763 CPU subtype.Yoshihiro Shimoda5-4/+524
Signed-off-by: Yoshihiro Shimoda <shimoda.yoshihiro@renesas.com> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28sh: Add support for SH7721 CPU subtype.Yoshihiro Shimoda6-10/+26
Signed-off-by: Yoshihiro Shimoda <shimoda.yoshihiro@renesas.com> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28sh: Encode L1/L2 cache shape in auxvt.Paul Mundt2-1/+31
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>
2008-01-28sh: Support denormalization on SH-4 FPU.Stuart Menefy3-181/+1227
Signed-off-by: Stuart Menefy <stuart.menefy@st.com> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28sh: Clean up places that make 29-bit physical assumptions.Stuart Menefy2-2/+7
Signed-off-by: Stuart Menefy <stuart.menefy@st.com> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28sh: Preparation for uncached jumps through PMB.Stuart Menefy3-6/+15
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>
2008-01-28sh: GUSA atomic rollback support.Stuart Menefy4-57/+23
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: comment tidying for sh64->sh migration.Paul Mundt12-76/+55
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-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 Mundt6-25/+665
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 Mundt5-4/+48
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 Mundt6-7/+386
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-28sh: syscall audit support.Yuichi Nakamura2-6/+23
Support syscall auditing.. Signed-off-by: Yuichi Nakamura <ynakam@hitachisoft.jp> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28sh: Move mach-cayman in with the rest of the boards.Paul Mundt1-1/+0
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28sh: Kill off the mach-harp and mach-sim machtypes.Paul Mundt1-8/+0
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 Mundt5-16/+14
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28sh: Kill off the rest of arch/sh64/kernel/.Paul Mundt4-2/+530
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28sh: Get the mach-cayman IRQ support building.Paul Mundt4-19/+258
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: Use existing CONFIG_CACHE_xx options in head_64.S.Paul Mundt1-5/+5
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28sh: Switch SH-5 to use CONFIG_PAGE_OFFSET.Paul Mundt3-17/+17
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28sh: Stub in CPU subtype setup code for SH5-101/103.Paul Mundt2-0/+22
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28sh: Add the SH-5 cpu type symbolic names.Paul Mundt1-1/+3
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28sh: Plug in simple SH-5 subtype probing.Paul Mundt2-2/+78
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28sh: Kill off do_NMI stub in SH-5 ex table.Paul Mundt1-1/+1
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28sh: Move quad-word real-address I/O defs to io.h.Paul Mundt1-1/+0
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28sh: Share bug/debug traps across _32 and _64.Paul Mundt7-82/+76
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28sh: sys_sh consolidation for arch_get_unmapped_area().Paul Mundt5-326/+108
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28sh: Share the ELF dump_task interfaces.Paul Mundt4-28/+33
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28sh: Kill off SH-5 enter_deep_standby() cruft.Paul Mundt1-2/+14
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28sh: Sync up the _64 linker script with the _32 version.Paul Mundt1-87/+112
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28sh: Merge sh and sh64 module.c.Paul Mundt1-13/+49
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>
2008-01-28sh: Move over and enable FPU support for SH-5.Paul Mundt4-6/+177
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28sh: Common swapper_pg_dir usage for SH-5.Paul Mundt1-2/+2
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28sh: Provide dummy swapper pt_regs for SH-5 ctx switch.Paul Mundt1-2/+2
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28sh: Move over sh64 switch_to and stack unwinder.Paul Mundt3-1/+527
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28sh: Split out sh_ksyms.c in to _32 and _64 variants.Paul Mundt4-4/+58
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28sh: Move over the SH-5 entry.S.Paul Mundt3-0/+2107
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28sh: Split out linker script to _32 and _64 variants.Paul Mundt3-136/+280
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28sh: Split out syscall ABI for _32 and _64 variants.Paul Mundt4-4/+385
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28sh: Split out checksum.h in to _32 and _64 variants.Paul Mundt1-0/+2
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28sh: flush_cache_sigtramp() takes 1 arg only.Paul Mundt1-1/+1
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28sh: Move over the SH-5 head.S and tlb.h.Paul Mundt4-2/+369
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28sh: Have SH-5 provide an {en,dis}able_fpu() impl.Paul Mundt2-8/+8
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28sh: Disable initial cache flush on SH-5.Paul Mundt1-14/+18
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28sh: Don't reference UBC code in CPU init on sh64.Paul Mundt1-1/+6
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28sh: imask IRQ depends on sh32.Paul Mundt1-1/+2
Signed-off-by: Paul Mundt <lethal@linux-sh.org>