11 Sep, 2013

4 commits

  • …nux/kernel/git/xen/tip

    Pull Xen bug-fixes from Konrad Rzeszutek Wilk:
    "This pull I usually do after rc1 is out but because we have a nice
    amount of fixes, some bootup related fixes for ARM, and it is early in
    the cycle we figured to do it now to help with tracking of potential
    regressions.

    The simple ones are the ARM ones - one of the patches fell through the
    cracks, other fixes a bootup issue (unconditionally using Xen
    functions). Then a fix for a regression causing preempt count being
    off (patch causing this went in v3.12).

    Lastly are the fixes to make Xen PVHVM guests use PV ticketlocks (Xen
    PV already does).

    The enablement of that was supposed to be part of the x86 spinlock
    merge in commit 816434ec4a67 ("The biggest change here are
    paravirtualized ticket spinlocks (PV spinlocks), which bring a nice
    speedup on various benchmarks...") but unfortunatly it would cause
    hang when booting Xen PVHVM guests. Yours truly got all of the bugs
    fixed last week and they (six of them) are included in this pull.

    Bug-fixes:
    - Boot on ARM without using Xen unconditionally
    - On Xen ARM don't run cpuidle/cpufreq
    - Fix regression in balloon driver, preempt count warnings
    - Fixes to make PVHVM able to use pv ticketlock.
    - Revert Xen PVHVM disabling pv ticketlock (aka, re-enable pv ticketlocks)"

    * tag 'stable/for-linus-3.12-rc0-tag-two' of git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip:
    xen/spinlock: Don't use __initdate for xen_pv_spin
    Revert "xen/spinlock: Disable IRQ spinlock (PV) allocation on PVHVM"
    xen/spinlock: Don't setup xen spinlock IPI kicker if disabled.
    xen/smp: Update pv_lock_ops functions before alternative code starts under PVHVM
    xen/spinlock: We don't need the old structure anymore
    xen/spinlock: Fix locking path engaging too soon under PVHVM.
    xen/arm: disable cpuidle and cpufreq when linux is running as dom0
    xen/p2m: Don't call get_balloon_scratch_page() twice, keep interrupts disabled for multicalls
    ARM: xen: only set pm function ptrs for Xen guests

    Linus Torvalds
     
  • Pull device tree core updates from Grant Likely:
    "Generally minor changes. A bunch of bug fixes, particularly for
    initialization and some refactoring. Most notable change if feeding
    the entire flattened tree into the random pool at boot. May not be
    significant, but shouldn't hurt either"

    Tim Bird questions whether the boot time cost of the random feeding may
    be noticeable. And "add_device_randomness()" is definitely not some
    speed deamon of a function.

    * tag 'devicetree-for-linus' of git://git.secretlab.ca/git/linux:
    of/platform: add error reporting to of_amba_device_create()
    irq/of: Fix comment typo for irq_of_parse_and_map
    of: Feed entire flattened device tree into the random pool
    of/fdt: Clean up casting in unflattening path
    of/fdt: Remove duplicate memory clearing on FDT unflattening
    gpio: implement gpio-ranges binding document fix
    of: call __of_parse_phandle_with_args from of_parse_phandle
    of: introduce of_parse_phandle_with_fixed_args
    of: move of_parse_phandle()
    of: move documentation of of_parse_phandle_with_args
    of: Fix missing memory initialization on FDT unflattening
    of: consolidate definition of early_init_dt_alloc_memory_arch()
    of: Make of_get_phy_mode() return int i.s.o. const int
    include: dt-binding: input: create a DT header defining key codes.
    of/platform: Staticize of_platform_device_create_pdata()
    of: Specify initrd location using 64-bit
    dt: Typo fix
    OF: make of_property_for_each_{u32|string}() use parameters if OF is not enabled

    Linus Torvalds
     
  • Pull slave-dmaengine updates from Vinod Koul:
    "This pull brings:
    - Andy's DW driver updates
    - Guennadi's sh driver updates
    - Pl08x driver fixes from Tomasz & Alban
    - Improvements to mmp_pdma by Daniel
    - TI EDMA fixes by Joel
    - New drivers:
    - Hisilicon k3dma driver
    - Renesas rcar dma driver
    - New API for publishing slave driver capablities
    - Various fixes across the subsystem by Andy, Jingoo, Sachin etc..."

    * 'for-linus' of git://git.infradead.org/users/vkoul/slave-dma: (94 commits)
    dma: edma: Remove limits on number of slots
    dma: edma: Leave linked to Null slot instead of DUMMY slot
    dma: edma: Find missed events and issue them
    ARM: edma: Add function to manually trigger an EDMA channel
    dma: edma: Write out and handle MAX_NR_SG at a given time
    dma: edma: Setup parameters to DMA MAX_NR_SG at a time
    dmaengine: pl330: use dma_set_max_seg_size to set the sg limit
    dmaengine: dma_slave_caps: remove sg entries
    dma: replace devm_request_and_ioremap by devm_ioremap_resource
    dma: ste_dma40: Fix potential null pointer dereference
    dma: ste_dma40: Remove duplicate const
    dma: imx-dma: Remove redundant NULL check
    dma: dmagengine: fix function names in comments
    dma: add driver for R-Car HPB-DMAC
    dma: k3dma: use devm_ioremap_resource() instead of devm_request_and_ioremap()
    dma: imx-sdma: Staticize sdma_driver_data structures
    pch_dma: Add MODULE_DEVICE_TABLE
    dmaengine: PL08x: Add cyclic transfer support
    dmaengine: PL08x: Fix reading the byte count in cctl
    dmaengine: PL08x: Add support for different maximum transfer size
    ...

    Linus Torvalds
     
  • Pull MMC updates from Chris Ball:
    "MMC highlights for 3.12:

    Core:
    - Support Allocation Units 8MB-64MB in SD3.0, previous max was 4MB.
    - The slot-gpio helper can now handle GPIO debouncing card-detect.
    - Read supported voltages from DT "voltage-ranges" property.

    Drivers:
    - dw_mmc: Add support for ARC architecture, and support exynos5420.
    - mmc_spi: Support CD/RO GPIOs.
    - sh_mobile_sdhi: Add compatibility for more Renesas SoCs.
    - sh_mmcif: Add DT support for DMA channels"

    * tag 'mmc-updates-for-3.12-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/cjb/mmc: (50 commits)
    Revert "mmc: tmio-mmc: Remove .set_pwr() callback from platform data"
    mmc: dw_mmc: Add support for ARC
    mmc: sdhci-s3c: initialize host->quirks2 for using quirks2
    mmc: sdhci-s3c: fix the wrong register value, when clock is disabled
    mmc: esdhc: add support to get voltage from device-tree
    mmc: sdhci: get voltage from sdhc host
    mmc: core: parse voltage from device-tree
    mmc: omap_hsmmc: use the generic config for omap2plus devices
    mmc: omap_hsmmc: clear status flags before starting a new command
    mmc: dw_mmc: exynos: Add a new compatible string for exynos5420
    mmc: sh_mmcif: revision-specific CLK_CTRL2 handling
    mmc: sh_mmcif: revision-specific Command Completion Signal handling
    mmc: sh_mmcif: add support for Device Tree DMA bindings
    mmc: sh_mmcif: move header include from header into .c
    mmc: SDHI: add DT compatibility strings for further SoCs
    mmc: dw_mmc-pci: enable bus-mastering mode
    mmc: dw_mmc-pci: get resources from a proper BAR
    mmc: tmio-mmc: Remove .set_pwr() callback from platform data
    mmc: tmio-mmc: Remove .get_cd() callback from platform data
    mmc: sh_mobile_sdhi: Remove .set_pwr() callback from platform data
    ...

    Linus Torvalds
     

10 Sep, 2013

6 commits

  • Pull ARM SoC late changes from Kevin Hilman:
    "These are changes that arrived a little late before the merge window,
    or had dependencies on previous branches.

    Highlights:
    - ux500: misc. cleanup, fixup I2C devices
    - exynos: DT updates for RTC; PM updates
    - at91: DT updates for NAND; new platforms added to generic defconfig
    - sunxi: DT updates: cubieboard2, pinctrl driver, gated clocks
    - highbank: LPAE fixes, select necessary ARM errata
    - omap: PM fixes and improvements; OMAP5 mailbox support
    - omap: basic support for new DRA7xx SoCs"

    * tag 'late-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (60 commits)
    ARM: dts: vexpress: Add CCI node to TC2 device-tree
    ARM: EXYNOS: Skip C1 cpuidle state for exynos5440
    ARM: EXYNOS: always enable PM domains support for EXYNOS4X12
    ARM: highbank: clean-up some unused includes
    ARM: sun7i: Enable the A20 clocks in the DTSI
    ARM: sun6i: Enable clock support in the DTSI
    ARM: sun5i: dt: Use the A10s gates in the DTSI
    ARM: at91: at91_dt_defconfig: enable rm9200 support
    ARM: dts: add ADC device tree node for exynos5420/5250
    ARM: dts: Add RTC DT node to Exynos5420 SoC
    ARM: dts: Update the "status" property of RTC DT node for Exynos5250 SoC
    ARM: dts: Fix the RTC DT node name for Exynos5250
    irqchip: mmp: avoid to include irqs head file
    ARM: mmp: avoid to include head file in mach-mmp
    irqchip: mmp: support irqchip
    irqchip: move mmp irq driver
    ARM: OMAP: AM33xx: clock: Add RNG clock data
    ARM: OMAP: TI81XX: add always-on powerdomain for TI81XX
    ARM: OMAP4: clock: Lock PLLs in the right sequence
    ARM: OMAP: AM33XX: hwmod: Add hwmod data for debugSS
    ...

    Linus Torvalds
     
  • Pull ARM Renesas SoC cleanup, refactoring and more SMP support from Kevin Hilman:
    "Lots of cleanup and refactoring and some SMP additions for Renesas
    platforms. Due to some inter-dependencies with other arm-soc
    branches, this Renesas stuff was separated out for sending after the
    other branches were merged.

    Highlights:
    - remove unused board support and cleanup of unused headers
    - refactoring of init and device registration
    - simplify IRQ initialization"

    * tag 'renesas-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (68 commits)
    ARM: shmobile: Per-CPU SMP boot / sleep code for SCU SoCs
    ARM: shmobile: Introduce per-CPU SMP boot / sleep code
    ARM: shmobile: Use shared SCU CPU Hotplug code on r8a7779
    ARM: shmobile: Use shared SCU CPU Hotplug code on sh73a0
    ARM: shmobile: Add shared SCU CPU Hotplug code
    ARM: shmobile: Use shared SCU SMP boot code on emev2
    ARM: shmobile: Use shared SCU SMP boot code on r8a7779
    ARM: shmobile: Use shared SCU SMP boot code on sh73a0
    ARM: shmobile: Introduce shared SCU SMP boot code
    ARM: shmobile: sh73a0: Remove global GPIO_NR definition
    ARM: shmobile: kzm9d: remove nfsroot settings from bootargs
    ARM: shmobile: armadillo800eva: remove nfsroot settings from bootargs
    ARM: shmobile: r8a7779: move r8a7779_init_irq_xxx() to setup
    ARM: shmobile: r8a7740: move r8a7740_init_irq_of() to setup
    ARM: shmobile: bockw: add missing __initdata
    ARM: shmobile: r8a7790: add missing __initdata
    ARM: shmobile: r8a7779: add missing __initdata
    ARM: shmobile: Remove unused shmobile_init_time()
    ARM: shmobile: Use clocksource_of_init() on r8a7790
    ARM: shmobile: Use default ->init_time() on KZM9G DT ref
    ...

    Linus Torvalds
     
  • Pull ARM SoC driver update from Kevin Hilman:
    "This contains the ARM SoC related driver updates for v3.12. The only
    thing this cycle are core PM updates and CPUidle support for ARM's TC2
    big.LITTLE development platform"

    * tag 'drivers-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc:
    cpuidle: big.LITTLE: vexpress-TC2 CPU idle driver
    ARM: vexpress: tc2: disable GIC CPU IF in tc2_pm_suspend
    drivers: irq-chip: irq-gic: introduce gic_cpu_if_down()

    Linus Torvalds
     
  • Pull clock framework changes from Michael Turquette:
    "The common clk framework changes for 3.12 are dominated by clock
    driver patches, both new drivers and fixes to existing. A high
    percentage of these are for Samsung platforms like Exynos. Core
    framework fixes and some new features like automagical clock
    re-parenting round out the patches"

    * tag 'clk-for-linus-3.12' of git://git.linaro.org/people/mturquette/linux: (102 commits)
    clk: only call get_parent if there is one
    clk: samsung: exynos5250: Simplify registration of PLL rate tables
    clk: samsung: exynos4: Register PLL rate tables for Exynos4x12
    clk: samsung: exynos4: Register PLL rate tables for Exynos4210
    clk: samsung: exynos4: Reorder registration of mout_vpllsrc
    clk: samsung: pll: Add support for rate configuration of PLL46xx
    clk: samsung: pll: Use new registration method for PLL46xx
    clk: samsung: pll: Add support for rate configuration of PLL45xx
    clk: samsung: pll: Use new registration method for PLL45xx
    clk: samsung: exynos4: Rename exynos4_plls to exynos4x12_plls
    clk: samsung: exynos4: Remove checks for DT node
    clk: samsung: exynos4: Remove unused static clkdev aliases
    clk: samsung: Modify _get_rate() helper to use __clk_lookup()
    clk: samsung: exynos4: Use separate aliases for cpufreq related clocks
    clocksource: samsung_pwm_timer: Get clock from device tree
    ARM: dts: exynos4: Specify PWM clocks in PWM node
    pwm: samsung: Update DT bindings documentation to cover clocks
    clk: Move symbol export to proper location
    clk: fix new_parent dereference before null check
    clk: wm831x: Initialise wm831x pointer on init
    ...

    Linus Torvalds
     
  • Pull DMA mapping update from Marek Szyprowski:
    "This contains an addition of Device Tree support for reserved memory
    regions (Contiguous Memory Allocator is one of the drivers for it) and
    changes required by the KVM extensions for PowerPC architectue"

    * 'for-v3.12' of git://git.linaro.org/people/mszyprowski/linux-dma-mapping:
    ARM: init: add support for reserved memory defined by device tree
    drivers: of: add initialization code for dma reserved memory
    drivers: of: add function to scan fdt nodes given by path
    drivers: dma-contiguous: clean source code and prepare for device tree

    Linus Torvalds
     
  • Linux 3.11-rc7

    As we need the git commit 28817e9de4f039a1a8c1fe1df2fa2df524626b9e
    Author: Chuck Anderson
    Date: Tue Aug 6 15:12:19 2013 -0700

    xen/smp: initialize IPI vectors before marking CPU online

    * tag 'v3.11-rc7': (443 commits)
    Linux 3.11-rc7
    ARC: [lib] strchr breakage in Big-endian configuration
    VFS: collect_mounts() should return an ERR_PTR
    bfs: iget_locked() doesn't return an ERR_PTR
    efs: iget_locked() doesn't return an ERR_PTR()
    proc: kill the extra proc_readfd_common()->dir_emit_dots()
    cope with potentially long ->d_dname() output for shmem/hugetlb
    usb: phy: fix build breakage
    USB: OHCI: add missing PCI PM callbacks to ohci-pci.c
    staging: comedi: bug-fix NULL pointer dereference on failed attach
    lib/lz4: correct the LZ4 license
    memcg: get rid of swapaccount leftovers
    nilfs2: fix issue with counting number of bio requests for BIO_EOPNOTSUPP error detection
    nilfs2: remove double bio_put() in nilfs_end_bio_write() for BIO_EOPNOTSUPP error
    drivers/platform/olpc/olpc-ec.c: initialise earlier
    ipv4: expose IPV4_DEVCONF
    ipv6: handle Redirect ICMP Message with no Redirected Header option
    be2net: fix disabling TX in be_close()
    Revert "ACPI / video: Always call acpi_video_init_brightness() on init"
    Revert "genetlink: fix family dump race"
    ...

    Signed-off-by: Konrad Rzeszutek Wilk

    Konrad Rzeszutek Wilk
     

09 Sep, 2013

2 commits

  • When linux is running as dom0, Xen doesn't show the physical cpu but a
    virtual CPU.
    On some ARM SOC (for instance the exynos 5250), linux registers callbacks
    for cpuidle and cpufreq. When these callbacks are called, they will modify
    directly the physical cpu not the virtual one. It can impact the whole board
    instead of only dom0.

    Signed-off-by: Julien Grall
    Signed-off-by: Stefano Stabellini
    Reviewed-by: Konrad Rzeszutek Wilk

    Julien Grall
     
  • xen_pm_init was unconditionally setting pm_power_off and arm_pm_restart
    function pointers. This breaks multi-platform kernels. Make this
    conditional on running as a Xen guest and make it a late_initcall to
    ensure it is setup after platform code for Dom0.

    Signed-off-by: Rob Herring
    Signed-off-by: Stefano Stabellini
    CC: stable@vger.kernel.org

    Rob Herring
     

08 Sep, 2013

1 commit

  • Pull crypto update from Herbert Xu:
    "Here is the crypto update for 3.12:

    - Added MODULE_SOFTDEP to allow pre-loading of modules.
    - Reinstated crct10dif driver using the module softdep feature.
    - Allow via rng driver to be auto-loaded.

    - Split large input data when necessary in nx.
    - Handle zero length messages correctly for GCM/XCBC in nx.
    - Handle SHA-2 chunks bigger than block size properly in nx.

    - Handle unaligned lengths in omap-aes.
    - Added SHA384/SHA512 to omap-sham.
    - Added OMAP5/AM43XX SHAM support.
    - Added OMAP4 TRNG support.

    - Misc fixes"

    * git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6: (66 commits)
    Reinstate "crypto: crct10dif - Wrap crc_t10dif function all to use crypto transform framework"
    hwrng: via - Add MODULE_DEVICE_TABLE
    crypto: fcrypt - Fix bitoperation for compilation with clang
    crypto: nx - fix SHA-2 for chunks bigger than block size
    crypto: nx - fix GCM for zero length messages
    crypto: nx - fix XCBC for zero length messages
    crypto: nx - fix limits to sg lists for AES-CCM
    crypto: nx - fix limits to sg lists for AES-XCBC
    crypto: nx - fix limits to sg lists for AES-GCM
    crypto: nx - fix limits to sg lists for AES-CTR
    crypto: nx - fix limits to sg lists for AES-CBC
    crypto: nx - fix limits to sg lists for AES-ECB
    crypto: nx - add offset to nx_build_sg_lists()
    padata - Register hotcpu notifier after initialization
    padata - share code between CPU_ONLINE and CPU_DOWN_FAILED, same to CPU_DOWN_PREPARE and CPU_UP_CANCELED
    hwrng: omap - reorder OMAP TRNG driver code
    crypto: omap-sham - correct dma burst size
    crypto: omap-sham - Enable Polling mode if DMA fails
    crypto: tegra-aes - bitwise vs logical and
    crypto: sahara - checking the wrong variable
    ...

    Linus Torvalds
     

07 Sep, 2013

8 commits

  • Merge upstream tree in order to reinstate crct10dif.

    Herbert Xu
     
  • Pull ARM SoC board updates from Olof Johansson:
    "Board updates for 3.12. Again, a bit of domain overlap with SoC and
    DT branches, but most of this is around legacy code and board support.
    We've found that platform maintainers have a hard time separating all
    of these out and might move towards fewer branches for next release.

    - Removal of a number of Marvell Kirkwood board files, since contents
    is now common and mostly configured via DT.
    - Device-tree updates for Marvell Dove, including irqchip and
    clocksource setup.
    - Defconfig updates. Gotta go somewhere. One new one for Renesas
    Lager.
    - New backlight drivers for backlights used on Renesas shmobile
    platforms.
    - Removal of Renesas leds driver.
    - Shuffling of some of the new Broadcom platforms to give room for
    others in the same mach directory. More in 3.13"

    * tag 'boards-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (67 commits)
    mmc: sdhci-bcm-kona: Staticize sdhci_bcm_kona_card_event
    mmc: sdhci-bcm-kona: Remove unneeded version.h inclusion
    ARM: bcm: Make secure API call optional
    ARM: DT: binding fixup to align with vendor-prefixes.txt (drivers)
    ARM: mmc: fix NONREMOVABLE test in sdhci-bcm-kona
    ARM: bcm: Rename board_bcm
    mmc: sdhci-bcm-kona: make linker-section warning go away
    ARM: tegra: defconfig updates
    ARM: dove: add initial DT file for Globalscale D2Plug
    ARM: dove: add GPIO IR receiver node to SolidRun CuBox
    ARM: dove: add common pinmux functions to DT
    ARM: dove: add cpu device tree node
    ARM: dove: update dove_defconfig with SI5351, PCI, and xHCI
    arch/arm/mach-kirkwood: Avoid using ARRAY_AND_SIZE(e) as a function argument
    ARM: kirkwood: fix DT building and update defconfig
    ARM: kirkwood: Remove all remaining trace of DNS-320/325 platform code
    ARM: configs: disable DEBUG_LL in bcm_defconfig
    ARM: bcm281xx: Board specific reboot code
    ARM bcm281xx: Turn on socket & network support.
    ARM: bcm281xx: Turn on L2 cache.
    ...

    Linus Torvalds
     
  • Since pwm-samsung bindings require at least one clock to be specified,
    this patch adds the missing clocks and clock-names properties to specify
    clocks used by PWM block on Exynos4 SoCs.

    Signed-off-by: Tomasz Figa
    Signed-off-by: Kyungmin Park
    Reviewed-by: Sylwester Nawrocki
    Signed-off-by: Mike Turquette

    Tomasz Figa
     
  • Pull ARM SoC platform changes from Olof Johansson:
    "This branch contains mostly additions and changes to platform
    enablement and SoC-level drivers. Since there's sometimes a
    dependency on device-tree changes, there's also a fair amount of
    those in this branch.

    Pieces worth mentioning are:

    - Mbus driver for Marvell platforms, allowing kernel configuration
    and resource allocation of on-chip peripherals.
    - Enablement of the mbus infrastructure from Marvell PCI-e drivers.
    - Preparation of MSI support for Marvell platforms.
    - Addition of new PCI-e host controller driver for Tegra platforms
    - Some churn caused by sharing of macro names between i.MX 6Q and 6DL
    platforms in the device tree sources and header files.
    - Various suspend/PM updates for Tegra, including LP1 support.
    - Versatile Express support for MCPM, part of big little support.
    - Allwinner platform support for A20 and A31 SoCs (dual and quad
    Cortex-A7)
    - OMAP2+ support for DRA7, a new Cortex-A15-based SoC.

    The code that touches other architectures are patches moving MSI
    arch-specific functions over to weak symbols and removal of
    ARCH_SUPPORTS_MSI, acked by PCI maintainers"

    * tag 'soc-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (266 commits)
    tegra-cpuidle: provide stub when !CONFIG_CPU_IDLE
    PCI: tegra: replace devm_request_and_ioremap by devm_ioremap_resource
    ARM: tegra: Drop ARCH_SUPPORTS_MSI and sort list
    ARM: dts: vf610-twr: enable i2c0 device
    ARM: dts: i.MX51: Add one more I2C2 pinmux entry
    ARM: dts: i.MX51: Move pins configuration under "iomuxc" label
    ARM: dtsi: imx6qdl-sabresd: Add USB OTG vbus pin to pinctrl_hog
    ARM: dtsi: imx6qdl-sabresd: Add USB host 1 VBUS regulator
    ARM: dts: imx27-phytec-phycore-som: Enable AUDMUX
    ARM: dts: i.MX27: Disable AUDMUX in the template
    ARM: dts: wandboard: Add support for SDIO bcm4329
    ARM: i.MX5 clocks: Remove optional clock setup (CKIH1) from i.MX51 template
    ARM: dts: imx53-qsb: Make USBH1 functional
    ARM i.MX6Q: dts: Enable I2C1 with EEPROM and PMIC on Phytec phyFLEX-i.MX6 Ouad module
    ARM i.MX6Q: dts: Enable SPI NOR flash on Phytec phyFLEX-i.MX6 Ouad module
    ARM: dts: imx6qdl-sabresd: Add touchscreen support
    ARM: imx: add ocram clock for imx53
    ARM: dts: imx: ocram size is different between imx6q and imx6dl
    ARM: dts: imx27-phytec-phycore-som: Fix regulator settings
    ARM: dts: i.MX27: Remove clock name from CPU node
    ...

    Linus Torvalds
     
  • Pull ARM SoC DT updates from Olof Johansson:
    "Device tree and bindings updates for 3.12.

    General additions of various on-chip and on-board peripherals on
    various platforms as support gets added. Some of the bigger changes
    are:

    - Addition of (new) PCI-e support on Tegra.
    - More Tegra4 support, including PMC configuration for Dalmore.
    - Addition of a new board for Exynos4 (trats2) and more bindings for
    4x12 IP.
    - Addition of Allwinner A20 and A31 SoC and board files.
    - Move of the ST Ericsson device tree files to now use ste-* prefix.
    - More move of hardware description of shmobile platforms to DT.
    - Two new board dts files for Freescale MXs"

    * tag 'dt-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (177 commits)
    dts: Rename DW APB timer compatible strings
    dts: Deprecate ALTR as a vendor prefix
    of: add vendor prefix for Altera Corp.
    ARM: at91/dt: sam9x5ek: add sound configuration
    ARM: at91/dt: sam9x5ek: enable SSC
    ARM: at91/dt: sam9x5ek: add WM8731 codec
    ARM: at91/dt: sam9x5: add SSC DMA parameters
    ARM: at91/dt: add at91rm9200 PQFP package version
    ARM: at91: at91rm9200: set default mmc0 pinctrl-names
    ARM: at91: at91sam9n12: correct pin number of gpio-key
    ARM: at91: at91sam9n12: add qt1070 support
    ARM: at91: at91sam9n12: add pinctrl of TWI
    ARM: at91: Add PMU support for sama5d3
    ARM: at91: at91sam9260: add missing pinctrl-names on mmc
    ARM: tegra: configure power off for Dalmore
    ARM: DT: binding fixup to align with vendor-prefixes.txt (DT)
    ARM: dts: add sdio blocks to bcm28155-ap board
    ARM: dts: align sdio numbers to HW definition
    ARM: sun7i: Add Olimex A20-Olinuxino-Micro support
    ARM: sun7i: Add Allwinner A20 DTSI
    ...

    Linus Torvalds
     
  • Pull ARM SoC cleanups from Olof Johansson:
    "This branch contains code cleanups, moves and removals for 3.12.

    There's a large number of various cleanups, and a nice net removal of
    13500 lines of code.

    Highlights worth mentioning are:

    - A series of patches from Stephen Boyd removing the ARM local timer
    API.
    - Move of Qualcomm MSM IOMMU code to drivers/iommu.
    - Samsung PWM driver cleanups from Tomasz Figa, removing legacy PWM
    driver and switching over to the drivers/pwm one.
    - Removal of some unusued auto-generated headers for OMAP2+ (PRM/CM).

    There's also a move of a header file out of include/linux/i2c/ to
    platform_data, where it really belongs. It touches mostly ARM
    platform code for include changes so we took it through our tree"

    * tag 'cleanup-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (83 commits)
    ARM: OMAP2+: Add back the define for AM33XX_RST_GLOBAL_WARM_SW_MASK
    gpio: (gpio-pca953x) move header to linux/platform_data/
    arm: zynq: hotplug: Remove unreachable code
    ARM: SAMSUNG: Remove unnecessary exynos4_default_sdhci*()
    tegra: simplify use of devm_ioremap_resource
    ARM: SAMSUNG: Remove plat/regs-timer.h header
    ARM: SAMSUNG: Remove remaining uses of plat/regs-timer.h header
    ARM: SAMSUNG: Remove pwm-clock infrastructure
    ARM: SAMSUNG: Remove old PWM timer platform devices
    pwm: Remove superseded pwm-samsung-legacy driver
    ARM: SAMSUNG: Modify board files to use new PWM platform device
    ARM: SAMSUNG: Rework private data handling in dev-backlight
    pwm: Add new pwm-samsung driver
    ARM: mach-mvebu: remove redundant DT parsing and validation
    ARM: msm: Only compile io.c on platforms that use it
    iommu/msm: Move mach includes to iommu directory
    ARM: msm: Remove devices-iommu.c
    ARM: msm: Move mach/board.h contents to common.h
    ARM: msm: Migrate msm_timer to CLOCKSOURCE_OF_DECLARE
    ARM: msm: Remove TMR and TMR0 static mappings
    ...

    Linus Torvalds
     
  • Pull ARM SoC low-priority fixes from Olof Johansson:
    "This branch contains a handful of fixes for various platforms that
    weren't serious enough to be included in late 3.11-rc releases. Most
    of them are for minor cleanups and cosmetic fixes.

    There's also a bit of code removal here, one board file removal for
    clps711x, and removal of some legacy device creation on OMAP2+"

    * tag 'fixes-nc-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (25 commits)
    ARM: OMAP2: use 'int' instead of 'unsigned' for variable 'gpmc_irq_start'
    ARM: OMAP2: remove useless variable 'ret'
    ARM: OMAP: dma: fix error return code in omap_system_dma_probe()
    ARM: OMAP2+: fix wrong address when loading PRM_FRAC_INCREMENTOR_DENUMERATOR_RELOAD
    ARM: OMAP2+: am33xx-restart: trigger warm reset on omap2+ boards
    ARM: OMAP2: Use a consistent AM33XX SoC option description
    ARM: OMAP2+: Remove legacy device creation for McPDM and DMIC
    ARM: clps711x: edb7211: Remove extra iotable_init() call
    ARM: clps711x: autcpu12: Remove incorrect config checking
    ARM: clps711x: Drop fortunet board support
    ARM: clps711x: Remove the special name for the syscon driver
    ARM: dts: Fix memory node in skeleton64.dtsi
    ARM: Keystone: Convert device tree file to use IRQ defines
    ARM: keystone: use #include to include skeleton.dtsi
    ARM: keystone: Drop the un-necessary dsb from keystone_cpu_smc()
    ARM: Keystone: No need to preserve r12 across smc call
    ARM: keystone: remove redundant smp_init_cpus definition
    ARM: keystone: drop useless HAVE_SCHED_CLOCK
    ARM: dove: fix missing __init section of dove_mpp_gpio_mode
    ARM: shmobile: armadillo800eva-reference: fix compiler warning
    ...

    Linus Torvalds
     
  • Pull ARM64 update from Catalin Marinas:
    - User tagged pointers support (top 8-bit of user pointers
    automatically ignored by the CPU).
    - Kernel mode NEON (no users for arm64 yet but work in progress).
    - arm64 kernel Image header extended to accommodate future EFI stub.
    - Remove BogoMIPS reporting (not relevant, it's just the timer
    frequency).
    - Clean-up (EM_AARCH64/EM_ARM to elf-em.h, ELF notes in read-only
    segment, unused variable).
    - Bug-fixes (RAM boundaries not 2MB aligned, perf, includes).

    * tag 'arm64-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/cmarinas/linux-aarch64:
    Documentation/arm64: clarify requirements for DTB placement
    arm64: mm: permit use of tagged pointers at EL0
    Move the EM_ARM and EM_AARCH64 definitions to uapi/linux/elf-em.h
    arm64: Remove unused cpu_name ascii in arch/arm64/mm/proc.S
    arm64: delay: don't bother reporting bogomips in /proc/cpuinfo
    arm64: Fix mapping of memory banks not ending on a PMD_SIZE boundary
    arm64: move elf notes into readonly segment
    arm64: Enable interrupts in the EL0 undef handler
    arm64: Expand arm64 image header
    ARM64: include: asm: include "asm/types.h" in "pgtable-2level-types.h" and "pgtable-3level-types.h"
    arm64: add support for kernel mode NEON
    arm64: perf: fix ARMv8 EVTYPE_MASK to include NSH bit
    arm64: perf: fix group validation when using enable_on_exec

    Linus Torvalds
     

06 Sep, 2013

5 commits

  • Pull ARM updates from Russell King:
    "This set includes adding support for Neon acceleration of RAID6 XOR
    code from Ard Biesheuvel, cache flushing and barrier updates from Will
    Deacon, and a cleanup to the ARM debug code which reduces the amount
    of code by about 500 lines.

    A few other cleanups, such as constifying the machine descriptors
    which already shouldn't be written to, cleaning up the printing of the
    L2 cache size"

    * 'for-linus' of git://git.linaro.org/people/rmk/linux-arm: (55 commits)
    ARM: 7826/1: debug: support debug ll on hisilicon soc
    ARM: 7830/1: delay: don't bother reporting bogomips in /proc/cpuinfo
    ARM: 7829/1: Add ".text.unlikely" and ".text.hot" to arm unwind tables
    ARM: 7828/1: ARMv7-M: implement restart routine common to all v7-M machines
    ARM: 7827/1: highbank: fix debug uart virtual address for LPAE
    ARM: 7823/1: errata: workaround Cortex-A15 erratum 773022
    ARM: 7806/1: allow DEBUG_UNCOMPRESS for Tegra
    ARM: 7793/1: debug: use generic option for ep93xx PL10x debug port
    ARM: debug: move SPEAr debug to generic PL01x code
    ARM: debug: move davinci debug to generic 8250 code
    ARM: debug: move keystone debug to generic 8250 code
    ARM: debug: remove DEBUG_ROCKCHIP_UART
    ARM: debug: provide generic option choices for 8250 and PL01x ports
    ARM: debug: move PL01X debug include into arch/arm/include/debug/
    ARM: debug: provide PL01x debug uart phys/virt address configuration options
    ARM: debug: add support for word accesses to debug/8250.S
    ARM: debug: move 8250 debug include into arch/arm/include/debug/
    ARM: debug: provide 8250 debug uart phys/virt address configuration options
    ARM: debug: provide 8250 debug uart register shift configuration option
    ARM: debug: provide 8250 debug uart flow control configuration option
    ...

    Linus Torvalds
     
  • Pull networking changes from David Miller:
    "Noteworthy changes this time around:

    1) Multicast rejoin support for team driver, from Jiri Pirko.

    2) Centralize and simplify TCP RTT measurement handling in order to
    reduce the impact of bad RTO seeding from SYN/ACKs. Also, when
    both timestamps and local RTT measurements are available prefer
    the later because there are broken middleware devices which
    scramble the timestamp.

    From Yuchung Cheng.

    3) Add TCP_NOTSENT_LOWAT socket option to limit the amount of kernel
    memory consumed to queue up unsend user data. From Eric Dumazet.

    4) Add a "physical port ID" abstraction for network devices, from
    Jiri Pirko.

    5) Add a "suppress" operation to influence fib_rules lookups, from
    Stefan Tomanek.

    6) Add a networking development FAQ, from Paul Gortmaker.

    7) Extend the information provided by tcp_probe and add ipv6 support,
    from Daniel Borkmann.

    8) Use RCU locking more extensively in openvswitch data paths, from
    Pravin B Shelar.

    9) Add SCTP support to openvswitch, from Joe Stringer.

    10) Add EF10 chip support to SFC driver, from Ben Hutchings.

    11) Add new SYNPROXY netfilter target, from Patrick McHardy.

    12) Compute a rate approximation for sending in TCP sockets, and use
    this to more intelligently coalesce TSO frames. Furthermore, add
    a new packet scheduler which takes advantage of this estimate when
    available. From Eric Dumazet.

    13) Allow AF_PACKET fanouts with random selection, from Daniel
    Borkmann.

    14) Add ipv6 support to vxlan driver, from Cong Wang"

    Resolved conflicts as per discussion.

    * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next: (1218 commits)
    openvswitch: Fix alignment of struct sw_flow_key.
    netfilter: Fix build errors with xt_socket.c
    tcp: Add missing braces to do_tcp_setsockopt
    caif: Add missing braces to multiline if in cfctrl_linkup_request
    bnx2x: Add missing braces in bnx2x:bnx2x_link_initialize
    vxlan: Fix kernel panic on device delete.
    net: mvneta: implement ->ndo_do_ioctl() to support PHY ioctls
    net: mvneta: properly disable HW PHY polling and ensure adjust_link() works
    icplus: Use netif_running to determine device state
    ethernet/arc/arc_emac: Fix huge delays in large file copies
    tuntap: orphan frags before trying to set tx timestamp
    tuntap: purge socket error queue on detach
    qlcnic: use standard NAPI weights
    ipv6:introduce function to find route for redirect
    bnx2x: VF RSS support - VF side
    bnx2x: VF RSS support - PF side
    vxlan: Notify drivers for listening UDP port changes
    net: usbnet: update addr_assign_type if appropriate
    driver/net: enic: update enic maintainers and driver
    driver/net: enic: Exposing symbols for Cisco's low latency driver
    ...

    Linus Torvalds
     
  • Conflicts:
    drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c
    net/bridge/br_multicast.c
    net/ipv6/sit.c

    The conflicts were minor:

    1) sit.c changes overlap with change to ip_tunnel_xmit() signature.

    2) br_multicast.c had an overlap between computing max_delay using
    msecs_to_jiffies and turning MLDV2_MRC() into an inline function
    with a name using lowercase instead of uppercase letters.

    3) stmmac had two overlapping changes, one which conditionally allocated
    and hooked up a dma_cfg based upon the presence of the pbl OF property,
    and another one handling store-and-forward DMA made. The latter of
    which should not go into the new of_find_property() basic block.

    Signed-off-by: David S. Miller

    David S. Miller
     
  • Pull media updates from Mauro Carvalho Chehab:
    "This series contains:
    - Exynos s5p-mfc driver got support for VP8 encoder
    - Some SoC drivers gained support for asynchronous registration
    (needed for DT)
    - The RC subsystem gained support for RC activity LED;
    - New drivers added: a video decoder(adv7842), a video encoder
    (adv7511), a new GSPCA driver (stk1135) and support for Renesas
    R-Car (vsp1)
    - the first SDR kernel driver: mirics msi3101. Due to some troubles
    with the driver, and because the API is still under discussion, it
    will be merged at staging for 3.12. Need to rework on it
    - usual new boards additions, fixes, cleanups and driver
    improvements"

    * 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media: (242 commits)
    [media] cx88: Fix regression: CX88_AUDIO_WM8775 can't be 0
    [media] exynos4-is: Fix entity unregistration on error path
    [media] exynos-gsc: Register v4l2 device
    [media] exynos4-is: Fix fimc-lite bayer formats
    [media] em28xx: fix assignment of the eeprom data
    [media] hdpvr: fix iteration over uninitialized lists in hdpvr_probe()
    [media] usbtv: Throw corrupted frames away
    [media] usbtv: Fix deinterlacing
    [media] v4l2: added missing mutex.h include to v4l2-ctrls.h
    [media] DocBook: upgrade media_api DocBook version to 4.2
    [media] ml86v7667: fix compile warning: 'ret' set but not used
    [media] s5p-g2d: Fix registration failure
    [media] media: coda: Fix DT driver data pointer for i.MX27
    [media] s5p-mfc: Fix input/output format reporting
    [media] v4l: vsp1: Fix mutex double lock at streamon time
    [media] v4l: vsp1: Add support for RT clock
    [media] v4l: vsp1: Initialize media device bus_info field
    [media] davinci: vpif_capture: fix error return code in vpif_probe()
    [media] davinci: vpif_display: fix error return code in vpif_probe()
    [media] MAINTAINERS: add entries for adv7511 and adv7842
    ...

    Linus Torvalds
     
  • …/kernel/git/tomba/linux

    Pull OMAP specific fbdev changes from Tomi Valkeinen:
    "I've got this pull request separate from the main fbdev pull request,
    as this contains a bunch of OMAP board file changes and thus could
    possibly be rejected in case of bad conflicts.

    The removal of the old display drivers depend on the board file
    changes, so Tony Lindgren suggested taking them together via fbdev
    tree. These are in linux-next, and also Tony didn't see any conflicts
    with any of the branches he had, so they should go in clean.

    - Change the OMAP board files to use the new OMAP display drivers

    - Remove all the old drivers, and the related auxiliary code"

    * tag 'fbdev-3.12-omap-legacy-removal' of git://git.kernel.org/pub/scm/linux/kernel/git/tomba/linux: (35 commits)
    OMAPDSS: rename omap_dss_device's 'device' field to 'dst'
    OMAPDSS: rename omap_dss_device's 'output' to 'src'
    OMAPDSS: DSS: remove legacy dss bus support
    OMAPDSS: RFBI: remove code related to old panel model
    OMAPDSS: VENC: remove code related to old panel model
    OMAPDSS: SDI: remove code related to old panel model
    OMAPDSS: DSI: remove code related to old panel model
    OMAPDSS: HDMI: remove code related to old panel model
    OMAPDSS: DPI: remove code related to old panel model
    OMAPDSS: remove all old panel drivers
    OMAPDSS: DPI: change regulator handling
    OMAPDSS: SDI: change regulator handling
    OMAPDSS: fix DPI and SDI device ids
    OMAPDSS: remove omap_dss_device->channel field
    OMAPDSS: RFBI: Mark RFBI as broken
    ARM: OMAP2+: Remove old display drivers from omap2plus_defconfig
    ARM: OMAP: AM3517EVM: use new display drivers
    ARM: OMAP: Zoom: use new display drivers
    ARM: OMAP: Pandora: use new display drivers
    ARM: OMAP: OMAP3EVM: use new display drivers
    ...

    Linus Torvalds
     

05 Sep, 2013

5 commits

  • Russell King
     
  • Pull KVM updates from Gleb Natapov:
    "The highlights of the release are nested EPT and pv-ticketlocks
    support (hypervisor part, guest part, which is most of the code, goes
    through tip tree). Apart of that there are many fixes for all arches"

    Fix up semantic conflicts as discussed in the pull request thread..

    * 'next' of git://git.kernel.org/pub/scm/virt/kvm/kvm: (88 commits)
    ARM: KVM: Add newlines to panic strings
    ARM: KVM: Work around older compiler bug
    ARM: KVM: Simplify tracepoint text
    ARM: KVM: Fix kvm_set_pte assignment
    ARM: KVM: vgic: Bump VGIC_NR_IRQS to 256
    ARM: KVM: Bugfix: vgic_bytemap_get_reg per cpu regs
    ARM: KVM: vgic: fix GICD_ICFGRn access
    ARM: KVM: vgic: simplify vgic_get_target_reg
    KVM: MMU: remove unused parameter
    KVM: PPC: Book3S PR: Rework kvmppc_mmu_book3s_64_xlate()
    KVM: PPC: Book3S PR: Make instruction fetch fallback work for system calls
    KVM: PPC: Book3S PR: Don't corrupt guest state when kernel uses VMX
    KVM: x86: update masterclock when kvmclock_offset is calculated (v2)
    KVM: PPC: Book3S: Fix compile error in XICS emulation
    KVM: PPC: Book3S PR: return appropriate error when allocation fails
    arch: powerpc: kvm: add signed type cast for comparation
    KVM: x86: add comments where MMIO does not return to the emulator
    KVM: vmx: count exits to userspace during invalid guest emulation
    KVM: rename __kvm_io_bus_sort_cmp to kvm_io_bus_cmp
    kvm: optimize away THP checks in kvm_is_mmio_pfn()
    ...

    Linus Torvalds
     
  • Pull PTR_RET() removal patches from Rusty Russell:
    "PTR_RET() is a weird name, and led to some confusing usage. We ended
    up with PTR_ERR_OR_ZERO(), and replacing or fixing all the usages.

    This has been sitting in linux-next for a whole cycle"

    [ There are still some PTR_RET users scattered about, with some of them
    possibly being new, but most of them existing in Rusty's tree too. We
    have that

    #define PTR_RET(p) PTR_ERR_OR_ZERO(p)

    thing in , so they continue to work for now - Linus ]

    * tag 'PTR_RET-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux:
    GFS2: Replace PTR_RET with PTR_ERR_OR_ZERO
    Btrfs: volume: Replace PTR_RET with PTR_ERR_OR_ZERO
    drm/cma: Replace PTR_RET with PTR_ERR_OR_ZERO
    sh_veu: Replace PTR_RET with PTR_ERR_OR_ZERO
    dma-buf: Replace PTR_RET with PTR_ERR_OR_ZERO
    drivers/rtc: Replace PTR_RET with PTR_ERR_OR_ZERO
    mm/oom_kill: remove weird use of ERR_PTR()/PTR_ERR().
    staging/zcache: don't use PTR_RET().
    remoteproc: don't use PTR_RET().
    pinctrl: don't use PTR_RET().
    acpi: Replace weird use of PTR_RET.
    s390: Replace weird use of PTR_RET.
    PTR_RET is now PTR_ERR_OR_ZERO(): Replace most.
    PTR_RET is now PTR_ERR_OR_ZERO

    Linus Torvalds
     
  • Pull sound updates from Takashi Iwai:
    "Changes are seen in a wide range of codes, mainly due to ASoC DAPM
    requirements; HD-audio shows a high peak in diffstat, it's just a
    removal of bunch of old static quirks.

    Some highlights:

    - HDPM: Updates for AIO/RayDAT support, TCO/sync support

    - RME96: Add PCM sync support

    - HD-audio:

    * A few HDMI/DP audio updates (CA assignment fix, stream switching
    fix, Intel DP device list support)
    * Device specific fixes (ASUS/CXT HP mic support, Thinkpad mic
    improvements, Chromebook fixes, STAC9228 Dell fixes)
    * Replace the all static quirks for AD codecs with the generic
    parser
    * WAKEEN support for handling irqs in the power saving mode

    - USB-audio: Clean up implicit fb handling and related codes

    - DAPM is now mandatory for ASoC CODEC drivers; all existing drivers
    have had some level of DAPM support added. In addition, a lot of
    cleanups and improvements in DAPM.

    - Support for ASoC cross-platform compile test

    - New drivers and support for Analog Devices ADAU1702 and
    ADAU1401(a), Asahi Kasei Microdevices AK4554, Atmel AT91ASM9x5 and
    WM8904 based machines, Freescale S/PDIF and SSI AC'97, Renesas
    R-Car SoCs, Samsung Exynos5420 SoCs, Texas Instruments PCM1681 and
    PCM1792A and Wolfson Microelectronics WM8997

    - DT bindings for kirkwood and i.MX S/PDIF

    - Clean up and bug fixes: ssm2602, rt5640 and sgtl5000.

    - Core helpers for bitbanged AC'97 reset"

    * tag 'sound-3.12' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound: (375 commits)
    ALSA: hda - Re-setup HDMI pin and audio infoframe on stream switches
    ALSA: hda - hdmi: Fallback to ALSA allocation when selecting CA
    ASoC: mxs-sgtl5000: Configure the dai_links as unidirectional
    ASoC: soc-pcm: Allow to specify unidirectional dai_link
    ASoC: fsl_spdif: Staticse non-exported symbols
    ASoC: ssm2602: Fix cache sync
    ASoC: Remove unused sysfs_registered field from snd_soc_codec struct
    ASoC: Remove unused debugfs_dapm field from snd_soc_{platform,codec} struct
    ASoC: Remove unused control_type field from snd_soc_codec struct
    ASoC: fsl: Add one blank space after ':=' in Makefile
    ASoC: fsl: Add wrapping for dev_dbg() in fsl_spdif.c
    ASoC: rt5640: change widget sequence for depop
    ASoC: dapm: Fix auto-disable for inverted controls
    ASoC: fsl: Drop SND_SOC_FSL_UTILS from SND_SOC_IMX_SPDIF
    ASoC: Samsung: Do not queue cyclic buffers multiple times
    ASoC: ep93xx-i2s: Remove unnecessary dev_set_drvdata()
    ASoC: designware_i2s: Remove unnecessary dev_set_drvdata()
    ASoC: fsl_spdif: remove redundant dev_err call in fsl_spdif_probe()
    ASoC: fsl: Add S/PDIF machine driver
    ASoc: kirkwood: Use the Kirkwood audio driver in Dove boards
    ...

    Linus Torvalds
     
  • Pull pin control changes from Linus Walleij:
    "Here is the bulk of pin control changes for the v3.12 series. Most of
    the relevant information is in the tag.

    I merged in v3.11-rc7 last week to get rid of a largeish conflict
    within the sunxi (AllWinner) driver in linux-next and fix up the
    non-trivial merge the right way. That driver had a rather large fix
    adding locking late in the release cycle.

    Overall the bulk changes this time is cleanups and refactorings and
    not much new features, which is nice.

    - Refactorings for generic pin config handling in the core.

    - Factor out a set of device tree utilities for use in all drivers,
    to parse and allocate maps from the device tree.

    - Some fixes to the core such as more nitpicky locking.

    - Pushed down config array iteration into the drivers.

    This patch is necessary for drivers that want to iterate over
    configs and pile up a stack of alterations to the same register(s),
    or if the driver wants to take a local spinlock when committing the
    configuration.

    - A new driver for the Texas Instruments Palmas PMIC by Laxman
    Dewangan. This is used on the Tegra systems.

    - A major cleanup and modernization of the PFC (Super Hitachi and ARM
    SHmobile) pin controller and subdrivers.

    - Support for the A20 and A31 sunxi (AllWinner) SoCs.

    - A huge pile of fixes and cleanups: Axel Lin, Jingoo Han Dan
    Carpenter, Julia Lawall and Sachin Kamat did an excellent job here"

    * tag 'pinctrl-v3.12-1' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl: (124 commits)
    pinctrl: sunxi: Fix off-by-one for valid offset range checking
    pinctrl: sunxi: drop lock on error path
    pinctrl: pinconf-generic: Remove ti prefix in dev_err messages
    pinctrl: rockchip: Implement .request() and .free() callbacks
    pinctrl: at91: fix get_pullup/down function return
    pinctrl: sh-pfc: remove unnecessary platform_set_drvdata()
    pinctrl: Add s5pv210 support to pinctrl-exynos
    pinctrl: utils: include export.h to avoid warnings
    pinctrl: s3c24xx: off by one in s3c24xx_eint_init()
    pinctrl: mvebu: testing the wrong variable
    pinctrl: abx500: fix bitwise AND test
    pinctrl: mvebu: Convert to use devm_ioremap_resource
    pinctrl: Pass all configs to driver on pin_config_set()
    pinctrl: tz1090-pdc: Convert to devm_ioremap_resource
    pinctrl: tz1090: Convert to devm_ioremap_resource
    pinctrl: tegra: Convert to devm_ioremap_resource
    pinctrl: rockchip: Simplify pin_to_bank equation
    pinctrl: spear: Convert to devm_ioremap_resource
    pinctrl: rockchip: Remove of_match_ptr macro for DT only driver
    pinctrl: palmas: PINCTRL_PALMAS needs to select PINMUX
    ...

    Linus Torvalds
     

04 Sep, 2013

9 commits

  • Pull timer changes from Ingo Molnar:
    "Various clocksource driver updates: extend the core with memory mapped
    hardware (mmio) support and add new (ARM) Moxart SoC and sun4i
    hardware support"

    * 'timers-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: (23 commits)
    clocksource: arch_timer: Add support for memory mapped timers
    clocksource: arch_timer: Push the read/write wrappers deeper
    Documentation: Add memory mapped ARM architected timer binding
    clocksource: arch_timer: Pass clock event to set_mode callback
    clocksource: arch_timer: Make register accessors less error-prone
    ARM: clocksource: moxart: documentation: Update device tree bindings document
    ARM: clocksource: moxart: Add bitops.h include
    ARM: clocksource: moxart: documentation: Fix device tree bindings document
    ARM: clocksource: Add support for MOXA ART SoCs
    clocksource: cadence_ttc: Reuse clocksource as sched_clock
    clocksource: cadence_ttc: Remove unused header
    clocksource: sun4i: Fix bug when switching from periodic to oneshot modes
    clocksource: sun4i: Cleanup parent clock setup
    clocksource: sun4i: Remove TIMER_SCAL variable
    clocksource: sun4i: Factor out some timer code
    clocksource: sun4i: Fix the next event code
    clocksource: sun4i: Don't forget to enable the clock we use
    clocksource: sun4i: Add clocksource and sched clock drivers
    clocksource: sun4i: rename AUTORELOAD define to RELOAD
    clocksource: sun4i: Wrap macros arguments in parenthesis
    ...

    Linus Torvalds
     
  • Manual trigger for events missed as a result of splitting a
    scatter gather list and DMA'ing it in batches. Add a helper
    function to trigger a channel incase any such events are missed.

    Signed-off-by: Joel Fernandes
    Acked-by: Sekhar Nori
    Signed-off-by: Vinod Koul

    Joel Fernandes
     
  • Pull pwm changes from Thierry Reding:
    "A set of patches makes the device tree documentation for the various
    PWM drivers more consistent. Device tree support is added to the
    Renesas TPU driver. The sysfs interface now makes use of dev_groups.
    Other than that there is a healthy assortment of fixes and
    enhancements for minor issues that have shown up"

    * tag 'for-3.12-rc1' of git://gitorious.org/linux-pwm/linux-pwm:
    pwm: pxa: Use module_platform_driver
    pwm: tiehrpwm: add missing __iomem annotation
    pwm: tiecap: add CONFIG_PM_SLEEP to ecap_pwm_{save,restore}_context()
    pwm: simplify use of devm_ioremap_resource
    pwm: renesas-tpu: Add DT support
    ARM: dts: Use the PWM polarity flags
    pwm: Update DT bindings to reference pwm.txt for cells documentation
    pwm: Use the DT macro directly when parsing PWM DT flags
    pwm: Add PWM polarity flag macro for DT
    pwm: mxs: Check the return value from stmp_reset_block()
    pwm: convert class code to use dev_groups

    Linus Torvalds
     
  • Pull PCI changes from Bjorn Helgaas:

    PCI device hotplug:
    - Use PCIe native hotplug, not ACPI hotplug, when possible (Neil Horman)
    - Assign resources on per-host bridge basis (Yinghai Lu)

    MPS (Max Payload Size):
    - Allow larger MPS settings below hotplug-capable Root Port (Yijing Wang)
    - Add warnings about unsafe MPS settings (Yijing Wang)
    - Simplify interface and messages (Bjorn Helgaas)

    SR-IOV:
    - Return -ENOSYS on non-SR-IOV devices (Stefan Assmann)
    - Update NumVFs register when disabling SR-IOV (Yijing Wang)

    Virtualization:
    - Add bus and slot reset support (Alex Williamson)
    - Fix ACS (Access Control Services) issues (Alex Williamson)

    Miscellaneous:
    - Simplify PCIe Capability accessors (Bjorn Helgaas)
    - Add pcibios_pm_ops for arch-specific hibernate stuff (Sebastian Ott)
    - Disable decoding during BAR sizing only when necessary (Zoltan Kiss)
    - Delay enabling bridges until they're needed (Yinghai Lu)
    - Split Designware support into Synopsys and Exynos parts (Jingoo Han)
    - Convert class code to use dev_groups (Greg Kroah-Hartman)
    - Cleanup Designware and Exynos I/O access wrappers (Seungwon Jeon)
    - Fix bridge I/O window alignment (Bjorn Helgaas)
    - Add pci_wait_for_pending_transaction() (Casey Leedom)
    - Use devm_ioremap_resource() in Marvell driver (Tushar Behera)

    * tag 'pci-v3.12-changes' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci: (63 commits)
    PCI/ACPI: Fix _OSC ordering to allow PCIe hotplug use when available
    PCI: exynos: Add I/O access wrappers
    PCI: designware: Drop "addr" arg from dw_pcie_readl_rc()/dw_pcie_writel_rc()
    PCI: Remove pcie_cap_has_devctl()
    PCI: Support PCIe Capability Slot registers only for ports with slots
    PCI: Remove PCIe Capability version checks
    PCI: Allow PCIe Capability link-related register access for switches
    PCI: Add offsets of PCIe capability registers
    PCI: Tidy bitmasks and spacing of PCIe capability definitions
    PCI: Remove obsolete comment reference to pci_pcie_cap2()
    PCI: Clarify PCI_EXP_TYPE_PCI_BRIDGE comment
    PCI: Rename PCIe capability definitions to follow convention
    PCI: Warn if unsafe MPS settings detected
    PCI: Fix MPS peer-to-peer DMA comment syntax
    PCI: Disable decoding for BAR sizing only when it was actually enabled
    PCI: Add comment about needing pci_msi_off() even when CONFIG_PCI_MSI=n
    PCI: Add pcibios_pm_ops for optional arch-specific hibernate functionality
    PCI: Don't restrict MPS for slots below Root Ports
    PCI: Simplify MPS test for Downstream Port
    PCI: Remove unnecessary check for pcie_get_mps() failure
    ...

    Linus Torvalds
     
  • Pull ACPI and power management updates from Rafael Wysocki:

    1) ACPI-based PCI hotplug (ACPIPHP) subsystem rework and introduction
    of Intel Thunderbolt support on systems that use ACPI for signalling
    Thunderbolt hotplug events. This also should make ACPIPHP work in
    some cases in which it was known to have problems. From
    Rafael J Wysocki, Mika Westerberg and Kirill A Shutemov.

    2) ACPI core code cleanups and dock station support cleanups from
    Jiang Liu and Rafael J Wysocki.

    3) Fixes for locking problems related to ACPI device hotplug from
    Rafael J Wysocki.

    4) ACPICA update to version 20130725 includig fixes, cleanups, support
    for more than 256 GPEs per GPE block and a change to make the ACPI
    PM Timer optional (we've seen systems without the PM Timer in the
    field already). One of the fixes, related to the DeRefOf operator,
    is necessary to prevent some Windows 8 oriented AML from causing
    problems to happen. From Bob Moore, Lv Zheng, and Jung-uk Kim.

    5) Removal of the old and long deprecated /proc/acpi/event interface
    and related driver changes from Thomas Renninger.

    6) ACPI and Xen changes to make the reduced hardware sleep work with
    the latter from Ben Guthro.

    7) ACPI video driver cleanups and a blacklist of systems that should
    not tell the BIOS that they are compatible with Windows 8 (or ACPI
    backlight and possibly other things will not work on them). From
    Felipe Contreras.

    8) Assorted ACPI fixes and cleanups from Aaron Lu, Hanjun Guo,
    Kuppuswamy Sathyanarayanan, Lan Tianyu, Sachin Kamat, Tang Chen,
    Toshi Kani, and Wei Yongjun.

    9) cpufreq ondemand governor target frequency selection change to
    reduce oscillations between min and max frequencies (essentially,
    it causes the governor to choose target frequencies proportional
    to load) from Stratos Karafotis.

    10) cpufreq fixes allowing sysfs attributes file permissions to be
    preserved over suspend/resume cycles Srivatsa S Bhat.

    11) Removal of Device Tree parsing for CPU device nodes from multiple
    cpufreq drivers that required some changes related to
    of_get_cpu_node() to be made in a few architectures and in the
    driver core. From Sudeep KarkadaNagesha.

    12) cpufreq core fixes and cleanups related to mutual exclusion and
    driver module references from Viresh Kumar, Lukasz Majewski and
    Rafael J Wysocki.

    13) Assorted cpufreq fixes and cleanups from Amit Daniel Kachhap,
    Bartlomiej Zolnierkiewicz, Hanjun Guo, Jingoo Han, Joseph Lo,
    Julia Lawall, Li Zhong, Mark Brown, Sascha Hauer, Stephen Boyd,
    Stratos Karafotis, and Viresh Kumar.

    14) Fixes to prevent race conditions in coupled cpuidle from happening
    from Colin Cross.

    15) cpuidle core fixes and cleanups from Daniel Lezcano and
    Tuukka Tikkanen.

    16) Assorted cpuidle fixes and cleanups from Daniel Lezcano,
    Geert Uytterhoeven, Jingoo Han, Julia Lawall, Linus Walleij,
    and Sahara.

    17) System sleep tracing changes from Todd E Brandt and Shuah Khan.

    18) PNP subsystem conversion to using struct dev_pm_ops for power
    management from Shuah Khan.

    * tag 'pm+acpi-3.12-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm: (217 commits)
    cpufreq: Don't use smp_processor_id() in preemptible context
    cpuidle: coupled: fix race condition between pokes and safe state
    cpuidle: coupled: abort idle if pokes are pending
    cpuidle: coupled: disable interrupts after entering safe state
    ACPI / hotplug: Remove containers synchronously
    driver core / ACPI: Avoid device hot remove locking issues
    cpufreq: governor: Fix typos in comments
    cpufreq: governors: Remove duplicate check of target freq in supported range
    cpufreq: Fix timer/workqueue corruption due to double queueing
    ACPI / EC: Add ASUSTEK L4R to quirk list in order to validate ECDT
    ACPI / thermal: Add check of "_TZD" availability and evaluating result
    cpufreq: imx6q: Fix clock enable balance
    ACPI: blacklist win8 OSI for buggy laptops
    cpufreq: tegra: fix the wrong clock name
    cpuidle: Change struct menu_device field types
    cpuidle: Add a comment warning about possible overflow
    cpuidle: Fix variable domains in get_typical_interval()
    cpuidle: Fix menu_device->intervals type
    cpuidle: CodingStyle: Break up multiple assignments on single line
    cpuidle: Check called function parameter in get_typical_interval()
    ...

    Linus Torvalds
     
  • Pull tty/serial driver patches from Greg KH:
    "Here's the big tty/serial driver pull request for 3.12-rc1.

    Lots of n_tty reworks to resolve some very long-standing issues,
    removing the 3-4 different locks that were taken for every character.
    This code has been beaten on for a long time in linux-next with no
    reported regressions.

    Other than that, a range of serial and tty driver updates and
    revisions. Full details in the shortlog"

    * tag 'tty-3.12-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty: (226 commits)
    hvc_xen: Remove unnecessary __GFP_ZERO from kzalloc
    serial: imx: initialize the local variable
    tty: ar933x_uart: add device tree support and binding documentation
    tty: ar933x_uart: allow to build the driver as a module
    ARM: dts: msm: Update uartdm compatible strings
    devicetree: serial: Document msm_serial bindings
    serial: unify serial bindings into a single dir
    serial: fsl-imx-uart: Cleanup duplicate device tree binding
    tty: ar933x_uart: use config_enabled() macro to clean up ifdefs
    tty: ar933x_uart: remove superfluous assignment of ar933x_uart_driver.nr
    tty: ar933x_uart: use the clk API to get the uart clock
    tty: serial: cpm_uart: Adding proper request of GPIO used by cpm_uart driver
    serial: sirf: fix the amount of serial ports
    serial: sirf: define macro for some magic numbers of USP
    serial: icom: move array overflow checks earlier
    TTY: amiserial, remove unnecessary platform_set_drvdata()
    serial: st-asc: remove unnecessary platform_set_drvdata()
    msm_serial: Send more than 1 character on the console w/ UARTDM
    msm_serial: Add support for non-GSBI UARTDM devices
    msm_serial: Switch clock consumer strings and simplify code
    ...

    Linus Torvalds
     
  • Pull staging tree merge from Greg KH:
    "Here's the bit staging tree pull request for 3.12-rc1.

    Lots of staging driver updates, and fixes. Lustre is finally enabled
    in the build, and lots of cleanup started happening in it. There's a
    new wireless driver in here, and 2 new TTY drivers, which cause the
    overall lines added/removed to be quite large on the "added" side.

    The IIO driver updates are also coming through here, as they are tied
    to the staging iio drivers"

    * tag 'staging-3.12-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging: (942 commits)
    staging: dwc2: make dwc2_core_params documentation more complete
    staging: dwc2: validate the value for phy_utmi_width
    staging: dwc2: interpret all hwcfg and related register at init time
    staging: dwc2: properly mask the GRXFSIZ register
    staging: dwc2: remove redundant register reads
    staging: dwc2: re-use hptxfsiz variable
    staging: dwc2: simplify debug output in dwc_hc_init
    staging: dwc2: add missing shift
    staging: dwc2: simplify register shift expressions
    staging: dwc2: only read the snpsid register once
    staging: dwc2: unshift non-bool register value constants
    staging: dwc2: fix off-by-one in check for max_packet_count parameter
    staging: dwc2: remove specific fifo size constants
    Staging:BCM:DDRInit.c:Renaming __FUNCTION__
    staging: bcm: remove Version.h file.
    staging: rtl8188eu: off by one in rtw_set_802_11_add_wep()
    staging: r8188eu: copying one byte too much
    staging: rtl8188eu: || vs && typo
    staging: r8188eu: off by one bugs
    staging: crystalhd: Resolve sparse 'different base types' warnings.
    ...

    Linus Torvalds
     
  • Pull driver core patches from Greg KH:
    "Here's the big driver core pull request for 3.12-rc1.

    Lots of tiny changes here fixing up the way sysfs attributes are
    created, to try to make drivers simpler, and fix a whole class race
    conditions with creations of device attributes after the device was
    announced to userspace.

    All the various pieces are acked by the different subsystem
    maintainers"

    * tag 'driver-core-3.12-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core: (119 commits)
    firmware loader: fix pending_fw_head list corruption
    drivers/base/memory.c: introduce help macro to_memory_block
    dynamic debug: line queries failing due to uninitialized local variable
    sysfs: sysfs_create_groups returns a value.
    debugfs: provide debugfs_create_x64() when disabled
    rbd: convert bus code to use bus_groups
    firmware: dcdbas: use binary attribute groups
    sysfs: add sysfs_create/remove_groups for when SYSFS is not enabled
    driver core: add #include to core files.
    HID: convert bus code to use dev_groups
    Input: serio: convert bus code to use drv_groups
    Input: gameport: convert bus code to use drv_groups
    driver core: firmware: use __ATTR_RW()
    driver core: core: use DEVICE_ATTR_RO
    driver core: bus: use DRIVER_ATTR_WO()
    driver core: create write-only attribute macros for devices and drivers
    sysfs: create __ATTR_WO()
    driver-core: platform: convert bus code to use dev_groups
    workqueue: convert bus code to use dev_groups
    MEI: convert bus code to use dev_groups
    ...

    Linus Torvalds
     
  • Pull USB patches from Greg KH:
    "Here's the big USB driver pull request for 3.12-rc1

    Lots of USB driver fixes and updates. Nothing major, just the normal
    xhci, gadget, and other driver changes. Full details in the shortlog"

    * tag 'usb-3.12-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb: (352 commits)
    usbcore: fix incorrect type in assignment in descriptors_changed()
    usbcore: compare and release one bos descriptor in usb_reset_and_verify_device()
    ehci: remove debugging statement with ehci statistics in ehci_stop()
    ehci: remove duplicate debug_async_open() prototype in ehci-dbg.c
    ehci: enable debugging code when CONFIG_DYNAMIC_DEBUG is set
    ehci: remove ehci_vdbg() verbose debugging statements
    Documentation sysfs-bus-usb: Document which files are used by libusb
    Documentation sysfs-bus-usb: Document the speed file used by libusb
    Documentation sysfs-bus-usb: Move files with known users to stable
    USB: fix build error when CONFIG_PM_SLEEP isn't enabled
    usb: r8a66597-hcd: use platform_{get,set}_drvdata()
    usb: phy-tegra-usb: use platform_{get,set}_drvdata()
    usb: acm gadget: Null termintate strings table
    dma: cppi41: off by one in desc_to_chan()
    xhci: Fix warning introduced by disabling runtime PM.
    dev-core: fix build break when DEBUG is enabled
    USB: OHCI: Allow runtime PM without system sleep
    usb: ohci-at91: remove unnecessary dev_set_drvdata()
    usb: renesas_usbhs: use platform_{get,set}_drvdata()
    usb: fotg210-udc: use platform_{get,set}_drvdata()
    ...

    Linus Torvalds