aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh
Commit message (Collapse)AuthorAge
* sh: ptrace single stepping cleanups.Paul Mundt2008-08-01
| | | | | | | | This converts the single stepping done by sh/sh64 ptrace implementations to use the generic user_enable/disable_single_step(), and subsequently rips out a lot of ptrace request cases that are now handled generically. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: seccomp support.Paul Mundt2008-08-01
| | | | | | | This hooks up the seccomp thread flag and associated callback from the syscall tracer. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Tidy up the _TIF work masks, and fix syscall trace bug on singlestep.Paul Mundt2008-08-01
| | | | Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* kdump: sh: parse elfcorehdr command line argumentSimon Horman2008-08-01
| | | | | | | | | | | | A quick cut and paste from other architectures to allow SH to parse the elfcorehdr command line argument which is required for both is_kdump_kernel() and vmcore to function. (the former is as yet unused on SH). Tested compilation only Signed-off-by: Simon Horman <horms@verge.net.au> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* Merge git://git.kernel.org/pub/scm/linux/kernel/git/lethal/sh-2.6Linus Torvalds2008-08-01
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * git://git.kernel.org/pub/scm/linux/kernel/git/lethal/sh-2.6: (28 commits) mm/hugetlb.c must #include <asm/io.h> video: Fix up hp6xx driver build regressions. sh: defconfig updates. sh: Kill off stray mach-rsk7203 reference. serial: sh-sci: Fix up SH7760/SH7780/SH7785 early printk regression. sh: Move out individual boards without mach groups. sh: Make sure AT_SYSINFO_EHDR is exposed to userspace in asm/auxvec.h. sh: Allow SH-3 and SH-5 to use common headers. sh: Provide common CPU headers, prune the SH-2 and SH-2A directories. sh/maple: clean maple bus code sh: More header path fixups for mach dir refactoring. sh: Move out the solution engine headers to arch/sh/include/mach-se/ sh: I2C fix for AP325RXA and Migo-R sh: Shuffle the board directories in to mach groups. sh: dma-sh: Fix up dreamcast dma.h mach path. sh: Switch KBUILD_DEFCONFIG to shx3_defconfig. sh: Add ARCH_DEFCONFIG entries for sh and sh64. sh: Fix compile error of Solution Engine sh: Proper __put_user_asm() size mismatch fix. sh: Stub in a dummy ENTRY_OFFSET for uImage offset calculation. ...
| * sh: defconfig updates.Paul Mundt2008-07-29
| | | | | | | | Signed-off-by: Paul Mundt <lethal@linux-sh.org>
| * sh: Kill off stray mach-rsk7203 reference.Paul Mundt2008-07-29
| | | | | | | | Signed-off-by: Paul Mundt <lethal@linux-sh.org>
| * sh: Move out individual boards without mach groups.Paul Mundt2008-07-29
| | | | | | | | Signed-off-by: Paul Mundt <lethal@linux-sh.org>
| * sh: Make sure AT_SYSINFO_EHDR is exposed to userspace in asm/auxvec.h.Paul Mundt2008-07-29
| | | | | | | | | | | | | | | | | | Presently this is protected by a CONFIG_VSYSCALL ifdef so we don't inadvertently trigger the creation of the gate VMA on CPUs where we don't enable the vDSO, which is obviously not visible to userspace. Fix this up by adding in an ifndef __KERNEL__ check at the same time. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
| * sh: Allow SH-3 and SH-5 to use common headers.Paul Mundt2008-07-29
| | | | | | | | Signed-off-by: Paul Mundt <lethal@linux-sh.org>
| * sh: Provide common CPU headers, prune the SH-2 and SH-2A directories.Paul Mundt2008-07-29
| | | | | | | | Signed-off-by: Paul Mundt <lethal@linux-sh.org>
| * sh: More header path fixups for mach dir refactoring.Paul Mundt2008-07-29
| | | | | | | | Signed-off-by: Paul Mundt <lethal@linux-sh.org>
| * sh: Move out the solution engine headers to arch/sh/include/mach-se/Paul Mundt2008-07-29
| | | | | | | | Signed-off-by: Paul Mundt <lethal@linux-sh.org>
| * sh: I2C fix for AP325RXA and Migo-RMagnus Damm2008-07-29
| | | | | | | | | | | | | | | | Fix recently introduced I2C build breakage on AP325RXA and Migo-R. Reported-by: Adrian Bunk <bunk@kernel.org> Signed-off-by: Magnus Damm <damm@igel.co.jp> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
| * sh: Shuffle the board directories in to mach groups.Paul Mundt2008-07-29
| | | | | | | | | | | | | | | | | | This flattens out the board directories in to individual mach groups, we will use this for getting rid of unneeded directories, simplifying the build system, and becoming more coherent with the refactored arch/sh/include topology. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
| * sh: dma-sh: Fix up dreamcast dma.h mach path.Paul Mundt2008-07-29
| | | | | | | | Signed-off-by: Paul Mundt <lethal@linux-sh.org>
| * sh: Switch KBUILD_DEFCONFIG to shx3_defconfig.Paul Mundt2008-07-29
| | | | | | | | Signed-off-by: Paul Mundt <lethal@linux-sh.org>
| * sh: Add ARCH_DEFCONFIG entries for sh and sh64.Paul Mundt2008-07-29
| | | | | | | | Signed-off-by: Paul Mundt <lethal@linux-sh.org>
| * sh: Fix compile error of Solution EngineNobuhiro Iwamatsu2008-07-29
| | | | | | | | | | | | | | | | | | | | When I compiled Solution Engine, this become compile error because plaform device of sh_eth device becomes enable. When sh7710/sh7712 which could use sh_eth was chosen, revised it so that platform device of sh_eth device became enable. Signed-off-by: Nobuhiro Iwamatsu <iwamatsu.nobuhiro@renesas.com> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
| * sh: Proper __put_user_asm() size mismatch fix.OGAWA Hirofumi2008-07-28
| | | | | | | | | | | | | | | | This fixes up the workaround in 2b4b2bb42137c779ef0084de5df66ff21b4cd86e and cleans up __put_user_asm() to get the sizing right from the onset. Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
| * sh: Stub in a dummy ENTRY_OFFSET for uImage offset calculation.Paul Mundt2008-07-28
| | | | | | | | | | | | | | If none is defined, provide a sane default, as we do for the other options. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
| * sh: Add an arch/sh/kernel/.gitignorePaul Mundt2008-07-28
| | | | | | | | | | | | Ignore vmlinux.lds. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
| * sh: dreamcast: fix build failure from header reorg.Paul Mundt2008-07-28
| | | | | | | | | | | | | | Oops, machvec.h is in asm/, it was previously removed due to overzealous trimming. Fix up the path again. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
| * sh: migrate to arch/sh/include/Paul Mundt2008-07-28
| | | | | | | | | | | | | | | | | | | | | | | | | | This follows the sparc changes a439fe51a1f8eb087c22dd24d69cebae4a3addac. Most of the moving about was done with Sam's directions at: http://marc.info/?l=linux-sh&m=121724823706062&w=2 with subsequent hacking and fixups entirely my fault. Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
| * sh: rsk7203: update defconfig.Paul Mundt2008-07-28
| | | | | | | | Signed-off-by: Paul Mundt <lethal@linux-sh.org>
| * sh: rsk7203: Add smc911x platform data.Paul Mundt2008-07-28
| | | | | | | | | | | | This hooks up platform data for the SMC9118 on the RSK+7203. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* | Merge branch 'linus' into core/generic-dma-coherentIngo Molnar2008-07-28
|\| | | | | | | | | | | | | | | Conflicts: arch/x86/Kconfig Signed-off-by: Ingo Molnar <mingo@elte.hu>
| * sh: SuperH Mobile CEU and camera platform data for AP325RXAMagnus Damm2008-07-28
| | | | | | | | | | | | | | Add AP325RXA specific platform data for on-chip sh7723 CEU and ncm03j camera. Signed-off-by: Magnus Damm <damm@igel.co.jp> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
| * sh: Update smc911x platform data for AP325RXAMagnus Damm2008-07-28
| | | | | | | | | | | | | | Pass board specific smc911x parameters using struct smc911x_platdata. Signed-off-by: Magnus Damm <damm@igel.co.jp> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
| * sh: SuperH Mobile LCDC platform data for AP325RXAMagnus Damm2008-07-28
| | | | | | | | | | | | | | Add LCD panel platform data for the AP325RXA board. Signed-off-by: Magnus Damm <damm@igel.co.jp> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
| * sh: Add SuperH Mobile CEU platform data for Migo-RMagnus Damm2008-07-28
| | | | | | | | | | | | | | Add Migo-R specific platform data for on-chip sh7722 CEU and ov772x camera. Signed-off-by: Magnus Damm <damm@igel.co.jp> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
| * sh: Add SuperH Mobile LCDC platform data for Migo-RMagnus Damm2008-07-28
| | | | | | | | | | | | | | Add WVGA and QVGA LCD panel support to Migo-R. Signed-off-by: Magnus Damm <damm@igel.co.jp> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
| * sh: Wire up new syscalls.Paul Mundt2008-07-28
| | | | | | | | | | | | | | This wires up the signalfd4, eventfd2, epoll_create1, dup3, pipe2, and inotify_init1 syscalls. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
| * sh: fix uImage Entry PointYoshihiro Shimoda2008-07-28
| | | | | | | | | | | | | | | | fix the problem that cannot boot using uImage when PAGE_SIZE is 8kbyte or 64kbyte. Signed-off-by: Yoshihiro Shimoda <shimoda.yoshihiro@renesas.com> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
| * sh: Don't miss pending signals returning to user mode after signal processingStuart MENEFY2008-07-28
| | | | | | | | | | | | | | | | | | | | | | | | Without this patch, signals sent during architecture specific signal handling (typically as a result of the user's stack being inaccessible) are ignored. This is the SH version of commit c3ff8ec31c1249d268cd11390649768a12bec1b9 which was for the i386. Signed-off-by: Stuart Menefy <stuart.menefy@st.com> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
| * sh: Use clk_always_enable() on sh7366Magnus Damm2008-07-28
| | | | | | | | | | | | | | Use clk_always_enable() in the sh7366 processor code. Signed-off-by: Magnus Damm <damm@igel.co.jp> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
| * sh: Use clk_always_enable() on sh7343 / SE77343Magnus Damm2008-07-28
| | | | | | | | | | | | | | | | Use clk_always_enable() on the sh7343 processor and in the board code for Solution Engine 7343. Remove duplicate MSTPCR register definitions. Signed-off-by: Magnus Damm <damm@igel.co.jp> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
| * sh: Use clk_always_enable() on sh7722 / Migo-R / SE7722Magnus Damm2008-07-28
| | | | | | | | | | | | | | | | | | Use clk_always_enable() on the sh7722 processor and in the board code for Migo-R and Solution Engine 7722. Remove duplicate MSTPCR register definitions. Signed-off-by: Magnus Damm <damm@igel.co.jp> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
| * sh: Use clk_always_enable() on sh7723 / ap325rxaMagnus Damm2008-07-28
| | | | | | | | | | | | | | | | Use clk_always_enable() on the sh7723 processor and in the ap325rxa board code. Remove duplicate MSTPCR register definitions. Signed-off-by: Magnus Damm <damm@igel.co.jp> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
| * sh: Show all clocks and their state in /proc/clocksMagnus Damm2008-07-28
| | | | | | | | | | | | | | | | Show all clocks in /proc/clocks, and also show if they are enabled or disabled. This is useful to show MSTPCR bits on SuperH Mobile processors. Signed-off-by: Magnus Damm <damm@igel.co.jp> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
| * sh: Merge sh7343 and sh7722 clock codeMagnus Damm2008-07-28
| | | | | | | | | | | | | | | | | | | | | | This code makes sh7343 share the sh7722 clock code. Instead of just using the good and very old sh7343 clock implmentation, switch to the new MSTPCR enabled clock code. SIU clocks are disabled on sh7343 for now. With this change all SuperH Mobile devices now use the same clock code. Signed-off-by: Magnus Damm <damm@igel.co.jp> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
| * sh: Add SuperH Mobile MSTPCR bits to clock frameworkMagnus Damm2008-07-28
| | | | | | | | | | | | | | | | | | Handle module stop clock bits in MSTPCRn through the clock framework. The clocks are named after the bits in the data sheet. The association between bit number and hardware block is processor specific. Signed-off-by: Magnus Damm <damm@igel.co.jp> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
| * sh: Use arch_flags to simplify sh7722 siu clock codeMagnus Damm2008-07-28
| | | | | | | | | | | | | | Make use of arch_flags to simplify the SIU clock code. Signed-off-by: Magnus Damm <damm@igel.co.jp> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
| * fix sh ptep_get_and_clear breakageAdrian Bunk2008-07-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Commit 1ea0704e0da65b2b46f9142ff1391163aac24060 (mm: add a ptep_modify_prot transaction abstraction) triggered on sh build errors like the following: <-- snip --> ... CC arch/sh/mm/pg-sh4.o cc1: warnings being treated as errors include2/asm/pgtable.h:139: error: 'ptep_get_and_clear' declared inline after being called include2/asm/pgtable.h:139: error: previous declaration of 'ptep_get_and_clear' was here make[2]: *** [arch/sh/mm/pg-sh4.o] Error 1 <-- snip --> Since there's no good reason for marking these global functions as "inline" this patch therefore removes the inline's. Signed-off-by: Adrian Bunk <bunk@kernel.org> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
| * sh: Renesas R0P7785LC0011RL board supportYoshihiro Shimoda2008-07-28
| | | | | | | | | | | | | | | | This adds initial support for the Renesas R0P7785LC0011RL board. This patch supports 29bit address mode only. Signed-off-by: Yoshihiro Shimoda <shimoda.yoshihiro@renesas.com> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
| * sh: Add memory chunks to SH-Mobile UIO devicesMagnus Damm2008-07-28
| | | | | | | | | | | | | | | | This patch adds physically contiguous memory chunks to the UIO devices. The same strategy can be used in the future for the CEU as well. Signed-off-by: Magnus Damm <damm@igel.co.jp> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
| * sh: Export sh7366 VPU, VEU(1), VEU(2) using uio_pdrv_genirqMagnus Damm2008-07-28
| | | | | | | | | | | | | | | | | | | | This patch exports the VPU, VEU(1) and VEU(2) blocks of the sh7366 to user space using the uio_pdrv_genirq platform driver. While at it, fix up the VEU(2) interrupt vector. Signed-off-by: Magnus Damm <damm@igel.co.jp> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
| * sh: Export sh7723 VPU, VEU2H0, VEU2H1 using uio_pdrv_genirqMagnus Damm2008-07-28
| | | | | | | | | | | | | | | | This patch exports the VPU, VEU2H0 and VEU2H1 blocks of the sh7723 to user space using the uio_pdrv_genirq platform driver. Signed-off-by: Magnus Damm <damm@igel.co.jp> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
| * sh: Export sh7722 VPU and VEU using uio_pdrv_genirqMagnus Damm2008-07-28
| | | | | | | | | | | | | | | | This patch exports the VPU and VEU blocks of the sh7722 to user space using the uio_pdrv_genirq platform driver. Signed-off-by: Magnus Damm <damm@igel.co.jp> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
| * sh: Export sh7343 VPU and VEU using uio_pdrv_genirqMagnus Damm2008-07-28
| | | | | | | | | | | | | | | | This patch exports the VPU and VEU blocks of the sh7343 to user space using the uio_pdrv_genirq platform driver. Signed-off-by: Magnus Damm <damm@igel.co.jp> Signed-off-by: Paul Mundt <lethal@linux-sh.org>