09 Jun, 2013

1 commit


08 Jun, 2013

1 commit

  • When user interrupts ongoing transfers the dmatest may end up with console
    lockup, oops, or data mismatch. This patch prevents user to abort any ongoing
    test.

    Documentation is updated accordingly.

    Signed-off-by: Andy Shevchenko
    Reported-by: Will Deacon
    Tested-by: Will Deacon
    Signed-off-by: Vinod Koul

    Andy Shevchenko
     

07 Jun, 2013

1 commit

  • Pull more xfs updates from Ben Myers:
    "Here are several fixes for filesystems with CRC support turned on:
    fixes for quota, remote attributes, and recovery. There is also some
    feature work related to CRCs: the implementation of CRCs for the inode
    unlinked lists, disabling noattr2/attr2 options when appropriate, and
    bumping the maximum number of ACLs.

    I would have preferred to defer this last category of items to 3.11.
    This would require setting a feature bit for the on-disk changes, so
    there is some pressure to get these in 3.10. I believe this
    represents the end of the CRC related queue.

    - Rework of dquot CRCs
    - Fix for remote attribute invalidation of a leaf
    - Fix ordering of transaction replay in recovery
    - Implement CRCs for inode unlinked list
    - Disable noattr2/attr2 mount options when CRCs are enabled
    - Bump the limitation of ACL entries for v5 superblocks"

    * tag 'for-linus-v3.10-rc5' of git://oss.sgi.com/xfs/xfs:
    xfs: increase number of ACL entries for V5 superblocks
    xfs: disable noattr2/attr2 mount options for CRC enabled filesystems
    xfs: inode unlinked list needs to recalculate the inode CRC
    xfs: fix log recovery transaction item reordering
    xfs: fix remote attribute invalidation for a leaf
    xfs: rework dquot CRCs

    Linus Torvalds
     

06 Jun, 2013

1 commit


01 Jun, 2013

3 commits

  • When in an active transaction that takes a signal, we need to be careful with
    the stack. It's possible that the stack has moved back up after the tbegin.
    The obvious case here is when the tbegin is called inside a function that
    returns before a tend. In this case, the stack is part of the checkpointed
    transactional memory state. If we write over this non transactionally or in
    suspend, we are in trouble because if we get a tm abort, the program counter
    and stack pointer will be back at the tbegin but our in memory stack won't be
    valid anymore.

    To avoid this, when taking a signal in an active transaction, we need to use
    the stack pointer from the checkpointed state, rather than the speculated
    state. This ensures that the signal context (written tm suspended) will be
    written below the stack required for the rollback. The transaction is aborted
    becuase of the treclaim, so any memory written between the tbegin and the
    signal will be rolled back anyway.

    For signals taken in non-TM or suspended mode, we use the
    normal/non-checkpointed stack pointer.

    Tested with 64 and 32 bit signals

    Signed-off-by: Michael Neuling
    Cc: # v3.9
    Signed-off-by: Benjamin Herrenschmidt

    Michael Neuling
     
  • If we are emulating an instruction inside an active user transaction that
    touches memory, the kernel can't emulate it as it operates in transactional
    suspend context. We need to abort these transactions and send them back to
    userspace for the hardware to rollback.

    We can service these if the user transaction is in suspend mode, since the
    kernel will operate in the same suspend context.

    This adds a check to all alignment faults and to specific instruction
    emulations (only string instructions for now). If the user process is in an
    active (non-suspended) transaction, we abort the transaction go back to
    userspace allowing the HW to roll back the transaction and tell the user of the
    failure. This also adds new tm abort cause codes to report the reason of the
    persistent error to the user.

    Crappy test case here http://neuling.org/devel/junkcode/aligntm.c

    Signed-off-by: Michael Neuling
    Cc: # v3.9
    Signed-off-by: Benjamin Herrenschmidt

    Michael Neuling
     
  • Signed-off-by: Michael Neuling
    Cc: # 3.9 only
    Signed-off-by: Benjamin Herrenschmidt

    Michael Neuling
     

25 May, 2013

3 commits

  • Merge fixes from Andrew Morton:
    "A bunch of fixes and one simple fbdev driver which missed the merge
    window because people will still talking about it (to no great
    effect)."

    * emailed patches from Andrew Morton : (30 commits)
    aio: fix kioctx not being freed after cancellation at exit time
    mm/pagewalk.c: walk_page_range should avoid VM_PFNMAP areas
    drivers/rtc/rtc-max8998.c: check for pdata presence before dereferencing
    ocfs2: goto out_unlock if ocfs2_get_clusters_nocache() failed in ocfs2_fiemap()
    random: fix accounting race condition with lockless irq entropy_count update
    drivers/char/random.c: fix priming of last_data
    mm/memory_hotplug.c: fix printk format warnings
    nilfs2: fix issue of nilfs_set_page_dirty() for page at EOF boundary
    drivers/block/brd.c: fix brd_lookup_page() race
    fbdev: FB_GOLDFISH should depend on HAS_DMA
    drivers/rtc/rtc-pl031.c: pass correct pointer to free_irq()
    auditfilter.c: fix kernel-doc warnings
    aio: fix io_getevents documentation
    revert "selftest: add simple test for soft-dirty bit"
    drivers/leds/leds-ot200.c: fix error caused by shifted mask
    mm/THP: use pmd_populate() to update the pmd with pgtable_t pointer
    linux/kernel.h: fix kernel-doc warning
    mm compaction: fix of improper cache flush in migration code
    rapidio/tsi721: fix bug in MSI interrupt handling
    hfs: avoid crash in hfs_bnode_create
    ...

    Linus Torvalds
     
  • A simple frame-buffer describes a raw memory region that may be rendered
    to, with the assumption that the display hardware has already been set
    up to scan out from that buffer.

    This is useful in cases where a bootloader exists and has set up the
    display hardware, but a Linux driver doesn't yet exist for the display
    hardware.

    Examples use-cases include:

    * The built-in LCD panels on the Samsung ARM chromebook, and Tegra
    devices, and likely many other ARM or embedded systems. These cannot
    yet be supported using a full graphics driver, since the panel control
    should be provided by the CDF (Common Display Framework), which has been
    stuck in design/review for quite some time. One could support these
    panels using custom SoC-specific code, but there is a desire to use
    common infra-structure rather than having each SoC vendor invent their
    own code, hence the desire to wait for CDF.

    * Hardware for which a full graphics driver is not yet available, and
    the path to obtain one upstream isn't yet clear. For example, the
    Raspberry Pi.

    * Any hardware in early stages of upstreaming, before a full graphics
    driver has been tackled. This driver can provide a graphical boot
    console (even full X support) much earlier in the upstreaming process,
    thus making new SoC or board support more generally useful earlier.

    [akpm@linux-foundation.org: make simplefb_formats[] static]
    Signed-off-by: Stephen Warren
    Cc: Arnd Bergmann
    Acked-by: Olof Johansson
    Cc: Rob Clark
    Cc: Florian Tobias Schandinat
    Cc: Tomasz Figa
    Cc: Laurent Pinchart
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Stephen Warren
     
  • Update RapidIO documentation to reflect changes made to
    enumeration/discovery build configuration and user space triggering
    mechanism.

    Signed-off-by: Alexandre Bounine
    Cc: Matt Porter
    Cc: Li Yang
    Cc: Kumar Gala
    Cc: Andre van Herk
    Cc: Micha Nelissen
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Alexandre Bounine
     

21 May, 2013

2 commits

  • From Nicolas Ferre:
    An important revert on at91rm9200 platform related
    to timers that prevented the platform to boot properly.
    Then one pinctrl adjustments for SPI CS and a couple of
    trivial typos.

    * tag 'at91-fixes' of git://github.com/at91linux/linux-at91:
    ARM: at91: rm9200 fix time support
    ARM: at91: dts: request only spi cs-gpios used on sama5d3x cpu module
    ARM: at91/trivial: typo in GEM compatible string
    ARM: at91/trivial: fix model name for SAM9X25-EK

    Signed-off-by: Olof Johansson

    Olof Johansson
     
  • …kernel/git/konrad/xen

    Pull Xen fixes from Konrad Rzeszutek Wilk:
    - Regression fix in xen privcmd fixing a memory leak.
    - Add Documentation for tmem driver.
    - Simplify and remove code in the tmem driver.
    - Cleanups.

    * tag 'stable/for-linus-3.10-rc1-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/konrad/xen:
    xen: Fixed assignment error in if statement
    xen/xenbus: Fixed over 80 character limit issue
    xen/xenbus: Fixed indentation error in switch case
    xen/tmem: Don't use self[ballooning|shrinking] if frontswap is off.
    xen/tmem: Remove the usage of '[no|]selfballoon' and use 'tmem.selfballooning' bool instead.
    xen/tmem: Remove the usage of 'noselfshrink' and use 'tmem.selfshrink' bool instead.
    xen/tmem: Remove the boot options and fold them in the tmem.X parameters.
    xen/tmem: s/disable_// and change the logic.
    xen/tmem: Fix compile warning.
    xen/tmem: Split out the different module/boot options.
    xen/tmem: Move all of the boot and module parameters to the top of the file.
    xen/tmem: Cleanup. Remove the parts that say temporary.
    xen/privcmd: fix condition in privcmd_close()

    Linus Torvalds
     

19 May, 2013

1 commit

  • Pull device tree fixes from Grant Likely:
    "Device tree bug fixes and documentation updates for v3.10

    Nothing earth shattering here. A build failure fix, and fix for
    releasing nodes and some documenation updates."

    * tag 'devicetree-for-linus' of git://git.secretlab.ca/git/linux:
    Documentation/devicetree: make semantic of initrd-end more explicit
    of/base: release the node correctly in of_parse_phandle_with_args()
    of/documentation: move video device bindings to a common place
    : fix compilation warnings with DT disabled

    Linus Torvalds
     

17 May, 2013

1 commit

  • Pull power management and ACPI fixes from Rafael Wysocki:

    - intel_pstate driver fixes and cleanups from Dirk Brandewie and Wei
    Yongjun.

    - cpufreq fixes related to ARM big.LITTLE support and the cpufreq-cpu0
    driver from Viresh Kumar.

    - Assorted cpufreq fixes from Srivatsa S Bhat, Borislav Petkov, Wolfram
    Sang, Alexander Shiyan, and Nishanth Menon.

    - Assorted ACPI fixes from Catalin Marinas, Lan Tianyu, Alex Hung,
    Jan-Simon Möller, and Rafael J Wysocki.

    - Fix for a kfree() under spinlock in the PM core from Shuah Khan.

    - PM documentation updates from Borislav Petkov and Zhang Rui.

    * tag 'pm+acpi-3.10-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm: (30 commits)
    cpufreq: Preserve sysfs files across suspend/resume
    ACPI / scan: Fix memory leak on acpi_scan_init_hotplug() error path
    PM / hibernate: Correct documentation
    PM / Documentation: remove inaccurate suspend/hibernate transition lantency statement
    PM: Documentation update for freeze state
    cpufreq / intel_pstate: use vzalloc() instead of vmalloc()/memset(0)
    cpufreq, ondemand: Remove leftover debug line
    PM: Avoid calling kfree() under spinlock in dev_pm_put_subsys_data()
    cpufreq / kirkwood: don't check resource with devm_ioremap_resource
    cpufreq / intel_pstate: remove #ifdef MODULE compile fence
    cpufreq / intel_pstate: Remove idle mode PID
    cpufreq / intel_pstate: fix ffmpeg regression
    cpufreq / intel_pstate: use lowest requested max performance
    cpufreq / intel_pstate: remove idle time and duration from sample and calculations
    cpufreq: Fix incorrect dependecies for ARM SA11xx drivers
    cpufreq: ARM big LITTLE: Fix Kconfig entries
    cpufreq: cpufreq-cpu0: Free parent node for error cases
    cpufreq: cpufreq-cpu0: defer probe when regulator is not ready
    cpufreq: Issue CPUFREQ_GOV_POLICY_EXIT notifier before dropping policy refcount
    cpufreq: governors: Fix CPUFREQ_GOV_POLICY_{INIT|EXIT} notifiers
    ...

    Linus Torvalds
     

16 May, 2013

1 commit


15 May, 2013

2 commits

  • There is no point. We would just squeeze the guest to put more and
    more pages in the swap disk without any purpose.

    The only time it makes sense to use the selfballooning and shrinking
    is when frontswap is being utilized.

    Signed-off-by: Konrad Rzeszutek Wilk

    Konrad Rzeszutek Wilk
     
  • If tmem is built-in or a module, the user has the option on
    the command line to influence it by doing: tmem.
    instead of having a variety of "nocleancache", and
    "nofrontswap". The others: "noselfballooning" and "selfballooning";
    and "noselfshrink" are in a different driver xen-selfballoon.c
    and the patches:

    xen/tmem: Remove the usage of 'noselfshrink' and use 'tmem.selfshrink' bool instead.
    xen/tmem: Remove the usage of 'noselfballoon','selfballoon' and use 'tmem.selfballon' bool instead.

    remove them.

    Also add documentation.

    Signed-off-by: Konrad Rzeszutek Wilk

    Konrad Rzeszutek Wilk
     

14 May, 2013

4 commits


10 May, 2013

9 commits

  • Pull MIPS updates from Ralf Baechle:

    - More work on DT support for various platforms

    - Various fixes that were to late to make it straight into 3.9

    - Improved platform support, in particular the Netlogic XLR and
    BCM63xx, and the SEAD3 and Malta eval boards.

    - Support for several Ralink SOC families.

    - Complete support for the microMIPS ASE which basically reencodes the
    existing MIPS32/MIPS64 ISA to use non-constant size instructions.

    - Some fallout from LTO work which remove old cruft and will generally
    make the MIPS kernel easier to maintain and resistant to compiler
    optimization, even in absence of LTO.

    - KVM support. While MIPS has announced hardware virtualization
    extensions this KVM extension uses trap and emulate mode for
    virtualization of MIPS32. More KVM work to add support for VZ
    hardware virtualizaiton extensions and MIPS64 will probably already
    be merged for 3.11.

    Most of this has been sitting in -next for a long time. All defconfigs
    have been build or run time tested except three for which fixes are being
    sent by other maintainers.

    Semantic conflict with kvm updates done as per Ralf

    * 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus: (118 commits)
    MIPS: Add new GIC clockevent driver.
    MIPS: Formatting clean-ups for clocksources.
    MIPS: Refactor GIC clocksource code.
    MIPS: Move 'gic_frequency' to common location.
    MIPS: Move 'gic_present' to common location.
    MIPS: MIPS16e: Add unaligned access support.
    MIPS: MIPS16e: Support handling of delay slots.
    MIPS: MIPS16e: Add instruction formats.
    MIPS: microMIPS: Optimise 'strnlen' core library function.
    MIPS: microMIPS: Optimise 'strlen' core library function.
    MIPS: microMIPS: Optimise 'strncpy' core library function.
    MIPS: microMIPS: Optimise 'memset' core library function.
    MIPS: microMIPS: Add configuration option for microMIPS kernel.
    MIPS: microMIPS: Disable LL/SC and fix linker bug.
    MIPS: microMIPS: Add vdso support.
    MIPS: microMIPS: Add unaligned access support.
    MIPS: microMIPS: Support handling of delay slots.
    MIPS: microMIPS: Add support for exception handling.
    MIPS: microMIPS: Floating point support.
    MIPS: microMIPS: Fix macro naming in micro-assembler.
    ...

    Linus Torvalds
     
  • Pull ARM SoC fixes and straggler patches from Olof Johansson:
    "A collection of fixes for fall out from 3.10 merge window, some build
    fixes and warning cleanups and a small handful of patches that were
    small and contained and made sense to still include in 3.10 (some of
    these have also been in -next since the merge window opened).

    Largest continous series is for OMAP, but there's a handful for other
    platforms.

    For i.MX, one of the patches are framebuffer fixups due to fallout
    during the merge window, and the other removes some stale and broken
    code."

    * tag 'fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (34 commits)
    ARM: exynos: dts: Fixed vbus-gpios
    ARM: EXYNOS5: Fix kernel dump in AFTR idle mode
    ARM: ux500: Rid ignored return value of regulator_enable() compiler warning
    ARM: ux500: read the correct soc_id number
    ARM: exynos: dts: cros5250: add cyapa trackpad
    video: mxsfb: Adapt to new videomode API
    ARM: imx: Select GENERIC_ALLOCATOR
    ARM: imx: compile fix for hotplug.c
    ARM: dts: don't assume boards are using twl4030 for omap3
    ARM: OMAP2+: Remove bogus IS_ERR_OR_NULL checking from id.c
    ARM: dts: Configure and fix the McSPI pins for 4430sdp
    ARM: dts: AM33XX: Add GPMC node
    ARM: dts: OMAP4460: Fix CPU OPP voltages
    ARM: dts: OMAP36xx: Fix CPU OPP voltages
    ARM: OMAP4+: omap2plus_defconfig: Enable audio via TWL6040 as module
    ARM: OMAP2: AM33XX: id: Add support for new AM335x PG2.1 Si
    omap: mux: add AM/DM37x gpios
    ARM: OMAP1: DMA: fix error handling in omap1_system_dma_init()
    ARM: OMAP2+: omap_device: use late_initcall_sync
    ARM: OMAP: RX-51: change probe order of touchscreen and panel SPI devices
    ...

    Linus Torvalds
     
  • Pull xtensa updates from Chris Zankel:
    "Support for the latest MMU architecture that allows for a larger
    accessible memory region, and various bug-fixes"

    * tag 'xtensa-next-20130508' of git://github.com/czankel/xtensa-linux:
    xtensa: Switch to asm-generic/linkage.h
    xtensa: fix redboot load address
    xtensa: ISS: fix timer_lock usage in rs_open
    xtensa: disable IRQs while IRQ handler is running
    xtensa: enable lockdep support
    xtensa: fix arch_irqs_disabled_flags implementation
    xtensa: add irq flags trace support
    xtensa: provide custom CALLER_ADDR* implementations
    xtensa: add stacktrace support
    xtensa: clean up stpill_registers
    xtensa: don't use a7 in simcalls
    xtensa: don't attempt to use unconfigured timers
    xtensa: provide default platform_pcibios_init implementation
    xtensa: remove KCORE_ELF again
    xtensa: document MMUv3 setup sequence
    xtensa: add MMU v3 support
    xtensa: fix ibreakenable register update
    xtensa: fix oprofile building as module

    Linus Torvalds
     
  • …pub/scm/linux/kernel/git/tmlind/linux-omap into fixes

    From Tony Lindgren:
    Omap fixes for things that were discovered during the merge window:

    - Few GPMC fixes and binding doc updates noted after sending
    pull requests for the GPMC branch.
    - Board fixes for beagle usb host and rx51 spi probe order
    - SoC fixes dt earlyprintk, omap1 dma and omap2+ id.c error
    handling fixes

    Then few minor things that are not strictly fixes but are good
    to get out of the way:

    - Add missing legacy mux registers for am/dm73x gpio
    - Add detection for am33xx pg2.1 silicon
    - Enable twl4030 audio modules in defconfig

    * tag 'omap-for-v3.10/fixes-for-merge-window-part2' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap:
    ARM: OMAP2+: Remove bogus IS_ERR_OR_NULL checking from id.c
    ARM: OMAP4+: omap2plus_defconfig: Enable audio via TWL6040 as module
    ARM: OMAP2: AM33XX: id: Add support for new AM335x PG2.1 Si
    omap: mux: add AM/DM37x gpios
    ARM: OMAP1: DMA: fix error handling in omap1_system_dma_init()
    ARM: OMAP2+: omap_device: use late_initcall_sync
    ARM: OMAP: RX-51: change probe order of touchscreen and panel SPI devices
    ARM: OMAP3: Beagle: Fix USB Host on beagle xM Ax/Bx
    ARM: OMAP2+: only WARN if a GPMC child probe function fail
    ARM: OMAP2+: only search for GPMC DT child nodes on probe
    Documentation: dt: update properties in TI GPMC NAND example
    Documentation: dt: update TI GPMC ethernet binding properties

    Signed-off-by: Olof Johansson <olof@lixom.net>

    Olof Johansson
     
  • Pull btrfs update from Chris Mason:
    "These are mostly fixes. The biggest exceptions are Josef's skinny
    extents and Jan Schmidt's code to rebuild our quota indexes if they
    get out of sync (or you enable quotas on an existing filesystem).

    The skinny extents are off by default because they are a new variation
    on the extent allocation tree format. btrfstune -x enables them, and
    the new format makes the extent allocation tree about 30% smaller.

    I rebased this a few days ago to rework Dave Sterba's crc checks on
    the super block, but almost all of these go back to rc6, since I
    though 3.9 was due any minute.

    The biggest missing fix is the tracepoint bug that was hit late in
    3.9. I ran into problems with that in overnight testing and I'm still
    tracking it down. I'll definitely have that fixed for rc2."

    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mason/linux-btrfs: (101 commits)
    Btrfs: allow superblock mismatch from older mkfs
    btrfs: enhance superblock checks
    btrfs: fix misleading variable name for flags
    btrfs: use unsigned long type for extent state bits
    Btrfs: improve the loop of scrub_stripe
    btrfs: read entire device info under lock
    btrfs: remove unused gfp mask parameter from release_extent_buffer callchain
    btrfs: handle errors returned from get_tree_block_key
    btrfs: make static code static & remove dead code
    Btrfs: deal with errors in write_dev_supers
    Btrfs: remove almost all of the BUG()'s from tree-log.c
    Btrfs: deal with free space cache errors while replaying log
    Btrfs: automatic rescan after "quota enable" command
    Btrfs: rescan for qgroups
    Btrfs: split btrfs_qgroup_account_ref into four functions
    Btrfs: allocate new chunks if the space is not enough for global rsv
    Btrfs: separate sequence numbers for delayed ref tracking and tree mod log
    btrfs: move leak debug code to functions
    Btrfs: return free space in cow error path
    Btrfs: set UUID in root_item for created trees
    ...

    Linus Torvalds
     
  • Pull MTD update from David Woodhouse:

    - Lots of cleanups from Artem, including deletion of some obsolete
    drivers

    - Support partitions larger than 4GiB in device tree

    - Support for new SPI chips

    * tag 'for-linus-20130509' of git://git.infradead.org/linux-mtd: (83 commits)
    mtd: omap2: Use module_platform_driver()
    mtd: bf5xx_nand: Use module_platform_driver()
    mtd: denali_dt: Remove redundant use of of_match_ptr
    mtd: denali_dt: Change return value to fix smatch warning
    mtd: denali_dt: Use module_platform_driver()
    mtd: denali_dt: Fix incorrect error check
    mtd: nand: subpage write support for hardware based ECC schemes
    mtd: omap2: use msecs_to_jiffies()
    mtd: nand_ids: use size macros
    mtd: nand_ids: improve LEGACY_ID_NAND macro a bit
    mtd: add 4 Toshiba nand chips for the full-id case
    mtd: add the support to parse out the full-id nand type
    mtd: add new fields to nand_flash_dev{}
    mtd: sh_flctl: Use of_match_ptr() macro
    mtd: gpio: Use of_match_ptr() macro
    mtd: gpio: Use devm_kzalloc()
    mtd: davinci_nand: Use of_match_ptr()
    mtd: dataflash: Use of_match_ptr() macro
    mtd: remove h720x flash support
    mtd: onenand: remove OneNAND simulator
    ...

    Linus Torvalds
     
  • Pull removal of GENERIC_GPIO from Grant Likely:
    "GENERIC_GPIO now synonymous with GPIOLIB. There are no longer any
    valid cases for enableing GENERIC_GPIO without GPIOLIB, even though it
    is possible to do so which has been causing confusion and breakage.
    This branch does the work to completely eliminate GENERIC_GPIO."

    * tag 'gpio-for-linus' of git://git.secretlab.ca/git/linux:
    gpio: update gpio Chinese documentation
    Remove GENERIC_GPIO config option
    Convert selectors of GENERIC_GPIO to GPIOLIB
    blackfin: force use of gpiolib
    m68k: coldfire: use gpiolib
    mips: pnx833x: remove requirement for GENERIC_GPIO
    openrisc: default GENERIC_GPIO to false
    avr32: default GENERIC_GPIO to false
    xtensa: remove explicit selection of GENERIC_GPIO
    sh: replace CONFIG_GENERIC_GPIO by CONFIG_GPIOLIB
    powerpc: remove redundant GENERIC_GPIO selection
    unicore32: default GENERIC_GPIO to false
    unicore32: remove unneeded select GENERIC_GPIO
    arm: plat-orion: use GPIO driver on CONFIG_GPIOLIB
    arm: remove redundant GENERIC_GPIO selection
    mips: alchemy: require gpiolib
    mips: txx9: change GENERIC_GPIO to GPIOLIB
    mips: loongson: use GPIO driver on CONFIG_GPIOLIB
    mips: remove redundant GENERIC_GPIO select

    Linus Torvalds
     
  • Pull slave-dmaengine updates from Vinod Koul:
    "This time we have dmatest improvements from Andy along with dw_dmac
    fixes. He has also done support for acpi for dmanegine.

    Also we have bunch of fixes going in DT support for dmanegine for
    various folks. Then Haswell and other ioat changes from Dave and
    SUDMAC support from Shimoda."

    * 'for-linus' of git://git.infradead.org/users/vkoul/slave-dma: (53 commits)
    dma: tegra: implement suspend/resume callbacks
    dma:of: Use a mutex to protect the of_dma_list
    dma: of: Fix of_node reference leak
    dmaengine: sirf: move driver init from module_init to subsys_initcall
    sudmac: add support for SUDMAC
    dma: sh: add Kconfig
    at_hdmac: move to generic DMA binding
    ioatdma: ioat3_alloc_sed can be static
    ioatdma: Adding write back descriptor error status support for ioatdma 3.3
    ioatdma: S1200 platforms ioatdma channel 2 and 3 falsely advertise RAID cap
    ioatdma: Adding support for 16 src PQ ops and super extended descriptors
    ioatdma: Removing hw bug workaround for CB3.x .2 and earlier
    dw_dmac: add ACPI support
    dmaengine: call acpi_dma_request_slave_channel as well
    dma: acpi-dma: introduce ACPI DMA helpers
    dma: of: Remove unnecessary list_empty check
    DMA: OF: Check properties value before running be32_to_cpup() on it
    DMA: of: Constant names
    ioatdma: skip silicon bug workaround for pq_align for cb3.3
    ioatdma: Removing PQ val disable for cb3.3
    ...

    Linus Torvalds
     
  • Pull thermal management update from Zhang Rui:
    "The most important one is to build thermal core and governor and cpu
    cooling code into one module. This fixes a regression that thermal
    core does not work if it is built as module, since 3.7. I'll backport
    them to stable kernel once those changes are in upstream.

    The largest batch is the thermal kernel-doc & coding style
    updates/cleanups from Eduardo.

    Highlights:

    - build all thermal framework code into one module to fix a
    regression that thermal does not work if it is built as module.

    - Marvell Armada 370/XP thermal sensor driver

    - thermal core/cpu cooling kernel-doc & coding style updates and
    cleanups.

    - Add Eduardo Valentin as thermal sub-maintainer, both in mailing
    list and patchwork. He will help me on arm thermal drivers."

    * 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/rzhang/linux: (68 commits)
    thermal: db8500_cpufreq_cooling: remove usage of IS_ERR_OR_NULL()
    thermal: thermal_core: remove usage of IS_ERR_OR_NULL
    thermal: cpu_cooling: improve line breaking
    thermal: cpu_cooling: alignment improvements
    thermal: cpu_cooling: remove checkpatch.pl warning
    thermal: cpu_cooling: remove trailing blank line
    thermal: cpu_cooling: align on open parenthesis
    thermal: cpu_cooling: standardize comment style
    thermal: cpu_cooling: standardize end of function
    thermal: cpu_cooling: remove trailing white spaces
    Thermal: update documentation for thermal_zone_device_register
    thermal: update kernel-doc for thermal_zone_device_register
    thermal: update kernel-doc for create_trip_attrs
    thermal: update kernel-doc for thermal_cooling_device_register
    thermal: update kernel-doc for thermal_zone_unbind_cooling_device
    thermal: update kernel-doc for thermal_zone_bind_cooling_device
    thermal: use EXPORT_SYMBOL_GPL
    thermal: rename notify_thermal_framework to thermal_notify_framework
    thermal: update driver license
    thermal: use strlcpy instead of strcpy
    ...

    Linus Torvalds
     

09 May, 2013

5 commits

  • Signed-off-by: Max Filippov
    Signed-off-by: Chris Zankel

    Max Filippov
     
  • Tony Lindgren
     
  • Pull f2fs updates from Jaegeuk Kim:
    "This patch-set includes the following major enhancement patches.
    - introduce a new gloabl lock scheme
    - add tracepoints on several major functions
    - fix the overall cleaning process focused on victim selection
    - apply the block plugging to merge IOs as much as possible
    - enhance management of free nids and its list
    - enhance the readahead mode for node pages
    - address several cretical deadlock conditions
    - reduce lock_page calls

    The other minor bug fixes and enhancements are as follows.
    - calculation mistakes: overflow
    - bio types: READ, READA, and READ_SYNC
    - fix the recovery flow, data races, and null pointer errors"

    * tag 'f2fs-for-v3.10' of git://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs: (68 commits)
    f2fs: cover free_nid management with spin_lock
    f2fs: optimize scan_nat_page()
    f2fs: code cleanup for scan_nat_page() and build_free_nids()
    f2fs: bugfix for alloc_nid_failed()
    f2fs: recover when journal contains deleted files
    f2fs: continue to mount after failing recovery
    f2fs: avoid deadlock during evict after f2fs_gc
    f2fs: modify the number of issued pages to merge IOs
    f2fs: remove useless #include as we're now using sysfs as debug entry.
    f2fs: fix inconsistent using of NM_WOUT_THRESHOLD
    f2fs: check truncation of mapping after lock_page
    f2fs: enhance alloc_nid and build_free_nids flows
    f2fs: add a tracepoint on f2fs_new_inode
    f2fs: check nid == 0 in add_free_nid
    f2fs: add REQ_META about metadata requests for submit
    f2fs: give a chance to merge IOs by IO scheduler
    f2fs: avoid frequent background GC
    f2fs: add tracepoints to debug checkpoint request
    f2fs: add tracepoints for write page operations
    f2fs: add tracepoints to debug the block allocation
    ...

    Linus Torvalds
     
  • Pull block driver updates from Jens Axboe:
    "It might look big in volume, but when categorized, not a lot of
    drivers are touched. The pull request contains:

    - mtip32xx fixes from Micron.

    - A slew of drbd updates, this time in a nicer series.

    - bcache, a flash/ssd caching framework from Kent.

    - Fixes for cciss"

    * 'for-3.10/drivers' of git://git.kernel.dk/linux-block: (66 commits)
    bcache: Use bd_link_disk_holder()
    bcache: Allocator cleanup/fixes
    cciss: bug fix to prevent cciss from loading in kdump crash kernel
    cciss: add cciss_allow_hpsa module parameter
    drivers/block/mg_disk.c: add CONFIG_PM_SLEEP to suspend/resume functions
    mtip32xx: Workaround for unaligned writes
    bcache: Make sure blocksize isn't smaller than device blocksize
    bcache: Fix merge_bvec_fn usage for when it modifies the bvm
    bcache: Correctly check against BIO_MAX_PAGES
    bcache: Hack around stuff that clones up to bi_max_vecs
    bcache: Set ra_pages based on backing device's ra_pages
    bcache: Take data offset from the bdev superblock.
    mtip32xx: mtip32xx: Disable TRIM support
    mtip32xx: fix a smatch warning
    bcache: Disable broken btree fuzz tester
    bcache: Fix a format string overflow
    bcache: Fix a minor memory leak on device teardown
    bcache: Documentation updates
    bcache: Use WARN_ONCE() instead of __WARN()
    bcache: Add missing #include
    ...

    Linus Torvalds
     
  • Pull block core updates from Jens Axboe:

    - Major bit is Kents prep work for immutable bio vecs.

    - Stable candidate fix for a scheduling-while-atomic in the queue
    bypass operation.

    - Fix for the hang on exceeded rq->datalen 32-bit unsigned when merging
    discard bios.

    - Tejuns changes to convert the writeback thread pool to the generic
    workqueue mechanism.

    - Runtime PM framework, SCSI patches exists on top of these in James'
    tree.

    - A few random fixes.

    * 'for-3.10/core' of git://git.kernel.dk/linux-block: (40 commits)
    relay: move remove_buf_file inside relay_close_buf
    partitions/efi.c: replace useless kzalloc's by kmalloc's
    fs/block_dev.c: fix iov_shorten() criteria in blkdev_aio_read()
    block: fix max discard sectors limit
    blkcg: fix "scheduling while atomic" in blk_queue_bypass_start
    Documentation: cfq-iosched: update documentation help for cfq tunables
    writeback: expose the bdi_wq workqueue
    writeback: replace custom worker pool implementation with unbound workqueue
    writeback: remove unused bdi_pending_list
    aoe: Fix unitialized var usage
    bio-integrity: Add explicit field for owner of bip_buf
    block: Add an explicit bio flag for bios that own their bvec
    block: Add bio_alloc_pages()
    block: Convert some code to bio_for_each_segment_all()
    block: Add bio_for_each_segment_all()
    bounce: Refactor __blk_queue_bounce to not use bi_io_vec
    raid1: use bio_copy_data()
    pktcdvd: Use bio_reset() in disabled code to kill bi_idx usage
    pktcdvd: use bio_copy_data()
    block: Add bio_copy_data()
    ...

    Linus Torvalds
     

08 May, 2013

5 commits

  • Merge more incoming from Andrew Morton:

    - Various fixes which were stalled or which I picked up recently

    - A large rotorooting of the AIO code. Allegedly to improve
    performance but I don't really have good performance numbers (I might
    have lost the email) and I can't raise Kent today. I held this out
    of 3.9 and we could give it another cycle if it's all too late/scary.

    I ended up taking only the first two thirds of the AIO rotorooting. I
    left the percpu parts and the batch completion for later. - Linus

    * emailed patches from Andrew Morton : (33 commits)
    aio: don't include aio.h in sched.h
    aio: kill ki_retry
    aio: kill ki_key
    aio: give shared kioctx fields their own cachelines
    aio: kill struct aio_ring_info
    aio: kill batch allocation
    aio: change reqs_active to include unreaped completions
    aio: use cancellation list lazily
    aio: use flush_dcache_page()
    aio: make aio_read_evt() more efficient, convert to hrtimers
    wait: add wait_event_hrtimeout()
    aio: refcounting cleanup
    aio: make aio_put_req() lockless
    aio: do fget() after aio_get_req()
    aio: dprintk() -> pr_debug()
    aio: move private stuff out of aio.h
    aio: add kiocb_cancel()
    aio: kill return value of aio_complete()
    char: add aio_{read,write} to /dev/{null,zero}
    aio: remove retry-based AIO
    ...

    Linus Torvalds
     
  • This exports the amount of anonymous transparent hugepages for each
    memcg via the new "rss_huge" stat in memory.stat. The units are in
    bytes.

    This is helpful to determine the hugepage utilization for individual
    jobs on the system in comparison to rss and opportunities where
    MADV_HUGEPAGE may be helpful.

    The amount of anonymous transparent hugepages is also included in "rss"
    for backwards compatibility.

    Signed-off-by: David Rientjes
    Acked-by: Michal Hocko
    Acked-by: Johannes Weiner
    Cc: KAMEZAWA Hiroyuki
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    David Rientjes
     
  • This patch adds binding documentation for the
    compatible values of the Ralink MIPS SoCs.

    Signed-off-by: Gabor Juhos
    Signed-off-by: John Crispin
    Acked-by: Grant Likely
    Patchwork: http://patchwork.linux-mips.org/patch/5187/

    Gabor Juhos
     
  • Signed-off-by: John Crispin
    Acked-by: Grant Likely

    John Crispin
     
  • Pull late ARM Exynos multiplatform changes from Arnd Bergmann:
    "These continue the multiplatform support for exynos, adding support
    for building most of the essential drivers (clocksource, clk, irqchip)
    when combined with other platforms. As a result, it should become
    really easy to add full multiplatform exynos support in 3.11, although
    we don't yet enable it for 3.10.

    The changes were not included in the earlier multiplatform series in
    order to avoid clashes with the other Exynos updates.

    This also includes work from Tomasz Figa to fix the pwm clocksource
    code on Exynos, which is not strictly required for multiplatform, but
    related to the other patches in this set and needed as a bug fix for
    at least one board."

    * tag 'multiplatform-for-linus-2' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (22 commits)
    ARM: dts: exynops4210: really add universal_c210 dts
    ARM: dts: exynos4210: Add basic dts file for universal_c210 board
    ARM: dts: exynos4: Add node for PWM device
    ARM: SAMSUNG: Do not register legacy timer interrupts on Exynos
    clocksource: samsung_pwm_timer: Work around rounding errors in clockevents core
    clocksource: samsung_pwm_timer: Correct programming of clock events
    clocksource: samsung_pwm_timer: Use proper clockevents max_delta
    clocksource: samsung_pwm_timer: Add support for non-DT platforms
    clocksource: samsung_pwm_timer: Drop unused samsung_pwm struct
    clocksource: samsung_pwm_timer: Keep all driver data in a structure
    clocksource: samsung_pwm_timer: Make PWM spinlock global
    clocksource: samsung_pwm_timer: Let platforms select the driver
    Documentation: Add device tree bindings for Samsung PWM timers
    clocksource: add samsung pwm timer driver
    irqchip: exynos: look up irq using irq_find_mapping
    irqchip: exynos: pass irq_base from platform
    irqchip: exynos: localize irq lookup for ATAGS
    irqchip: exynos: allocate combiner_data dynamically
    irqchip: exynos: pass max combiner number to combiner_init
    ARM: exynos: add missing properties for combiner IRQs
    ...

    Linus Torvalds