18 Nov, 2010

1 commit

  • GCC's __builtin_prefetch() was introduced a long time ago, all
    supported GCC versions have it. So this patch is to use it for
    implementing the prefetch on SH2A and SH4.

    The current prefetch implementation is almost equivalent with
    __builtin_prefetch.
    The third parameter in the __builtin_prefetch is the locality
    that it's not supported on SH architectures. It has been set
    to three and it should be verified if it's suitable for SH2A
    as well. I didn't test on this architecture.

    The builtin usage should be more efficient that an __asm__
    because less barriers, and because the compiler doesn't see the
    inst as a "black box" allowing better code generation.

    This has been already done on other architectures (see the commit:
    0453fb3c528c5eb3483441a466b24a4cb409eec5).

    Many thanks to Christian Bruel for his
    support on evaluate the impact of the gcc built-in on SH4 arch.

    No regressions found while testing with LMbench on STLinux targets.

    Signed-off-by: Giuseppe Cavallaro
    Signed-off-by: Stuart Menefy
    Signed-off-by: Paul Mundt

    Giuseppe CAVALLARO
     

17 Nov, 2010

2 commits

  • This patch fixes the following error obtained when
    compile the Kernel with the VSYSCALL support enabled:

    SYSCALL arch/sh/kernel/vsyscall/vsyscall-trapa.so
    sh4-linux/bin/ld: error in arch/sh/kernel/vsyscall/vsyscall-trapa.o(.eh_frame);
    no .eh_frame_hdr table will be created.
    AS arch/sh/kernel/vsyscall/vsyscall-syscall.o

    Disassembling the vsyscall-trapa.o code, with this fix applied,
    we get the __kernel_vsyscall symbol defined; otherwise it was
    missing.

    Disassembly of section .text:

    00000000 :
    0: 10 00 .word 0x0010
    2: 00 00 .word 0x0000
    [snip]
    0000040 :
    40: 05 93 mov.w 4e ,r3 ! 77
    42: 10 c3 trapa #16
    [snip]

    00000060 :
    60: 05 93 mov.w 6e ,r3 ! ad
    62: 10 c3 trapa #16
    [snip]

    Signed-off-by: Giuseppe Cavallaro
    Reviewed-by: Carmelo Amoroso
    Signed-off-by: Paul Mundt

    Giuseppe CAVALLARO
     
  • Calling sys_cacheflush with ICACHE we can direclty flush
    the icache without invoking the flush_cache_all function.

    Signed-off-by: Giuseppe Cavallaro
    Signed-off-by: Carmelo Amoroso
    Signed-off-by: Paul Mundt

    Giuseppe CAVALLARO
     

15 Nov, 2010

1 commit


08 Nov, 2010

2 commits


04 Nov, 2010

4 commits


30 Oct, 2010

1 commit

  • * 'devel' of master.kernel.org:/home/rmk/linux-2.6-arm: (215 commits)
    ARM: memblock: setup lowmem mappings using memblock
    ARM: memblock: move meminfo into find_limits directly
    ARM: memblock: convert free_highpages() to use memblock
    ARM: move freeing of highmem pages out of mem_init()
    ARM: memblock: convert memory detail printing to use memblock
    ARM: memblock: use memblock to free memory into arm_bootmem_init()
    ARM: memblock: use memblock when initializing memory allocators
    ARM: ensure membank array is always sorted
    ARM: 6466/1: implement flush_icache_all for the rest of the CPUs
    ARM: 6464/2: fix spinlock recursion in adjust_pte()
    ARM: fix memblock breakage
    ARM: 6465/1: Fix data abort accessing proc_info from __lookup_processor_type
    ARM: 6460/1: ixp2000: fix type of ixp2000_timer_interrupt
    ARM: 6449/1: Fix for compiler warning of uninitialized variable.
    ARM: 6445/1: fixup TCM memory types
    ARM: imx: Add wake functionality to GPIO
    ARM: mx5: Add gpio-keys to mx51 babbage board
    ARM: imx: Add gpio-keys to plat-mxc
    mx31_3ds: Fix spi registration
    mx31_3ds: Fix the logic for detecting the debug board
    ...

    Linus Torvalds
     

29 Oct, 2010

13 commits

  • MRSHPC is wholly unused here, no need to trap it specially. If support is
    added in the future it can be taken care of via platform data like on the
    others.

    Signed-off-by: Paul Mundt

    Paul Mundt
     
  • Platform data takes care of all of these these days, kill them off.

    Signed-off-by: Paul Mundt

    Paul Mundt
     
  • Trivial shuffling and tidying.

    Signed-off-by: Paul Mundt

    Paul Mundt
     
  • The only reason this board needs to do PIO trapping is for ethernet,
    which happens to follow the same scheme as its bigger brother the
    edosk7760. With ethernet properly supported through the platform device,
    we can kill off the left over PIO abortion.

    Signed-off-by: Paul Mundt

    Paul Mundt
     
  • The PIO trapping was only for MRSHPC and the SMC ethernet. Given that the
    SMC ethernet is already properly handled and that nothing is using the
    MRSHPC, none of this is needed.

    Signed-off-by: Paul Mundt

    Paul Mundt
     
  • This code has been untouched since it was merged many years ago, and has
    severely bitrotted since, suggesting that the board has no real users
    left. Notice of intent to remove has been sent out over the last few
    years, with no takers. Kill it off.

    Signed-off-by: Paul Mundt

    Paul Mundt
     
  • Only the secureedge5410 was ever supported by this code, so make the
    board specification explicit rather than perpetuating a mach group.

    Signed-off-by: Paul Mundt

    Paul Mundt
     
  • None of these PIO routines do anything other than basic error checking,
    get rid of them and use the generic fallbacks.

    Signed-off-by: Paul Mundt

    Paul Mundt
     
  • The microdev only has to contend with silly PIO mangling on anything
    within the SuperIO range. As each of the SuperIO modules is already
    speciail cased, we just shift that logic over to the ioport map.

    With microdev PCI never being merged (and being fudamentally broken in
    hardware), and the ethernet chip only doing 16-bit accesses already,
    there's no need to maintain any of the extra special casing. Kill it all
    off.

    Signed-off-by: Paul Mundt

    Paul Mundt
     
  • * 'kconfig' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild-2.6: (38 commits)
    kbuild: convert `arch/tile' to the kconfig mainmenu upgrade
    README: cite nconfig
    Revert "kconfig: Temporarily disable dependency warnings"
    kconfig: Use PATH_MAX instead of 128 for path buffer sizes.
    kconfig: Fix realloc usage()
    kconfig: Propagate const
    kconfig: Don't go out from read config loop when you read new symbol
    kconfig: fix menuconfig on debian lenny
    kbuild: migrate all arch to the kconfig mainmenu upgrade
    kconfig: expand file names
    kconfig: use the file's name of sourced file
    kconfig: constify file name
    kconfig: don't emit warning upon rootmenu's prompt redefinition
    kconfig: replace KERNELVERSION usage by the mainmenu's prompt
    kconfig: delay gconf window initialization
    kconfig: expand by default the rootmenu's prompt
    kconfig: add a symbol string expansion helper
    kconfig: regen parser
    kconfig: implement the `mainmenu' directive
    kconfig: allow PACKAGE to be defined on the compiler's command-line
    ...

    Fix up trivial conflict in arch/mn10300/Kconfig

    Linus Torvalds
     
  • Conflicts:
    drivers/video/sh_mobile_hdmi.c

    Russell King
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/lethal/sh-2.6: (32 commits)
    sh: intc: switch irq_desc iteration to new active IRQ iterator.
    sh: fix up cpu hotplug IRQ migration for irq_data changes.
    sh: oprofile: Make sure the backtrace op is available for timer-fallback.
    sh64: oprofile: Fix up kernel stack pointer size mismatch.
    sh: oprofile: Fix up and extend op_name_from_perf_id().
    sh: lockless get_user_pages_fast()
    sh64: _PAGE_SPECIAL support.
    sound: sh: ctrl_in/outX to __raw_read/writeX conversion.
    sh: disable deprecated genirq support.
    sh: update show_interrupts() for irq_data chip lookup.
    sh: intc: irq_data conversion.
    sh64: irq_data conversion.
    sh64: update for IRQ flag handling naming changes.
    rtc: rtc-rs5c313: ctrl_in/outX to __raw_read/writeX conversion.
    sh: mach-se: irq_data conversion.
    input: hp680_ts_input: ctrl_in/outX to __raw_read/writeX conversion.
    input: jornada680_kbd: ctrl_in/outX to __raw_read/writeX conversion.
    sh: hd64461: irq_data conversion.
    sh: mach-x3proto: irq_data conversion.
    sh: mach-systemh: irq_data conversion.
    ...

    Linus Torvalds
     
  • * 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-2.6: (505 commits)
    [media] af9015: Fix max I2C message size when used with tda18271
    [media] IR: initialize ir_raw_event in few more drivers
    [media] Guard a divide in v4l1 compat layer
    [media] imon: fix nomouse modprobe option
    [media] imon: remove redundant change_protocol call
    [media] imon: fix my egregious brown paper bag w/rdev/idev split
    [media] cafe_ccic: Configure ov7670 correctly
    [media] ov7670: allow configuration of image size, clock speed, and I/O method
    [media] af9015: support for DigitalNow TinyTwin v3 [1f4d:9016]
    [media] af9015: map DigitalNow TinyTwin v2 remote
    [media] DigitalNow TinyTwin remote controller
    [media] af9015: RC fixes and improvements
    videodev2.h.xml: Update to reflect the latest changes at videodev2.h
    [media] v4l: document new Bayer and monochrome pixel formats
    [media] DocBook/v4l: Add missing formats used on gspca cpia1 and sn9c2028
    [media] firedtv: add parameter to fake ca_system_ids in CA_INFO
    [media] tm6000: fix a macro coding style issue
    tm6000: Remove some ugly debug code
    [media] Nova-S-Plus audio line input
    [media] [RFC,1/1] V4L2: Use new CAP bits in existing RDS capable drivers
    ...

    Linus Torvalds
     

28 Oct, 2010

3 commits


27 Oct, 2010

13 commits