aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAge
* sh: HAVE_IOREMAP_PROT depends on MMU.Paul Mundt2008-09-17
| | | | | | | | | HAVE_IOREMAP_PROT enables an unconditional reference to generic_access_phys(), which remains undefined in the nommu case. As there's no point in supporting this there anyways, simply fix up the dependency. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Fix up headers_check regression.Paul Mundt2008-09-17
| | | | | | | linux/mmzone.h isn't exported, kill it off from asm/setup.h and simply deal with it in the places that have a dependency instead. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Consolidate struct sh_cpuinfo definitions across _32/_64 split.Paul Mundt2008-09-17
| | | | Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Fix up signal_64 conflicting handle_signal() definition.Paul Mundt2008-09-17
| | | | Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Make memory hot-add and hot-remove depend on MMU.Paul Mundt2008-09-17
| | | | | | | Cleans up link numerous build issues with page migration and so on when enabled on nommu builds. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Fix up fpu emu build.Paul Mundt2008-09-17
| | | | | | | The addition of the kprobes code pushed down a variable declaration, clean it up. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: latencytop support.Paul Mundt2008-09-12
| | | | Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Tidy up ELF core dumps.Paul Mundt2008-09-12
| | | | | | | | | | These have been using overrides for ELF_CORE_COPY_TASK_REGS and ELF_CORE_COPY_FPREGS while the generic versions can be used instead. Presently the pt_regs are also duplicated across elf_core_copy_regs() and elf_core_copy_task_regs(), this switches to simply copying out through elf_core_copy_regs() instead. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Check SR.DSP bit for DSP regset validity.Paul Mundt2008-09-12
| | | | Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Add missing task_user_regset_view() definition.Paul Mundt2008-09-12
| | | | Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Add DSP registers to regset interface.Paul Mundt2008-09-12
| | | | Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Fix up NUMA build error with se7722_defconfig.Paul Mundt2008-09-12
| | | | Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Enable HAVE_ARCH_TRACEHOOK.Paul Mundt2008-09-12
| | | | | | | Now that the rest of the support requirements are out of the way, finally enable support for tracehook. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Provide the asm/syscall.h interface, needed by tracehook.Paul Mundt2008-09-12
| | | | Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: provide user_stack_pointer(), needed for tracehook support.Paul Mundt2008-09-12
| | | | Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Flag T-bit for syscall restart.Paul Mundt2008-09-12
| | | | Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: ioremap_prot support.Paul Mundt2008-09-12
| | | | Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: ptrace: Introduce user_regset interface for gp regs.Paul Mundt2008-09-12
| | | | Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Provide a fixed UTS_MACHINE definition for sh64.Paul Mundt2008-09-12
| | | | Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: update edosk7760 defconfig for physmap-flash.Luca Santini2008-09-12
| | | | | Signed-off-by: Luca Santini <luca.santini@spesonline.com> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: edosk7760 physmap-flash support.Luca Santini2008-09-12
| | | | | Signed-off-by: Luca Santini <luca.santini@spesonline.com> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* rtc-sh: Unsigned rtc->{periodic,carry,alarm}_irq cannot be negativeroel kluin2008-09-11
| | | | | | | possibly since commit b420b1a7a17ea88531d0e12b2f2679a0c8365803 Signed-off-by: Roel Kluin <roel.kluin@gmail.com> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh_eth: unsigned ndev->irq cannot be negativeroel kluin2008-09-11
| | | | | | | unsigned ndev->irq cannot be negative Signed-off-by: Roel Kluin <roel.kluin@gmail.com> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: intc_prio_data() test before subtraction on unsignedroel kluin2008-09-09
| | | | | | | bit is unsigned, so test before subtraction Signed-off-by: Roel Kluin <roel.kluin@gmail.com> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: kprobes: kretprobe_trampoline needs to be global.Paul Mundt2008-09-08
| | | | | | Needed by CONFIG_TRACING. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Add R2D+ defconfig for qemu system emulator.Paul Mundt2008-09-08
| | | | | | | | | This adds a defconfig for the R2D+ target in the qemu system emulator. Eventually it will be possible to simply use the r2d+ defconfig as it is. Provided by Shin-ichiro KAWASAKI. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Derive calibrate_delay lpj from clk fwk.Paul Mundt2008-09-08
| | | | | | | | | | | | All CPUs must have a sensible cpu_clk definition these days, which we can safely use for deriving the preset loops_per_jiffy. The only odd one out is SH-5, which hasn't been hammered in to the framework yet. Based on the ST patch. Signed-off-by: Francesco Virlinzi <francesco.virlinzi@st.com> Signed-off-by: Carl Shaw <carl.shaw@st.com> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: kprobes: __kprobes annotations and formatting cleanups.Paul Mundt2008-09-08
| | | | Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: kprobes: Fix up race against probe point removal.Paul Mundt2008-09-08
| | | | | | | Handle a corner case where another CPU or debugger removes the probe point from underneath us. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: kprobes: Fix up a preemption imbalance on jprobe return.Paul Mundt2008-09-08
| | | | Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: kprobes: Default to NOTIFY_DONE for unhandled debug traps.Paul Mundt2008-09-08
| | | | | | | | | Presently this is doing a force_sig() SIGTRAP, which is already taken care of in the generic code if no one asserts NOTIFY_STOP. Switch the default return to NOTIFY_DONE in the case of unhandled traps, so that the same trap may pass through to other users on the same die chain. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: kprobes: Use trapa #0x3a for breakpoint trap.Paul Mundt2008-09-08
| | | | | | | Not all parts support trapa #0xff, so use something within the debug trap range that's accessible on all parts. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: kprobes: Hook up kprobe_fault_handler() in the page fault path.Paul Mundt2008-09-07
| | | | Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Disable seccomp support by default.Paul Mundt2008-09-07
| | | | | | | This was initially checked in with a stupid default of y, while most everyone is going to want to have this disabled anyways. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Mark kretprobe_trampoline_holder static and __used.Paul Mundt2008-09-07
| | | | Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Add EDOSK7760 mach type.Paul Mundt2008-09-07
| | | | Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Add Renesas EDOSK7760 board support.Luca Santini2008-09-07
| | | | | | | | | | | | | | | This adds support for the Renesas (RTE) EDOSK7760 board. Currently supported devices are: - ramdisk support - ethernet support - nfs support - ext2/ext3 support - i2c support - fb support (M) Signed-off-by: Luca Santini <luca.santini@spesonline.com> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Enable IRLM mode for SH7760 IRQ_MODE_IRQ.Luca Santini2008-09-07
| | | | | | | Follows the same setting as SH7750. Signed-off-by: Luca Santini <luca.santini@spesonline.com> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: uninline flush_icache_all().Paul Mundt2008-09-07
| | | | | | | | This uses jump_to_uncached() which is now given the noinline attribute due to the special section mapping. Kill off the inline attribute to fix up compilation failure. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Add the rest of the boot targets to arch/sh/boot/.gitignore.Paul Mundt2008-09-07
| | | | Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Add kprobes support.Chris Smith2008-09-07
| | | | | | | | | Initial support for kprobes/kretprobes for 32-bit SH platforms. [ General cleanup and some rework for the kretprobe hash lock. -- PFM ] Signed-off-by: Chris Smith <chris.smith@st.com> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: remove unnecessary memset after alloc_bootmem_low_pagesMarek Skuczynski2008-09-07
| | | | | | | | | | Because alloc_bootmem functions return the allocated memory always zeroed, an additional call of memset on allocated memory is unnecessary. Signed-off-by: Marek Skuczynski <M.Skuczynski@adbglobal.com> Signed-off-by: Carl Shaw <carl.shaw@st.com> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: fix the TMU code to allow a fully running NO_HZ systemFrancesco Virlinzi2008-09-07
| | | | | | | This patch fixes the TMU code to allow NO_HZ to work on sh Signed-off-by: Francesco Virlinzi <francesco.virlinzi@st.com> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Subnormal double to float conversionCarl Shaw2008-09-07
| | | | | | | | | This patch adds support for the SH4 to convert a subnormal double into a float by catching the FPE and implementing the FCNVDS instruction in software. Signed-off-by: Carl Shaw <carl.shaw@st.com> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Fix an unusual memory initialisation error.Stuart Menefy2008-09-07
| | | | | | | | | | | | | This fixes a problems with the set up of Linux memory: - When reserving memory at boot time, the code previously reserved the bottom page of memory, and then from one page up to the end of the bootmap. This had the desired effect, but was strictly speaking wrong, as the one page was actually whatever CONFIG_ZERO_PAGE_OFFSET had been set to. Signed-off-by: Stuart Menefy <stuart.menefy@st.com> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Fix uImage load address in 32-bit mode.Chris Smith2008-09-07
| | | | | | | Fix "make uImage" load and entry addresses in 32-bit mode. Signed-off-by: Chris Smith <chris.smith@st.com> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: vmalloc pgtable sync fix.Stuart Menefy2008-09-07
| | | | | | | | | | | | This fixes a problem in the code which copies the vmalloc portion of the kernel's page table into the current user space page table. The addition of the four level page table code breaks on folded page tables, because the pud level is always present (although folded). This updates the code to use the same style of updates for the pud as is used for the pgd level. Signed-off-by: Stuart Menefy <stuart.menefy@st.com> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Fix up broken 32-bit initrd support.Stuart Menefy2008-09-07
| | | | | Signed-off-by: Stuart Menefy <stuart.menefy@st.com> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: early cached_to_uncached initialization.Stuart Menefy2008-09-07
| | | | | | | | statically initialise the cached_to_uncached offset, so that we can use it immediatly. Signed-off-by: Stuart Menefy <stuart.menefy@st.com> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Add support for memory hot-remove.Paul Mundt2008-09-07
| | | | Signed-off-by: Paul Mundt <lethal@linux-sh.org>