1. 09 Apr, 2013 3 commits
    • Arnd Bergmann's avatar
      Merge tag 'tegra-for-3.10-cleanup' of... · 8024206d
      Arnd Bergmann authored
      Merge tag 'tegra-for-3.10-cleanup' of git://git.kernel.org/pub/scm/linux/kernel/git/swarren/linux-tegra into next/cleanup
      
      From Stephen Warren <swarren@wwwdotorg.org>:
      
      ARM: tegra: cleanup
      
      This branch includes various cleanup of the core Tegra support.
      
      * Unification of the separate board-dt-tegra*.c files into a single
        tegra.c, now that everything is DT-driven and basically identical.
      * Use of_clk_get() in the Tegra clocksource driver so that clocks are
        described in DT rather than hard-coding clock names.
      * Some cleanup of the PMC-related code, with the aim that the PMC
        "driver" contains more of the code that touches PMC registers, rather
        than spreading PMC register accesses through other files.
      * Conversion of the "PMC" driver to acquire resources describe in device
        tree rather than hard-coding them.
      * Use of common code for the CPU sleep TLB invalidation.
      
      This branch is based on the previous fixes pull request.
      
      * tag 'tegra-for-3.10-cleanup' of git://git.kernel.org/pub/scm/linux/kernel/git/swarren/linux-tegra:
        ARM: tegra: use setup_mm_for_reboot rather than explicit pgd switch
        ARM: tegra: replace the CPU power on function with PMC call
        ARM: tegra: pmc: add power on function for secondary CPUs
        ARM: tegra: pmc: convert PMC driver to support DT only
        ARM: tegra: fix the PMC compatible string in DT
        ARM: tegra: pmc: add specific compatible DT string for Tegra30 and Tegra114
        ARM: tegra: refactor tegra{20,30}_boot_secondary
        clocksource: tegra: move to of_clk_get
        ARM: tegra: Unify Device tree board files
        ARM: tegra: Rename board-dt-tegra20.c to tegra.c
        ARM: tegra: Unify tegra{20,30,114}_init_early()
      
      Conflicts:
      	drivers/clocksource/tegra20_timer.c
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      8024206d
    • Arnd Bergmann's avatar
      Merge branch 'tegra/fixes' into next/cleanup · 5be8f636
      Arnd Bergmann authored
      This is a dependency for tegra/cleanups
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      5be8f636
    • Arnd Bergmann's avatar
      Merge tag 'omap-for-v3.10/fixes-pm-signed' of... · f199ab1a
      Arnd Bergmann authored
      Merge tag 'omap-for-v3.10/fixes-pm-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap into next/cleanup
      
      From Tony Lindgren <tony@atomide.com>:
      
      Non-critical PM fix via Kevin Hilman <khilman@linaro.org>:
      
      OMAP PM fixes for v3.10
      
      Note that this has a dependency to omap-for-v3.10/cleanup-v2-signed.
      
      * tag 'omap-for-v3.10/fixes-pm-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap:
        ARM: OMAP4+: PM: Restore CPU power state to ON with clockdomain force wakeup method
      
      Signed-off-by: Arnd Bergmann <arnd@arndb.de<
      f199ab1a
  2. 08 Apr, 2013 2 commits
    • Tony Lindgren's avatar
      Merge tag 'omap-pm-v3.10/fixes/pm' of... · 5e7deed7
      Tony Lindgren authored
      Merge tag 'omap-pm-v3.10/fixes/pm' of git://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-omap-pm into omap-for-v3.10/fixes-pm
      
      OMAP PM fixes for v3.10
      5e7deed7
    • Arnd Bergmann's avatar
      Merge tag 'omap-for-v3.10/cleanup-v2-signed' of... · 6fa6183a
      Arnd Bergmann authored
      Merge tag 'omap-for-v3.10/cleanup-v2-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap into next/cleanup
      
      From Tony Lindgren <tony@atomide.com>:
      
      Clean up related changes for v3.10 merge window.
      Mostly clock and PM related with removal of now unused
      DMA channel definitions. The clock change to use SoC
      specific lists will make it a little bit easier to
      add support for new SoCs variants without having to patch
      all over the place.
      
      * tag 'omap-for-v3.10/cleanup-v2-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap:
        ARM: OMAP4: Fix the init code to have OMAP4460 errata available in DT build
        ARM: OMAP4: PM: Now remove L4 per clockdomain static depedency with MPU
        ARM: OMAP4: PM: Remove L4 wakeup depedency with MPU since errata fix exist now
        ARM: OMAP4+: Move the CPU wakeup prepare code under smp_prepare_cpus()
        ARM: OMAP4+: Remove out of placed smp_wmb() in secondary wakeup code
        ARM: OMAP4+: Remove un-necessary cacheflush in secondary CPU boot path
        ARM: OMAP4+: Remove the un-necessary cache flush from hotplug code
        ARM: OMAP2+: PM: Remove bogus fiq_[enable/disable] tuple
        ARM: OMAP4+: Use common scratchpad SAR RAM offsets for all architectures
        ARM: OMAP2+: Remove unused DMA channel definitions
        ARM: OMAP1: Remove unused DMA channel definitions
        ARM: OMAP2+: clock data: Remove CK_* flags
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      6fa6183a
  3. 05 Apr, 2013 1 commit
  4. 02 Apr, 2013 6 commits
  5. 29 Mar, 2013 2 commits
  6. 28 Mar, 2013 10 commits
  7. 27 Mar, 2013 1 commit
  8. 26 Mar, 2013 6 commits
  9. 20 Mar, 2013 2 commits
    • Jarkko Nikula's avatar
      ARM: OMAP2+: Remove unused DMA channel definitions · d8443c8e
      Jarkko Nikula authored
      Many of these channel definitions have became unused or were never used
      so remove unused definitions from arch/arm/mach-omap2/dma.h using a script
      below. See also notes in commit d5e7c864
      ("ARM: OMAP2+: DMA: Moving OMAP2+ DMA channel definitions to mach-omap2")
      for removing remaining ones.
      
      egrep '#define OMAP.*DMA' arch/arm/mach-omap2/dma.h \
      	|cut -f 1 |cut -d ' ' -f 2 | while read -r i; do \
      		if [ `git grep -c $i | wc -l` -eq 1 ]; then \
      			echo "removing" $i; \
      			sed -i "/${i}/d" arch/arm/mach-omap2/dma.h; \
      		fi; \
      	done
      Signed-off-by: default avatarJarkko Nikula <jarkko.nikula@bitmer.com>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      d8443c8e
    • Jarkko Nikula's avatar
      ARM: OMAP1: Remove unused DMA channel definitions · f9da561f
      Jarkko Nikula authored
      Many of these channel definitions have became unused or were never used
      so remove unused definitions from arch/arm/mach-omap1/dma.h using a script
      below. See also notes in commit 8c4cc005
      ("ARM: OMAP1: DMA: Moving OMAP1 DMA channel definitions to mach-omap1")
      for removing remaining ones.
      
      egrep '#define OMAP.*DMA' arch/arm/mach-omap1/dma.h \
              |cut -f 1 |cut -d ' ' -f 2 | while read -r i; do \
                      if [ `git grep -c $i | wc -l` -eq 1 ]; then \
                              echo "removing" $i; \
                              sed -i "/${i}/d" arch/arm/mach-omap1/dma.h; \
                      fi; \
              done
      Signed-off-by: default avatarJarkko Nikula <jarkko.nikula@bitmer.com>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      f9da561f
  10. 18 Mar, 2013 2 commits
  11. 17 Mar, 2013 5 commits
    • Linus Torvalds's avatar
      Linux 3.9-rc3 · a937536b
      Linus Torvalds authored
      a937536b
    • David Rientjes's avatar
      perf,x86: fix link failure for non-Intel configs · 6c4d3bc9
      David Rientjes authored
      Commit 1d9d8639 ("perf,x86: fix kernel crash with PEBS/BTS after
      suspend/resume") introduces a link failure since
      perf_restore_debug_store() is only defined for CONFIG_CPU_SUP_INTEL:
      
      	arch/x86/power/built-in.o: In function `restore_processor_state':
      	(.text+0x45c): undefined reference to `perf_restore_debug_store'
      
      Fix it by defining the dummy function appropriately.
      Signed-off-by: default avatarDavid Rientjes <rientjes@google.com>
      Cc: stable@vger.kernel.org
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      6c4d3bc9
    • Linus Torvalds's avatar
      perf,x86: fix wrmsr_on_cpu() warning on suspend/resume · 2a6e06b2
      Linus Torvalds authored
      Commit 1d9d8639 ("perf,x86: fix kernel crash with PEBS/BTS after
      suspend/resume") fixed a crash when doing PEBS performance profiling
      after resuming, but in using init_debug_store_on_cpu() to restore the
      DS_AREA mtrr it also resulted in a new WARN_ON() triggering.
      
      init_debug_store_on_cpu() uses "wrmsr_on_cpu()", which in turn uses CPU
      cross-calls to do the MSR update.  Which is not really valid at the
      early resume stage, and the warning is quite reasonable.  Now, it all
      happens to _work_, for the simple reason that smp_call_function_single()
      ends up just doing the call directly on the CPU when the CPU number
      matches, but we really should just do the wrmsr() directly instead.
      
      This duplicates the wrmsr() logic, but hopefully we can just remove the
      wrmsr_on_cpu() version eventually.
      Reported-and-tested-by: default avatarParag Warudkar <parag.lkml@gmail.com>
      Cc: stable@vger.kernel.org
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      2a6e06b2
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mason/linux-btrfs · 08637024
      Linus Torvalds authored
      Pull btrfs fixes from Chris Mason:
       "Eric's rcu barrier patch fixes a long standing problem with our
        unmount code hanging on to devices in workqueue helpers.  Liu Bo
        nailed down a difficult assertion for in-memory extent mappings."
      
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mason/linux-btrfs:
        Btrfs: fix warning of free_extent_map
        Btrfs: fix warning when creating snapshots
        Btrfs: return as soon as possible when edquot happens
        Btrfs: return EIO if we have extent tree corruption
        btrfs: use rcu_barrier() to wait for bdev puts at unmount
        Btrfs: remove btrfs_try_spin_lock
        Btrfs: get better concurrency for snapshot-aware defrag work
      08637024
    • Thomas Petazzoni's avatar
      arm: mach-orion5x: use mv_mbus_dram_info() in PCI code · 3e762c86
      Thomas Petazzoni authored
      The PCI code was directly accessing the orion_mbus_dram_info structure
      to get access to a description of the SDRAM chip selects in order to
      configure the PCIe -> SDRAM address decoding windows.
      
      However, with the introduction of the mvebu-mbus driver, we are going
      to remove this global structure and instead leave only the exported
      mv_mbus_dram_info() function to access this description of the SDRAM
      chip selects. Therefore, we simply switch to using this API.
      Signed-off-by: default avatarThomas Petazzoni <thomas.petazzoni@free-electrons.com>
      Signed-off-by: default avatarJason Cooper <jason@lakedaemon.net>
      3e762c86