1. 18 12月, 2012 36 次提交
  2. 17 12月, 2012 4 次提交
    • H
      mm: fix kernel BUG at huge_memory.c:1474! · a4f1de17
      Hugh Dickins 提交于
      Andrea's autonuma-benchmark numa01 hits kernel BUG at huge_memory.c:1474!
      in change_huge_pmd called from change_protection from change_prot_numa
      from task_numa_work.
      
      That BUG, introduced in the huge zero page commit cad7f613 ("thp:
      change_huge_pmd(): make sure we don't try to make a page writable")
      was trying to verify that newprot never adds write permission to an
      anonymous huge page; but Automatic NUMA Balancing's 4b10e7d5 ("mm:
      mempolicy: Implement change_prot_numa() in terms of change_protection()")
      adds a new prot_numa path into change_huge_pmd(), which makes no use of
      the newprot provided, and may retain the write bit in the pmd.
      
      Just move the BUG_ON(pmd_write(entry)) up into the !prot_numa block.
      Signed-off-by: NHugh Dickins <hughd@google.com>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      a4f1de17
    • L
      Merge tag 'mfd-3.8-1' of git://git.kernel.org/pub/scm/linux/kernel/git/sameo/mfd-2.6 · 2dfea380
      Linus Torvalds 提交于
      Pull MFS update from Samuel Ortiz:
       "This is the MFD patch set for the 3.8 merge window.
      
        We have several new drivers, most of the time coming with their sub
        devices drivers:
      
         - Austria Microsystem's AS3711
         - Nano River's viperboard
         - TI's TPS80031, AM335x TS/ADC,
         - Realtek's MMC/memstick card reader
         - Nokia's retu
      
        We also got some notable cleanups and improvements:
      
         - tps6586x got converted to IRQ domains.
         - tps65910 and tps65090 moved to the regmap IRQ API.
         - STMPE is now Device Tree aware.
         - A general twl6040 and twl-core cleanup, with moves to the regmap
           I/O and IRQ APIs and a conversion to the recently added PWM
           framework.
         - sta2x11 gained regmap support.
      
        Then the rest is mostly tiny cleanups and fixes, among which we have
        Mark's wm5xxx and wm8xxx patchset."
      
      Far amount of annoying but largely trivial conflicts.  Many due to
      __devinit/exit removal, others due to one or two of the new drivers also
      having come in through another tree.
      
      * tag 'mfd-3.8-1' of git://git.kernel.org/pub/scm/linux/kernel/git/sameo/mfd-2.6: (119 commits)
        mfd: tps6507x: Convert to devm_kzalloc
        mfd: stmpe: Update DT support for stmpe driver
        mfd: wm5102: Add readback of DSP status 3 register
        mfd: arizona: Log if we fail to create the primary IRQ domain
        mfd: tps80031: MFD_TPS80031 needs to select REGMAP_IRQ
        mfd: tps80031: Add terminating entry for tps80031_id_table
        mfd: sta2x11: Fix potential NULL pointer dereference in __sta2x11_mfd_mask()
        mfd: wm5102: Add tuning for revision B
        mfd: arizona: Defer patch initialistation until after first device boot
        mfd: tps65910: Fix wrong ack_base register
        mfd: tps65910: Remove unused data
        mfd: stmpe: Get rid of irq_invert_polarity
        mfd: ab8500-core: Fix invalid free of devm_ allocated data
        mfd: wm5102: Mark DSP memory regions as volatile
        mfd: wm5102: Correct default for LDO1_CONTROL_2
        mfd: arizona: Register haptics devices
        mfd: wm8994: Make current device behaviour the default
        mfd: tps65090: MFD_TPS65090 needs to select REGMAP_IRQ
        mfd: Fix stmpe.c build when OF is not enabled
        mfd: jz4740-adc: Use devm_kzalloc
        ...
      2dfea380
    • L
      Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gerg/m68knommu · aed606e3
      Linus Torvalds 提交于
      Pull m68knommu updates from Greg Ungerer:
       "This one has a major restructuring of the non-mmu 68000 support.
      
        It merges all the related SoC types that use the original 68000 cpu
        core internally so they can share the same core code.  It also allows
        for supporting the original stand alone 68000 cpu in its own right.
      
        There is also a generalization of the clock support of the ColdFire
        parts, some merging of common ColdFire code, and a couple of bug fixes
        as well."
      
      * 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gerg/m68knommu:
        m68knommu: modify clock code so it can be used by all ColdFire CPU types
        m68knommu: add clock definitions for 54xx ColdFire CPU types
        m68knommu: add clock definitions for 5407 ColdFire CPU types
        m68knommu: add clock definitions for 5307 ColdFire CPU types
        m68knommu: add clock definitions for 528x ColdFire CPU types
        m68knommu: add clock definitions for 527x ColdFire CPU types
        m68knommu: add clock definitions for 5272 ColdFire CPU types
        m68knommu: add clock definitions for 525x ColdFire CPU types
        m68knommu: add clock definitions for 5249 ColdFire CPU types
        m68knommu: add clock definitions for 523x ColdFire CPU types
        m68knommu: add clock definitions for 5206 ColdFire CPU types
        m68knommu: add clock creation support macro for other ColdFire CPUs
        m68k: fix unused variable warning in mempcy.c
        m68knommu: make non-MMU page_to_virt() return a void *
        m68knommu: merge ColdFire 5249 and 525x definitions
        m68knommu: disable MC68000 cpu target when MMU is selected
        m68knommu: allow for configuration of true 68000 based systems
        m68knommu: platform code merge for 68000 core cpus
      aed606e3
    • L
      Merge branch 'i2c-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jdelvare/staging · 123df7ae
      Linus Torvalds 提交于
      Pull i2c update from Jean Delvare:
       "This is my last pull request for the i2c subsystem.  It includes all
        the patches I collected between kernel v3.7-rc1 and me passing i2c
        maintenance duties over to Wolfram.
      
        Future patches to the many i2c bus drivers I still maintain will go
        through Wolfram's tree."
      
      * 'i2c-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jdelvare/staging:
        i2c: Mention functionality flags in SMBus protocol documentation
        i2c-piix4: Convert dev_printk(KERN_<LEVEL> to dev_<level>(
        i2c-i801: Enable interrupts for all post-ICH5 chips
        i2c-i801: Add device tree support
        MAINTAINERS: Fix drivers/i2c/busses/i2c-stub.c
      123df7ae