1. 18 12月, 2012 38 次提交
  2. 17 12月, 2012 2 次提交
    • 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