Skip to content
  1. Apr 06, 2012
  2. Apr 05, 2012
    • Sachin Kamat's avatar
      ARM: EXYNOS: Fix compiler warning in dma.c file · f011fd16
      Sachin Kamat authored
      
      
      Fixes the following warning:
      warning: 'dma_dmamask' defined but not used [-Wunused-variable]
      
      Signed-off-by: default avatarSachin Kamat <sachin.kamat@linaro.org>
      Signed-off-by: default avatarKukjin Kim <kgene.kim@samsung.com>
      f011fd16
    • Il Han's avatar
      ARM: EXYNOS: fix ISO C90 warning · e1b1994e
      Il Han authored
      
      
      ISO C90 forbids mixed declarations and code.
      Fix it.
      
      Signed-off-by: default avatarIl Han <corone.il.han@gmail.com>
      Signed-off-by: default avatarKukjin Kim <kgene.kim@samsung.com>
      e1b1994e
    • Paul Walmsley's avatar
      Merge branches 'clock_fixes_3.4rc', 'clockdomain_fixes_3.4rc',... · a9dd31b7
      Paul Walmsley authored
      Merge branches 'clock_fixes_3.4rc', 'clockdomain_fixes_3.4rc', 'hsmmc_erratum_2_1_1_128_refine_3.4rc1', 'hwmod_data_fixes_a_3.4rc', 'hwmod_fixes_a2_3.4rc' and 'powerdomain_fixes_a_3.4rc' into omap-fixes-a2-for-3.4rc-branch
      a9dd31b7
    • Vaibhav Hiremath's avatar
      ARM: OMAP2+: hwmod: Fix wrong SYSC_TYPE1_XXX_MASK bit definitions · 4ce107cc
      Vaibhav Hiremath authored
      In the SYSC_TYPE1_XXX_MASK configuration, SYSC_XXX_SHIFT macro
      is used which is not defined anywhere in the kernel.
      Until now the build was going through successfully, since it
      is not being used anywhere in kernel.
      
      This bug got introduced by the commit
      358f0e63
      
       ("OMAP3: hwmod: support
      to specify the offset position of various SYSCONFIG register bits.")
      
      Signed-off-by: default avatarVaibhav Hiremath <hvaibhav@ti.com>
      Acked-by: default avatarBenoit Cousson <b-cousson@ti.com>
      Signed-off-by: default avatarPaul Walmsley <paul@pwsan.com>
      4ce107cc
    • Rajendra Nayak's avatar
      ARM: OMAP2+: hwmod: Make omap_hwmod_softreset wait for reset status · f9a2f9c3
      Rajendra Nayak authored
      
      
      omap_hwmod_softreset() does not seem to wait for reset status
      after doing a softreset. Make it use _ocp_softreset() instead
      which does this correctly.
      
      Signed-off-by: default avatarRajendra Nayak <rnayak@ti.com>
      Cc: Benoit Cousson <b-cousson@ti.com>
      Cc: Paul Walmsley <paul@pwsan.com>
      Cc: Anand Gadiyar <gadiyar@ti.com>
      Cc: Shubhrajyoti D <shubhrajyoti@ti.com>
      Signed-off-by: default avatarPaul Walmsley <paul@pwsan.com>
      f9a2f9c3
    • Rajendra Nayak's avatar
      ARM: OMAP2+: hwmod: Restore sysc after a reset · 2800852a
      Rajendra Nayak authored
      
      
      After a softreset, make sure the sysc settings are correctly
      restored.
      
      Reported-by: default avatarAnand Gadiyar <gadiyar@ti.com>
      Signed-off-by: default avatarRajendra Nayak <rnayak@ti.com>
      Cc: Benoit Cousson <b-cousson@ti.com>
      Cc: Paul Walmsley <paul@pwsan.com>
      Cc: Shubhrajyoti D <shubhrajyoti@ti.com>
      [paul@pwsan.com: combined post-reset SYSCONFIG reload code into the
       _reset() function to avoid duplication and future mistakes]
      Signed-off-by: default avatarPaul Walmsley <paul@pwsan.com>
      2800852a
    • Govindraj.R's avatar
      ARM: OMAP2+: omap_hwmod: Allow io_ring wakeup configuration for all modules · 2a1cc144
      Govindraj.R authored
      
      
      Some modules doesn't have SYSC_HAS_ENAWAKEUP bit available (ex: usb
      host uhh module) in absence of this flag
      omap_hwmod_enable/disable_wakeup avoids configuring pad mux wakeup
      capability.
      
      Configure sysc if SYSC_HAS_ENAWAKEUP is available and for other cases
      try enabling/disabling wakeup from mux_pad pins.
      
      Cc: Paul Walmsley <paul@pwsan.com>
      Cc: Kevin Hilman <khilman@ti.com>
      Cc: Rajendra Nayak <rnayak@ti.com>
      Signed-off-by: default avatarGovindraj.R <govindraj.raja@ti.com>
      [paul@pwsan.com: updated function kerneldoc documentation]
      Signed-off-by: default avatarPaul Walmsley <paul@pwsan.com>
      2a1cc144
    • Linus Torvalds's avatar
      Merge git://git.samba.org/sfrench/cifs-2.6 · 43f63c87
      Linus Torvalds authored
      Pull CIFS fixes from Steve French.
      
      * git://git.samba.org/sfrench/cifs-2.6:
        Fix UNC parsing on mount
        Remove unnecessary check for NULL in password parser
        CIFS: Fix VFS lock usage for oplocked files
        Revert "CIFS: Fix VFS lock usage for oplocked files"
        cifs: writing past end of struct in cifs_convert_address()
        cifs: silence compiler warnings showing up with gcc-4.7.0
        CIFS: Fix VFS lock usage for oplocked files
      43f63c87
    • Linus Torvalds's avatar
      Merge tag 'for_linus-3.4-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/jwessel/kgdb · 6c216ec6
      Linus Torvalds authored
      Pull KGDB/KDB regression fixes from Jason Wessel:
       - Fix a Smatch warning that appeared in the 3.4 merge window
       - Fix kgdb test suite with SMP for all archs without HW single stepping
       - Fix kgdb sw breakpoints with CONFIG_DEBUG_RODATA=y limitations on x86
       - Fix oops on kgdb test suite with CONFIG_DEBUG_RODATA
       - Fix kgdb test suite with SMP for all archs with HW single stepping
      
      * tag 'for_linus-3.4-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/jwessel/kgdb:
        x86,kgdb: Fix DEBUG_RODATA limitation using text_poke()
        kgdb,debug_core: pass the breakpoint struct instead of address and memory
        kgdbts: (2 of 2) fix single step awareness to work correctly with SMP
        kgdbts: (1 of 2) fix single step awareness to work correctly with SMP
        kgdbts: Fix kernel oops with CONFIG_DEBUG_RODATA
        kdb: Fix smatch warning on dbg_io_ops->is_console
      6c216ec6
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git.linaro.org/people/mszyprowski/linux-dma-mapping · 58bca4a8
      Linus Torvalds authored
      Pull DMA mapping branch from Marek Szyprowski:
       "Short summary for the whole series:
      
        A few limitations have been identified in the current dma-mapping
        design and its implementations for various architectures.  There exist
        more than one function for allocating and freeing the buffers:
        currently these 3 are used dma_{alloc, free}_coherent,
        dma_{alloc,free}_writecombine, dma_{alloc,free}_noncoherent.
      
        For most of the systems these calls are almost equivalent and can be
        interchanged.  For others, especially the truly non-coherent ones
        (like ARM), the difference can be easily noticed in overall driver
        performance.  Sadly not all architectures provide implementations for
        all of them, so the drivers might need to be adapted and cannot be
        easily shared between different architectures.  The provided patches
        unify all these functions and hide the differences under the already
        existing dma attributes concept.  The thread with more references is
        available here:
      
          http://www.spinics.net/lists/linux-sh/msg09777.html
      
        These patches are also a prerequisite for unifying DMA-mapping
        implementation on ARM architecture with the common one provided by
        dma_map_ops structure and extending it with IOMMU support.  More
        information is available in the following thread:
      
          http://thread.gmane.org/gmane.linux.kernel.cross-arch/12819
      
        More works on dma-mapping framework are planned, especially in the
        area of buffer sharing and managing the shared mappings (together with
        the recently introduced dma_buf interface: commit d15bd7ee
        "dma-buf: Introduce dma buffer sharing mechanism").
      
        The patches in the current set introduce a new alloc/free methods
        (with support for memory attributes) in dma_map_ops structure, which
        will later replace dma_alloc_coherent and dma_alloc_writecombine
        functions."
      
      People finally started piping up with support for merging this, so I'm
      merging it as the last of the pending stuff from the merge window.
      Looks like pohmelfs is going to wait for 3.5 and more external support
      for merging.
      
      * 'for-linus' of git://git.linaro.org/people/mszyprowski/linux-dma-mapping:
        common: DMA-mapping: add NON-CONSISTENT attribute
        common: DMA-mapping: add WRITE_COMBINE attribute
        common: dma-mapping: introduce mmap method
        common: dma-mapping: remove old alloc_coherent and free_coherent methods
        Hexagon: adapt for dma_map_ops changes
        Unicore32: adapt for dma_map_ops changes
        Microblaze: adapt for dma_map_ops changes
        SH: adapt for dma_map_ops changes
        Alpha: adapt for dma_map_ops changes
        SPARC: adapt for dma_map_ops changes
        PowerPC: adapt for dma_map_ops changes
        MIPS: adapt for dma_map_ops changes
        X86 & IA64: adapt for dma_map_ops changes
        common: dma-mapping: introduce generic alloc() and free() methods
      58bca4a8