summaryrefslogtreecommitdiffstats
path: root/arch/sh/kernel
Commit message (Collapse)AuthorAgeFilesLines
* sh: Encode L1/L2 cache shape in auxvt.Paul Mundt2008-01-282-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>
* sh: Support denormalization on SH-4 FPU.Stuart Menefy2008-01-283-181/+1227
| | | | | Signed-off-by: Stuart Menefy <stuart.menefy@st.com> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Clean up places that make 29-bit physical assumptions.Stuart Menefy2008-01-282-2/+7
| | | | | Signed-off-by: Stuart Menefy <stuart.menefy@st.com> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Preparation for uncached jumps through PMB.Stuart Menefy2008-01-283-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>
* sh: GUSA atomic rollback support.Stuart Menefy2008-01-284-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>
* sh: comment tidying for sh64->sh migration.Paul Mundt2008-01-2812-76/+55
| | | | Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: syscall auditing for sh5, too.Paul Mundt2008-01-282-18/+30
| | | | Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Provide a 29/32-bit physical hint for bootloaders.Stuart Menefy2008-01-281-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>
* sh: Add a printk() to warn legacy mem= growers.Stuart Menefy2008-01-281-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>
* sh: SH-2A FPU support.Paul Mundt2008-01-286-25/+665
| | | | | Signed-off-by: Kieran Bingham <kbingham@mpc-data.co.uk> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Add SH7263 CPU support.Paul Mundt2008-01-285-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>
* sh: Fix the arch/sh/kernel/traps.c build for sh32.Paul Mundt2008-01-281-0/+2
| | | | Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Add SH7203 CPU support.Paul Mundt2008-01-286-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>
* sh: syscall audit support.Yuichi Nakamura2008-01-282-6/+23
| | | | | | | Support syscall auditing.. Signed-off-by: Yuichi Nakamura <ynakam@hitachisoft.jp> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Move mach-cayman in with the rest of the boards.Paul Mundt2008-01-281-1/+0
| | | | Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Kill off the mach-harp and mach-sim machtypes.Paul Mundt2008-01-281-8/+0
| | | | Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Bring the SH-5 FPU in line with the SH-4 FPU API.Paul Mundt2008-01-285-16/+14
| | | | Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Kill off the rest of arch/sh64/kernel/.Paul Mundt2008-01-284-2/+530
| | | | Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Get the mach-cayman IRQ support building.Paul Mundt2008-01-284-19/+258
| | | | Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Fix up proc ASIDs for CPU-local ASID cache accessors.Paul Mundt2008-01-281-10/+8
| | | | Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Use existing CONFIG_CACHE_xx options in head_64.S.Paul Mundt2008-01-281-5/+5
| | | | Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Switch SH-5 to use CONFIG_PAGE_OFFSET.Paul Mundt2008-01-283-17/+17
| | | | Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Stub in CPU subtype setup code for SH5-101/103.Paul Mundt2008-01-282-0/+22
| | | | Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Add the SH-5 cpu type symbolic names.Paul Mundt2008-01-281-1/+3
| | | | Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Plug in simple SH-5 subtype probing.Paul Mundt2008-01-282-2/+78
| | | | Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Kill off do_NMI stub in SH-5 ex table.Paul Mundt2008-01-281-1/+1
| | | | Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Move quad-word real-address I/O defs to io.h.Paul Mundt2008-01-281-1/+0
| | | | Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Share bug/debug traps across _32 and _64.Paul Mundt2008-01-287-82/+76
| | | | Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: sys_sh consolidation for arch_get_unmapped_area().Paul Mundt2008-01-285-326/+108
| | | | Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Share the ELF dump_task interfaces.Paul Mundt2008-01-284-28/+33
| | | | Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Kill off SH-5 enter_deep_standby() cruft.Paul Mundt2008-01-281-2/+14
| | | | Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Sync up the _64 linker script with the _32 version.Paul Mundt2008-01-281-87/+112
| | | | Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Merge sh and sh64 module.c.Paul Mundt2008-01-281-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>
* sh: Move over and enable FPU support for SH-5.Paul Mundt2008-01-284-6/+177
| | | | Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Common swapper_pg_dir usage for SH-5.Paul Mundt2008-01-281-2/+2
| | | | Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Provide dummy swapper pt_regs for SH-5 ctx switch.Paul Mundt2008-01-281-2/+2
| | | | Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Move over sh64 switch_to and stack unwinder.Paul Mundt2008-01-283-1/+527
| | | | Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Split out sh_ksyms.c in to _32 and _64 variants.Paul Mundt2008-01-284-4/+58
| | | | Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Move over the SH-5 entry.S.Paul Mundt2008-01-283-0/+2107
| | | | Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Split out linker script to _32 and _64 variants.Paul Mundt2008-01-283-136/+280
| | | | Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Split out syscall ABI for _32 and _64 variants.Paul Mundt2008-01-284-4/+385
| | | | Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Split out checksum.h in to _32 and _64 variants.Paul Mundt2008-01-281-0/+2
| | | | Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: flush_cache_sigtramp() takes 1 arg only.Paul Mundt2008-01-281-1/+1
| | | | Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Move over the SH-5 head.S and tlb.h.Paul Mundt2008-01-284-2/+369
| | | | Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Have SH-5 provide an {en,dis}able_fpu() impl.Paul Mundt2008-01-282-8/+8
| | | | Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Disable initial cache flush on SH-5.Paul Mundt2008-01-281-14/+18
| | | | Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Don't reference UBC code in CPU init on sh64.Paul Mundt2008-01-281-1/+6
| | | | Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: imask IRQ depends on sh32.Paul Mundt2008-01-281-1/+2
| | | | Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Move in the SH-5 traps.c impl.Paul Mundt2008-01-284-2/+983
| | | | Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Move arch/sh64/kernel/sys_sh64.c to arch/sh/kernel/Paul Mundt2008-01-282-1/+305
| | | | Signed-off-by: Paul Mundt <lethal@linux-sh.org>
OpenPOWER on IntegriCloud