Skip to content
  1. Jan 03, 2011
    • Axel Lin's avatar
      ARM: 6605/1: Add missing include "asm/memory.h" · 7c0ab43e
      Axel Lin authored
      
      
      This patch fixes below build error by adding the missing asm/memory.h,
      which is needed for arch_is_coherent().
      
      $ make pxa3xx_defconfig; make
        CC      init/do_mounts_rd.o
      In file included from include/linux/list_bl.h:5,
                       from include/linux/rculist_bl.h:7,
                       from include/linux/dcache.h:7,
                       from include/linux/fs.h:381,
                       from init/do_mounts_rd.c:3:
      include/linux/bit_spinlock.h: In function 'bit_spin_unlock':
      include/linux/bit_spinlock.h:61: error: implicit declaration of function 'arch_is_coherent'
      make[1]: *** [init/do_mounts_rd.o] Error 1
      make: *** [init] Error 2
      
      Signed-off-by: default avatarAxel Lin <axel.lin@gmail.com>
      Acked-by: default avatarPeter Huewe <peterhuewe@gmx.de>
      Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
      7c0ab43e
  2. Dec 24, 2010
  3. Dec 23, 2010
  4. Dec 20, 2010
    • Russell King's avatar
    • Nicolas Pitre's avatar
      ARM: fix cache-feroceon-l2 after stack based kmap_atomic() · 6d3e6d36
      Nicolas Pitre authored
      Since commit 3e4d3af5
      
       "mm: stack based kmap_atomic()", it is actively
      wrong to rely on fixed kmap type indices (namely KM_L2_CACHE) as
      kmap_atomic() totally ignores them and a concurrent instance of it may
      happily reuse any slot for any purpose.  Because kmap_atomic() is now
      able to deal with reentrancy, we can get rid of the ad hoc mapping here.
      
      While the code is made much simpler, there is a needless cache flush
      introduced by the usage of __kunmap_atomic().  It is not clear if the
      performance difference to remove that is worth the cost in code
      maintenance (I don't think there are that many highmem users on that
      platform anyway) but that should be reconsidered when/if someone cares
      enough to do some measurements.
      
      Signed-off-by: default avatarNicolas Pitre <nicolas.pitre@linaro.org>
      6d3e6d36
    • Nicolas Pitre's avatar
      ARM: fix cache-xsc3l2 after stack based kmap_atomic() · 25cbe454
      Nicolas Pitre authored
      Since commit 3e4d3af5
      
       "mm: stack based kmap_atomic()", it is actively
      wrong to rely on fixed kmap type indices (namely KM_L2_CACHE) as
      kmap_atomic() totally ignores them and a concurrent instance of it may
      happily reuse any slot for any purpose.  Because kmap_atomic() is now
      able to deal with reentrancy, we can get rid of the ad hoc mapping here,
      and we even don't have to disable IRQs anymore (highmem case).
      
      While the code is made much simpler, there is a needless cache flush
      introduced by the usage of __kunmap_atomic().  It is not clear if the
      performance difference to remove that is worth the cost in code
      maintenance (I don't think there are that many highmem users on that
      platform if at all anyway).
      
      Signed-off-by: default avatarNicolas Pitre <nicolas.pitre@linaro.org>
      25cbe454
    • Nicolas Pitre's avatar
      ARM: get rid of kmap_high_l1_vipt() · 39af22a7
      Nicolas Pitre authored
      Since commit 3e4d3af5 "mm: stack based kmap_atomic()", it is no longer
      necessary to carry an ad hoc version of kmap_atomic() added in commit
      7e5a69e8
      
       "ARM: 6007/1: fix highmem with VIPT cache and DMA" to cope
      with reentrancy.
      
      In fact, it is now actively wrong to rely on fixed kmap type indices
      (namely KM_L1_CACHE) as kmap_atomic() totally ignores them now and a
      concurrent instance of it may reuse any slot for any purpose.
      
      Signed-off-by: default avatarNicolas Pitre <nicolas.pitre@linaro.org>
      39af22a7
  5. Dec 18, 2010
    • Russell King's avatar
      ARM: smp: avoid incrementing mm_users on CPU startup · 1ae1b5f0
      Russell King authored
      
      
      We should not be incrementing mm_users when we startup a secondary
      CPU - doing so results in mm_users incrementing by one each time we
      hotplug a CPU, which will eventually wrap, and will cause problems.
      
      Other architectures such as x86 do not increment mm_users, but only
      mm_count, so we follow that pattern.
      
      Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
      1ae1b5f0
    • Linus Torvalds's avatar
      Merge branch 'for_linus' of git://github.com/at91linux/linux-2.6-at91 · c15524a4
      Linus Torvalds authored
      * 'for_linus' of git://github.com/at91linux/linux-2.6-at91:
        at91: Refactor Stamp9G20 and PControl G20 board file
        at91: Fix uhpck clock rate in upll case
      c15524a4
    • Linus Torvalds's avatar
      Merge branch 'kvm-updates/2.6.37' of git://git.kernel.org/pub/scm/virt/kvm/kvm · a6ac1f0a
      Linus Torvalds authored
      * 'kvm-updates/2.6.37' of git://git.kernel.org/pub/scm/virt/kvm/kvm:
        KVM: Fix preemption counter leak in kvm_timer_init()
        KVM: enlarge number of possible CPUID leaves
        KVM: SVM: Do not report xsave in supported cpuid
        KVM: Fix OSXSAVE after migration
      a6ac1f0a
    • Linus Torvalds's avatar
      Merge branch 'pm-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/suspend-2.6 · 508817e7
      Linus Torvalds authored
      * 'pm-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/suspend-2.6:
        PM / Runtime: Fix pm_runtime_suspended()
        PM / Hibernate: Restore old swap signature to avoid user space breakage
        PM / Hibernate: Fix PM_POST_* notification with user-space suspend
      508817e7
    • Linus Torvalds's avatar
      Merge branch 'bkl_removal' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-2.6 · 8efc1a1a
      Linus Torvalds authored
      * 'bkl_removal' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-2.6:
        [media] uvcvideo: Convert to unlocked_ioctl
        [media] uvcvideo: Lock stream mutex when accessing format-related information
        [media] uvcvideo: Move mmap() handler to uvc_queue.c
        [media] uvcvideo: Move mutex lock/unlock inside uvc_free_buffers
        [media] uvcvideo: Lock controls mutex when querying menus
        [media] v4l2-dev: fix race condition
        [media] V4L: improve the BKL replacement heuristic
        [media] v4l2-dev: use mutex_lock_interruptible instead of plain mutex_lock
        [media] cx18: convert to unlocked_ioctl
        [media] radio-timb: convert to unlocked_ioctl
        [media] sh_vou: convert to unlocked_ioctl
        [media] cafe_ccic: replace ioctl by unlocked_ioctl
        [media] et61x251_core: trivial conversion to unlocked_ioctl
        [media] sn9c102: convert to unlocked_ioctl
        [media] BKL: trivial ioctl -> unlocked_ioctl video driver conversions
        [media] typhoon: convert to unlocked_ioctl
        [media] si4713: convert to unlocked_ioctl
        [media] tea5764: convert to unlocked_ioctl
        [media] cadet: use unlocked_ioctl
        [media] BKL: trivial BKL removal from V4L2 radio drivers
      8efc1a1a
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6 · 74280817
      Linus Torvalds authored
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6:
        ALSA: hda - Fix conflict of Mic Boot controls
        ALSA: HDA: Enable subwoofer on Asus G73Jw
        ALSA: HDA: Fix auto-mute on Lenovo Edge 14
        ASoC: Fix bias power down of non-DAPM codec
        ASoC: WM8580: Fix R8 initial value
        ASoC: fix deemphasis control in wm8904/55/60 codecs
      74280817
  6. Dec 17, 2010