1. 09 Apr, 2013 1 commit
  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. 28 Mar, 2013 10 commits
  6. 27 Mar, 2013 1 commit
  7. 26 Mar, 2013 5 commits
  8. 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
  9. 18 Mar, 2013 2 commits
  10. 17 Mar, 2013 7 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
    • Thomas Petazzoni's avatar
      arm: plat-orion: use mv_mbus_dram_info() in PCIe code · 59f16137
      Thomas Petazzoni authored
      The PCIe 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 orion-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>
      59f16137
    • Thomas Petazzoni's avatar
      arm: plat-orion: only build addr-map.c when needed · efaaa98d
      Thomas Petazzoni authored
      -flagmail-match: MVEBU
      X-flagmail-match: KIRKWOOD
      X-flagmail-match: DOVE
      
      For now, addr-map.c is needed by all 5 Marvell EBU
      sub-architectures. However, we are going to introduce the orion-mbus
      driver, which will replace the address decoding code from
      addr-map.c. In order to ease the migration process, we will do that
      one sub-architecture at a time, which will require us to remove the
      compilation of addr-map.c one sub-architecture at a time.
      
      Therefore, we split the unconditional obj-y inclusion of addr-map.c
      into 5 conditionals obj-$(CONFIG_...) lines, one per sub-architecture.
      Signed-off-by: default avatarThomas Petazzoni <thomas.petazzoni@free-electrons.com>
      Signed-off-by: default avatarJason Cooper <jason@lakedaemon.net>
      efaaa98d
  11. 16 Mar, 2013 3 commits
    • Liu Bo's avatar
      Btrfs: fix warning of free_extent_map · 3b277594
      Liu Bo authored
      Users report that an extent map's list is still linked when it's actually
      going to be freed from cache.
      
      The story is that
      
      a) when we're going to drop an extent map and may split this large one into
      smaller ems, and if this large one is flagged as EXTENT_FLAG_LOGGING which means
      that it's on the list to be logged, then the smaller ems split from it will also
      be flagged as EXTENT_FLAG_LOGGING, and this is _not_ expected.
      
      b) we'll keep ems from unlinking the list and freeing when they are flagged with
      EXTENT_FLAG_LOGGING, because the log code holds one reference.
      
      The end result is the warning, but the truth is that we set the flag
      EXTENT_FLAG_LOGGING only during fsync.
      
      So clear flag EXTENT_FLAG_LOGGING for extent maps split from a large one.
      Reported-by: default avatarJohannes Hirte <johannes.hirte@fem.tu-ilmenau.de>
      Reported-by: default avatarDarrick J. Wong <darrick.wong@oracle.com>
      Signed-off-by: default avatarLiu Bo <bo.li.liu@oracle.com>
      Signed-off-by: default avatarChris Mason <chris.mason@fusionio.com>
      3b277594
    • Linus Torvalds's avatar
      Merge branch 'kbuild' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild · e2043785
      Linus Torvalds authored
      Pull kbuild fix from Michal Marek:
       "One fix for for make headers_install/headers_check to not require make
        3.81.  The requirement has been accidentally introduced in 3.7."
      
      * 'kbuild' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild:
        kbuild: fix make headers_check with make 3.80
      e2043785
    • Linus Torvalds's avatar
      Merge tag 'for-3.9-rc3' of git://openrisc.net/jonas/linux · 23659587
      Linus Torvalds authored
      Pull OpenRISC bug fixes from Jonas Bonn:
      
       - The GPIO descriptor work has exposed how broken the non-GPIOLIB bits
         for OpenRISC were.  We now require GPIOLIB as this is the preferred
         way forward.
      
       - The system.h split introduced a bug in llist.h for arches using
         asm-generic/cmpxchg.h directly, which is currently only OpenRISC.
         The patch here moves two defines from asm-generic/atomic.h to
         asm-generic/cmpxchg.h to make things work as they should.
      
       - The VIRT_TO_BUS selector was added for OpenRISC, but OpenRISC does
         not have the virt_to_bus methods, so there's a patch to remove it
         again.
      
      * tag 'for-3.9-rc3' of git://openrisc.net/jonas/linux:
        openrisc: remove HAVE_VIRT_TO_BUS
        asm-generic: move cmpxchg*_local defs to cmpxchg.h
        openrisc: require gpiolib
      23659587