16 Oct, 2008

1 commit


25 Aug, 2008

1 commit

  • Commit 42fd3b142d8867f5b58d6fb75592cd20fd654c1b
    (sh: Initial consolidation of the _32/_64 uaccess split.)
    mistakenly removed the sh64 __strnlen_user() prototype,
    resulting in the following compile error:

    ...
    CC init/main.o
    In file included from include/linux/poll.h:13,
    from include/linux/rtc.h:113,
    from include/linux/efi.h:19,
    from init/main.c:43:
    arch/sh/include/asm/uaccess.h: In function 'strnlen_user':
    arch/sh/include/asm/uaccess.h:213: error: implicit declaration of function '__strnlen_user'
    ...
    make[2]: *** [init/main.o] Error 1

    Reported-by: Adrian Bunk
    Signed-off-by: Adrian Bunk
    Signed-off-by: Paul Mundt

    Adrian Bunk
     

20 Aug, 2008

1 commit

  • * 'sh/for-2.6.27' of git://git.kernel.org/pub/scm/linux/kernel/git/lethal/sh-2.6:
    sh: Provide a FLAT_PLAT_INIT() definition.
    binfmt_flat: Stub in a FLAT_PLAT_INIT().
    video: export sh_mobile_lcdc panel size
    sh: select memchunk size using kernel cmdline
    sh: export sh7723 VEU as VEU2H
    input: migor_ts compile and detection fix
    sh: remove MSTPCR defines from Migo-R header file
    sh: Update sh7763rdp defconfig
    sh: Add support sh7760fb to sh7763rdp board
    sh: Add support sh_eth to sh7763rdp board
    sh: Disable 64kB hugetlbpage size when using 64kB PAGE_SIZE.
    sh: Don't export __{s,u}divsi3_i4i from SH-2 libgcc.
    fix SH7705_CACHE_32KB compilation
    sh: mach-x3proto: Fix up smc91x platform data.

    Linus Torvalds
     

15 Aug, 2008

1 commit

  • Rename KEXEC_CONTROL_CODE_SIZE to KEXEC_CONTROL_PAGE_SIZE, because control
    page is used for not only code on some platform. For example in kexec
    jump, it is used for data and stack too.

    [akpm@linux-foundation.org: unbreak powerpc and arm, finish conversion]
    Signed-off-by: Huang Ying
    Cc: Pavel Machek
    Cc: "Rafael J. Wysocki"
    Cc: "Eric W. Biederman"
    Cc: Vivek Goyal
    Cc: Ingo Molnar
    Cc: Russell King
    Cc: Benjamin Herrenschmidt
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Huang Ying
     

11 Aug, 2008

4 commits

  • SH needs this in order to make sure that r4 has a sane value at process
    entry time, which the libc expects has already been taken care of.

    Fixes random crashes in flat binaries.

    Signed-off-by: Takashi YOSHII
    Signed-off-by: Paul Mundt

    Takashi YOSHII
     
  • Export the LCD panel size for sh_mobile_lcdc boards. This allows us
    to perform dpi and screen aspect ratio calculations in user space.

    Signed-off-by: Magnus Damm
    Signed-off-by: Paul Mundt

    Magnus Damm
     
  • Remove MSTPCR register definitions from Migo-R header file. The clock
    frame work should be used instead of direct register access.

    Signed-off-by: Magnus Damm
    Signed-off-by: Paul Mundt

    Magnus Damm
     
  • This patches compile errors like the following caused by
    commit 51f3547d619956e9b428bfff17004d8f4d259a02
    (sh: Allow SH-3 and SH-5 to use common headers):

    ...
    CC arch/sh/mm/init.o
    /home/bunk/linux/kernel-2.6/git/linux-2.6/arch/sh/mm/init.c: In function 'mem_init':
    /home/bunk/linux/kernel-2.6/git/linux-2.6/arch/sh/mm/init.c:232: error: implicit declaration of function 'p3_cache_init'
    make[2]: *** [arch/sh/mm/init.o] Error 1
    make[1]: *** [arch/sh/mm] Error 2
    ...
    CC kernel/fork.o
    /home/bunk/linux/kernel-2.6/git/linux-2.6/kernel/fork.c: In function 'dup_mmap':
    /home/bunk/linux/kernel-2.6/git/linux-2.6/kernel/fork.c:323: error: implicit declaration of function 'flush_dcache_mmap_lock'
    /home/bunk/linux/kernel-2.6/git/linux-2.6/kernel/fork.c:325: error: implicit declaration of function 'flush_dcache_mmap_unlock'
    make[2]: *** [kernel/fork.o] Error 1

    Reported-by: Adrian Bunk
    Signed-off-by: Adrian Bunk
    Signed-off-by: Paul Mundt

    Adrian Bunk
     

07 Aug, 2008

1 commit


04 Aug, 2008

4 commits

  • Includes:
    - SH2 (7619) Writeback support.
    - SH2A cache handling fix.

    Signed-off-by: Yoshinori Sato
    Signed-off-by: Paul Mundt

    Yoshinori Sato
     
  • Newfile: arch/sh/include/cpu-sh2a/cpu/addrspace.h

    This file seems had be removed to use fallback (cpu-common/cpu/addrspace.h),
    but, I'd like to add sh2a specific file here, because
    1. the values defined there are not suitable for sh2a.
    2. I don't think there is "common" definition for these values.

    Values are chosen by consideration of followings...
    P1 is 0. perhaps no question.
    P2 is from hardware manual, which says no-cache area starts at 20000000.
    It means that P? space size=20000000.
    P3 is P2+size since asm/ptrace.h uses P3 as a end of P2.
    P4 is P3+size since asm/fixup.h uses P4 as a end of P3.

    Signed-off-by: Takashi YOSHII
    Signed-off-by: Paul Mundt

    Takashi Yoshii
     
  • SH never really supported a.out, so this was all just copied over blindly
    from x86 way back when. As we don't reference linux/a.out.h anywhere in
    the tree, these can now safely be killed off.

    Signed-off-by: Paul Mundt

    Paul Mundt
     
  • These were completely unparseable, so fix them up.

    Signed-off-by: Paul Mundt

    Paul Mundt
     

02 Aug, 2008

5 commits

  • This follows the changes in commits:

    7d6d637dac2050f30a1b57b0a3dc5de4a10616ba
    4f72c4279eab1e5f3ed1ac4e55d4527617582392

    on powerpc. Adding in TIF_NOTIFY_RESUME, and cleaning up the syscall
    tracing to be more generic. This is an incremental step to turning
    on tracehook, as well as unifying more of the ptrace and signal code
    across the 32/64 split.

    Signed-off-by: Paul Mundt

    Paul Mundt
     
  • 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

    Paul Mundt
     
  • This hooks up the seccomp thread flag and associated callback from the
    syscall tracer.

    Signed-off-by: Paul Mundt

    Paul Mundt
     
  • Signed-off-by: Paul Mundt

    Paul Mundt
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/lethal/sh-2.6: (28 commits)
    mm/hugetlb.c must #include
    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.
    ...

    Linus Torvalds
     

29 Jul, 2008

7 commits