1. 09 May, 2008 9 commits
    • Paul Walmsley's avatar
      OMAP3 clock: remove omap3_noncore_dpll_set_rate fn from CORE DPLL definition · 275757fe
      Paul Walmsley authored
      DPLL3 is the CORE DPLL and cannot use the non-CORE set_rate function since
      SDRC is downstream.
      Signed-off-by: default avatarPaul Walmslsy <paul@pwsan.com>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      275757fe
    • Paul Walmsley's avatar
      OMAP3 clock: move sys_clkout2 clk to core_clkdm · f34f5bdd
      Paul Walmsley authored
      sys_clkout2 belongs in the core_clkdm (3430 TRM section 4.7.2.2).
      It's not clear whether it actually is in the CORE clockdomain, or whether
      it is technically in a different clockdomain; but this is closer to
      reality than the present configuration.
      Signed-off-by: default avatarPaul Walmsley <paul@pwsan.com>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      f34f5bdd
    • Paul Walmsley's avatar
      powerdomain: convert pwrdm_mutex to rwsem · 757f0b4a
      Paul Walmsley authored
      Convert pwrdm_mutex to pwrdm_rwsem to avoid trying to relock mutex in the
      event that the pwrdm_for_each() callback function calls something that
      triggers a pwrdm_lookup().  Problem found by Jouni Högander
      <jouni.hogander@nokia.com>
      Signed-off-by: default avatarPaul Walmsley <paul@pwsan.com>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      757f0b4a
    • Paul Walmsley's avatar
      Fix remaining sparse warnings in arch/arm/mach-omap2 · cdda2a9a
      Paul Walmsley authored
      Fix remaining sparse warnings in arch/arm/mach-omap2/.	These fixes
      mostly consist of:
      
      - tagging appropriate integer<->pointer casts with __force
      
      - marking private structures and functions as static; adding function
        prototypes in .h files for public functions
      
      - assigning NULL to pointers, not 0
      
      - adding prototypes for *_init() functions in the appropriate header
        files, and getting rid of the corresponding open-coded extern
        prototypes in other C files
      
      Also clean up checkpatch issues - this mostly involves converting some
      asm/ includes to linux/ includes.
      
      While here, shrink some bitfields in struct omap_pwm_led_platform_data
      down to the smallest possible type.
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      cdda2a9a
    • Paul Walmsley's avatar
      fix sparse, checkpatch warnings in OMAP2/3 SCM code · 352b2e24
      Paul Walmsley authored
      Fix sparse warnings with the OMAP2 SCM code. Involves tagging
      appropriate pointer<->integer type conversions with __force.  Also fix
      a checkpatch warning re: conversion of asm/ includes to linux/.
      Signed-off-by: default avatarPaul Walmsley <paul@pwsan.com>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      352b2e24
    • Paul Walmsley's avatar
      fix sparse, checkpatch warnings in OMAP2/3 IRQ code · 7306009b
      Paul Walmsley authored
      Fix sparse warnings in mach-omap2/irq.c. Fix by defining
      intc_bank_write_reg() and intc_bank_read_reg(), and convert INTC module
      register access to use them rather than __raw_{read,write}l.
      
      Also clear up some checkpatch warnings involving includes from asm/
      rather than linux/.
      Signed-off-by: default avatarPaul Walmsley <paul@pwsan.com>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      7306009b
    • Paul Walmsley's avatar
      fix sparse, checkpatch warnings in OMAP2/3 SMS/GPMC/SRAM code · d9434976
      Paul Walmsley authored
      Fix sparse warnings in SMS, GPMC, SRAM code involving arch/arm/mach-omap2/.
      These fixes mostly consist of:
      
      - tagging appropriate integer<->pointer casts with __force
      
      - marking private structures and functions as static; adding function
        prototypes in .h files for public functions
      
      - assigning NULL to pointers in structure initializers, not 0
      
      - adding prototypes for *_init() functions in the appropriate header
        files, and getting rid of the corresponding open-coded extern
        prototypes in other C files
      
      Also clean up some checkpatch issues by converting some asm/ includes
      to linux/ includes.
      Signed-off-by: default avatarPaul Walmsley <paul@pwsan.com>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      d9434976
    • Paul Walmsley's avatar
      fix sparse, checkpatch warnings in OMAP2/3 PRCM/PM code · 347df59f
      Paul Walmsley authored
      Fix sparse & checkpatch warnings in OMAP2/3 PRCM & PM code.  This mostly
      consists of:
      
      - converting pointer comparisons to integers in form similar to
        (ptr == 0) to the standard idiom (!ptr)
      
      - labeling a few non-static private functions as static
      
      - tagging appropriate integer<->pointer casts with __force
      
      - adding prototypes for *_init() functions in the appropriate header
        files, and getting rid of the corresponding open-coded extern
        prototypes in other C files
      
      - renaming the variable 'sclk' in mach-omap2/clock.c:omap2_get_apll_clkin
        to avoid shadowing an earlier declaration
      
      Clean up checkpatch issues.  This mostly involves:
      
      - converting some asm/ includes to linux/ includes
      
      - cleaning up some whitespace
      
      - getting rid of braces for conditionals with single following statements
      
      Also take care of a few odds and ends, including:
      
      - getting rid of unlikely() and likely() - none of this code is particularly
        fast-path code, so the performance impact seems slim; and some of those
        likely() and unlikely() indicators are probably not as accurate as the
        ARM's branch predictor
      
      - removing some superfluous casts
      Signed-off-by: default avatarPaul Walmsley <paul@pwsan.com>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      347df59f
    • Tony Lindgren's avatar
      Whitespace fix to sync with mainline · 5de869d6
      Tony Lindgren authored
      Whitespace fix to sync with mainline
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      5de869d6
  2. 08 May, 2008 3 commits
    • Tony Lindgren's avatar
      Merge current mainline tree into linux-omap tree · cb170dcd
      Tony Lindgren authored
      Merge branches 'master' and 'linus'
      cb170dcd
    • Woodruff, Richard's avatar
      ARM: OMAP: timer optimization part 2. · f620756f
      Woodruff, Richard authored
      This patch optimizes the timer load and start sequence.  By combining the
      load and start a needless posted wait can be removed from the system timer
      execution path.
      
      * Before patch register writes are taking up .078% @ 500MHz during idle.
      
       Address                 |total  |min  |max      |avr     |count|ratio%
       old\process\default_idle|7.369s |0.0us|999.902ms|14.477ms|509. |62.661%
       ld\Global\cpu_v7_do_idle|4.265s |0.0us|375.786ms|24.374ms|175. |36.270%
                      (UNKNOWN)|17.503ms|0.us|531.080us|5.119us|3419. |0.148%
       r\omap_dm_timer_set_load|8.135ms|0.0us|79.887us|15.065us|540.  |0.069% <--
       \vmlinux-old\Global\_end|2.023ms|0.0us|4.000us|0.560us|3613.   |0.017%
       -old\Global\__raw_readsw|1.962ms|0.0us|108.610us|9.167us|214.  |0.016%
       old\smc91x\smc_interrupt|1.353ms|0.0us|10.212us|2.348us|576.   |0.011%
       s/namei\__link_path_walk|1.161ms|0.0us|4.310us|0.762us|  1524. |0.009%
       \omap_dm_timer_write_reg|1.085ms|0.0us|126.150us|2.153us|504.  |0.009% <--
      
      * After patch timer functions do not show up in top listings for long captures.
      Signed-off-by: default avatarRichard Woodruff <r-woodruff2@ti.com>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      f620756f
    • Linus Torvalds's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc-2.6 · 3de2403e
      Linus Torvalds authored
      * git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc-2.6:
        sparc: Fix fork/clone/vfork system call restart.
        sparc: Fix mmap VA span checking.
      3de2403e
  3. 07 May, 2008 9 commits
  4. 06 May, 2008 19 commits