Skip to content
  1. Jul 13, 2014
    • Olof Johansson's avatar
      Merge tag 'renesas-soc3-for-v3.17' of... · 65d3977b
      Olof Johansson authored
      
      Merge tag 'renesas-soc3-for-v3.17' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas into next/soc
      
      Merge "Third Round of Renesas ARM Based SoC Updates for v3.17" from Simon
      Horman:
      
      - Correct build failure in APMU code in the case of !SUSPEND
      
      * tag 'renesas-soc3-for-v3.17' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas:
        ARM: shmobile: fix shmobile_smp_apmu_suspend_init build failure for !SUSPEND
      
      Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
      65d3977b
    • Olof Johansson's avatar
      Merge tag 'renesas-soc2-for-v3.17' of... · e87d10b2
      Olof Johansson authored
      
      Merge tag 'renesas-soc2-for-v3.17' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas into next/soc
      
      Merge "Second Round of Renesas ARM Based SoC Updates for v3.17" from Simon
      Horman:
      
      * Suspend on non-SMP update for r8a7790
      * Move r8a7791.h out of mach directory.
        This is part of a multi-stage effort to move headers
        out of that directory.
      
      * tag 'renesas-soc2-for-v3.17' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas:
        ARM: shmobile: Allow r8a7791 to build non-SMP APMU code
        ARM: shmobile: Move r8a7791 reset code to pm-r8a7791.c
        ARM: shmobile: Allow r8a7790 to build non-SMP APMU code
        ARM: shmobile: Move r8a7790 reset code to pm-r8a7790.c
        ARM: shmobile: Use __init for APMU suspend init function
        ARM: shmobile: Adjust APMU code to build for non-SMP
        ARM: shmobile: Allow use of boot code for non-SMP case
        ARM: shmobile: Move r8a7791.h
      
      Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
      e87d10b2
    • Olof Johansson's avatar
      Merge branch 'renesas/cleanup2' into next/soc · e1ddcdef
      Olof Johansson authored
      Merging in as base to resolve a merge conflict with later soc branch
      locally.
      e1ddcdef
    • Olof Johansson's avatar
      Merge tag 'renesas-r8a7779-multiplatform2-for-v3.17' of... · edf4f16f
      Olof Johansson authored
      
      Merge tag 'renesas-r8a7779-multiplatform2-for-v3.17' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas into next/soc
      
      Merge "Second Round of Renesas ARM Based SoC r8a7779-multiplatform
      Updates for v3.17" from Simon Horman:
      
      - Move r8a7779.h out of mach directory.
        This is part of a multi-stage effort to move headers
        out of that directory.
      
      * tag 'renesas-r8a7779-multiplatform2-for-v3.17' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas:
        ARM: shmobile: Move r8a7779.h
      
      Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
      edf4f16f
  2. Jul 08, 2014
    • Olof Johansson's avatar
      Merge tag 'berlin-soc-3.17-1' of git://git.infradead.org/users/hesselba/linux-berlin into next/soc · 3ae22f4d
      Olof Johansson authored
      
      
      Merge "Berlin SoC changes for v3.17" from Sebastian Hesselbarth:
      
      - SMP support for BG2 and BG2Q
      
      * tag 'berlin-soc-3.17-1' of git://git.infradead.org/users/hesselba/linux-berlin:
        ARM: berlin: add SMP support
      
      Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
      3ae22f4d
    • Olof Johansson's avatar
      Merge tag 'mvebu-soc-3.17' of git://git.infradead.org/linux-mvebu into next/soc · b3c20e98
      Olof Johansson authored
      
      
      Merge "mvebu SoC changes for v3.17" from Jason Cooper:
      
      - kirkwood
        * add setup file for netxbig LEDs (non-trivial DT binding doesn't exist yet)
      
      - mvebu
        * staticize where needed
        * add CPU hotplug for Armada XP
        * add public datasheet for Armada 370
        * don't apply thermal quirk by default
        * get SoC ID from the system controller when possible
      
      * tag 'mvebu-soc-3.17' of git://git.infradead.org/linux-mvebu:
        ARM: mvebu: Staticize mvebu_cpu_reset_init
        ARM: mvebu: Staticize armada_370_xp_cpu_pm_init
        ARM: mvebu: Staticize armada_375_smp_cpu1_enable_wa
        ARM: mvebu: Use system controller to get the soc id when possible
        ARM: mvebu: Use the a standard errno in mvebu_get_soc_id
        ARM: mvebu: Don't apply the thermal quirk if the SoC revision is unknown
        Documentation: arm: add URLs to public datasheets for the Marvell Armada 370 SoC
        ARM: mvebu: implement CPU hotplug support for Armada XP
        ARM: mvebu: export PMSU idle enter/exit functions
        ARM: mvebu: slightly refactor/rename PMSU idle related functions
        ARM: mvebu: remove stub implementation of CPU hotplug on Armada 375/38x
        ARM: Kirkwood: Add setup file for netxbig LEDs
        ARM: mvebu: mark armada_370_xp_pmsu_idle_prepare() as static
      
      Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
      b3c20e98
    • Olof Johansson's avatar
      Merge tag 'renesas-soc-for-v3.17' of... · 98abaf13
      Olof Johansson authored
      
      Merge tag 'renesas-soc-for-v3.17' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas into next/soc
      
      Merge "Renesas ARM Based SoC Updates for v3.17" from Simon Horman:
      
      - Use shmobile_init_late on r8a7791 and r8a7790 whien booting using DT-only
      - Support Core-Standby for Suspend to RAM on r8a7791 and r8a7790 SoCs
      - Shared CMA reservation for R-Car Gen2 SoCs
      - Add r8a7791 SYSC power management support
      
      * tag 'renesas-soc-for-v3.17' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas:
        ARM: shmobile: Remove ARCH_HAS_CPUFREQ config for shmobile
        ARM: shmobile: rcar-gen2: update call to dma_contiguous_reserve_area
        ARM: shmobile: rcar-gen2: correct return value of shmobile_smp_apmu_suspend_init
        ARM: shmobile: rcar-gen2: Remove useless copied section for LongTrail
        ARM: shmobile: rcar-gen2: Use "1ULL" instead of "(u64)1"
        ARM: shmobile: rcar-gen2: Update for of_get_flat_dt_prop() update
        ARM: shmobile: Add shared R-Car Gen2 CMA reservation code
        ARM: shmobile: Use shmobile_init_late() on r8a7791 DT-only
        ARM: shmobile: Use shmobile_init_late() on r8a7790 DT-only
        ARM: shmobile: Mark all SoCs in shmobile as CPUFreq, capable
        ARM: shmobile: r8a7791: Support Core-Standby for Suspend to RAM
        ARM: shmobile: r8a7790: Support Core-Standby for Suspend to RAM
        ARM: shmobile: APMU: Add Core-Standby-state for Suspend to RAM
        ARM: shmobile: r8a7791 SYSC setup code
      
      Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
      98abaf13
    • Olof Johansson's avatar
      Merge tag 'versatile-for-3.17' of... · 12af7011
      Olof Johansson authored
      
      Merge tag 'versatile-for-3.17' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux into next/soc
      
      Merge "DT IRQ and clock support for Versatile platforms" from Rob Herring.
      
      This branch moves IRQ and clock support over to DT for the versatile
      platforms.
      
      * tag 'versatile-for-3.17' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux:
        clk: versatile: add versatile OSC support
        dts: versatile: add clock tree
        ARM: timer-sp: allow getting timer1 clock from DT to fallback to legacy clock
        dt/bindings: add compatible string for versatile osc clock
        dt/bindings: arm-boards: add binding for Versatile core module
        dts: versatile: add pl180 compatible strings
        ARM: versatile: remove init_irq hook for DT boot
        ARM: integrator: convert to use irqchip_init
        irqchip: versatile-fpga: add support for arm,versatile-sic
        irqchip: versatile-fpga: Add IRQCHIP_DECLARE support
        dts: versatile: add missing irq controller properties
      
      Tested-by: default avatarLinus Walleij <linus.walleij@linaro.org>
      Acked-by: default avatarJason Cooper <jason@lakedaemon.net>
      Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
      12af7011
  3. Jul 07, 2014
    • Olof Johansson's avatar
      Merge tag 'tegra-for-3.17-delay-timer' of... · b040614c
      Olof Johansson authored
      
      Merge tag 'tegra-for-3.17-delay-timer' of git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux into next/soc
      
      Merge "ARM: tegra: use us counter as delay timer" from Stephen Warren:
      
      Tegra has a micro-second counter whose rate doesn't vary with cpufreq
      changes. Register it so it can be used as the delay timer, so delays
      aren't influenced by cpufreq.
      
      * tag 'tegra-for-3.17-delay-timer' of git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux:
        clocksource: tegra: Use us counter as delay timer
        ARM: choose highest resolution delay timer
        kernel: add calibration_delay_done()
      
      Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
      b040614c
    • Olof Johansson's avatar
      Merge tag 'renesas-r8a7779-multiplatform-for-v3.17' of... · 21760aed
      Olof Johansson authored
      
      Merge tag 'renesas-r8a7779-multiplatform-for-v3.17' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas into next/soc
      
      Pull "Renesas ARM Based SoC r8a7779-multiplatform Updates for v3.17" from
      Simon Horman:
      
      Move r8a7779 SoC and its Marzen board to use common clocks,
      multiplatform and initialise SCIF (serial) devices using DT.
      
      * tag 'renesas-r8a7779-multiplatform-for-v3.17' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas: (32 commits)
        ARM: shmobile: marzen: Do not use workaround for scif devices
        ARM: shmobile: marzen: Initialise SCIF devices using DT
        ARM: shmobile: marzen: Remove early_printk from command line
        ARM: shmobile: r8a7779: Add scif nodes to dtsi
        ARM: shmobile: r8a7779 dtsi: Correct #address-cells/#size-cells for clocks
        ARM: shmobile: r8a7779 dtsi: Update unit-addresses for clocks
        ARM: shmobile: r8a7779: Remove unused r8a7779_init_delay()
        ARM: shmobile: marzen-reference: Use DT CPU Frequency
        ARM: shmobile: r8a7779: Use DT CPU Frequency in common case
        ARM: shmobile: r8a7779: Add Maximum CPU Frequency to DTS
        ARM: shmobile: marzen-reference: Remove legacy clock support
        ARM: shmobile: Remove Marzen reference DTS
        ARM: shmobile: Let Marzen multiplatform boot with Marzen DTB
        ARM: shmobile: Remove non-multiplatform Marzen reference support
        ARM: shmobile: marzen-reference: Instantiate clkdevs for SCIF and TMU
        ARM: shmobile: marzen-reference: Initialize CPG device
        ARM: shmobile: r8a7779: Initial multiplatform support
        ARM: shmobile: marzen-reference: Move clock and OF device initialisation into board code
        ARM: shmobile: r8a7779: Move r8a7779_earlytimer_init to clock-r8a7779.c
        ARM: shmobile: r8a7779: Add helper to read mode pins
        ...
      
      Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
      21760aed
    • Olof Johansson's avatar
      Merge tag 'renesas-cpufreq-for-v3.17' of... · 5bf521b8
      Olof Johansson authored
      
      Merge tag 'renesas-cpufreq-for-v3.17' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas into next/soc
      
      Merge "Renesas ARM Based SoC Cpufreq Updates for v3.17" from Simon Horman
      
      * Add cpufreq-cpu0 device registration
      
      * tag 'renesas-cpufreq-for-v3.17' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas:
        ARM: shmobile: add cpufreq-cpu0 driver for common SH-Mobile
      
      Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
      5bf521b8
    • Olof Johansson's avatar
      Merge tag 'renesas-clock-for-v3.17' of... · 9e205f02
      Olof Johansson authored
      
      Merge tag 'renesas-clock-for-v3.17' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas into next/soc
      
      Merge "Renesas ARM Based SoC Clock Updates for v3.17" from Simon Horman:
      
      - Fix device node reference leakage in shmobile_init_delay
      
      * tag 'renesas-clock-for-v3.17' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas:
        ARM: shmobile: Fix device node reference leakage in shmobile_init_delay
      
      Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
      9e205f02
  4. Jul 06, 2014
  5. Jul 01, 2014
  6. Jun 30, 2014
  7. Jun 29, 2014
    • Will Deacon's avatar
      ARM: 8087/1: ptrace: reload syscall number after secure_computing() check · 42309ab4
      Will Deacon authored
      
      
      On the syscall tracing path, we call out to secure_computing() to allow
      seccomp to check the syscall number being attempted. As part of this, a
      SIGTRAP may be sent to the tracer and the syscall could be re-written by
      a subsequent SET_SYSCALL ptrace request. Unfortunately, this new syscall
      is ignored by the current code unless TIF_SYSCALL_TRACE is also set on
      the current thread.
      
      This patch slightly reworks the enter path of the syscall tracing code
      so that we always reload the syscall number from
      current_thread_info()->syscall after the potential ptrace traps.
      
      Acked-by: default avatarKees Cook <keescook@chromium.org>
      Tested-by: default avatarKees Cook <keescook@chromium.org>
      Signed-off-by: default avatarWill Deacon <will.deacon@arm.com>
      Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
      42309ab4
    • Laura Abbott's avatar
      ARM: 8086/1: Set memblock limit for nommu · 6980c3e2
      Laura Abbott authored
      Commit 1c2f87c2
      
       (ARM: 8025/1: Get rid of meminfo) changed find_limits
      to use memblock_get_current_limit for calculating the max_low pfn.
      nommu targets never actually set a limit on memblock though which
      means memblock_get_current_limit will just return the default
      value. Set the memblock_limit to be the end of DDR to make sure
      bounds are calculated correctly.
      
      Signed-off-by: default avatarLaura Abbott <lauraa@codeaurora.org>
      Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
      6980c3e2
    • Andrea Adami's avatar
      ARM: 8085/1: sa1100: collie: add top boot mtd partition · 3abe7423
      Andrea Adami authored
      
      
      The CFI mapping is now perfect so we can expose the top block, read only.
      There isn't much to read, though, just the sharpsl_params values.
      
      Signed-off-by: default avatarAndrea Adami <andrea.adami@gmail.com>
      Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
      3abe7423
    • Andrea Adami's avatar
      ARM: 8084/1: sa1100: collie: revert back to cfi_probe · 92183103
      Andrea Adami authored
      Reverts commit d26b17ed
      
      
      ARM: sa1100: collie.c: fall back to jedec_probe flash detection
      
      Unfortunately the detection was challenged on the defective unit used for tests:
      one of the NOR chips did not respond to the CFI query.
      Moreover that bad device needed extra delays on erase-suspend/resume cycles.
      
      Tested personally on 3 different units and with feedback of two other users.
      
      Signed-off-by: default avatarAndrea Adami <andrea.adami@gmail.com>
      Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
      92183103
    • Nicolas Pitre's avatar
      ARM: 8080/1: mcpm.h: remove unused variable declaration · d0ba7cc0
      Nicolas Pitre authored
      
      
      The sync_phys variable has been replaced by link time computation in
      mcpm_head.S before the code was submitted upstream.
      
      Signed-off-by: default avatarNicolas Pitre <nico@linaro.org>
      Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
      d0ba7cc0
    • Thomas Petazzoni's avatar
      ARM: 8076/1: mm: add support for HW coherent systems in PL310 cache · 98ea2dba
      Thomas Petazzoni authored
      
      
      When a PL310 cache is used on a system that provides hardware
      coherency, the outer cache sync operation is useless, and can be
      skipped. Moreover, on some systems, it is harmful as it causes
      deadlocks between the Marvell coherency mechanism, the Marvell PCIe
      controller and the Cortex-A9.
      
      To avoid this, this commit introduces a new Device Tree property
      'arm,io-coherent' for the L2 cache controller node, valid only for the
      PL310 cache. It identifies the usage of the PL310 cache in an I/O
      coherent configuration. Internally, it makes the driver disable the
      outer cache sync operation.
      
      Note that technically speaking, a fully coherent system wouldn't
      require any of the other .outer_cache operations. However, in
      practice, when booting secondary CPUs, these are not yet coherent, and
      therefore a set of cache maintenance operations are necessary at this
      point. This explains why we keep the other .outer_cache operations and
      only ->sync is disabled.
      
      While in theory any write to a PL310 register could cause the
      deadlock, in practice, disabling ->sync is sufficient to workaround
      the deadlock, since the other cache maintenance operations are only
      used in very specific situations.
      
      Contrary to previous versions of this patch, this new version does not
      simply NULL-ify the ->sync member, because the l2c_init_data
      structures are now 'const' and therefore cannot be modified, which is
      a good thing. Therefore, this patch introduces a separate
      l2c_init_data instance, called of_l2c310_coherent_data.
      
      Signed-off-by: default avatarThomas Petazzoni <thomas.petazzoni@free-electrons.com>
      Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
      98ea2dba
    • Linus Torvalds's avatar
      Merge tag 'spi-v3.16-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi · 24b414d5
      Linus Torvalds authored
      Pull spi fixes from Mark Brown:
       "A few driver specific fixes, the biggest one being a fix for the newly
        added Qualcomm SPI controller driver to make it not use its internal
        chip select due to hardware bugs, replacing it with GPIOs"
      
      * tag 'spi-v3.16-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi:
        spi: qup: Remove chip select function
        spi: qup: Fix order of spi_register_master
        spi: sh-sci: fix use-after-free in sh_sci_spi_remove()
        spi/pxa2xx: fix incorrect SW mode chipselect setting for BayTrail LPSS SPI
      24b414d5
    • Linus Torvalds's avatar
      Merge tag 'regulator-v3.16-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator · 4194976b
      Linus Torvalds authored
      Pull regulator fixes from Mark Brown:
       "Several driver specific fixes here, the palmas fixes being especially
        important for a range of boards - the recent updates to support new
        devices have introduced several regressions"
      
      * tag 'regulator-v3.16-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator:
        regulator: tps65218: Correct the the config register for LDO1
        regulator: tps65218: Add the missing of_node assignment in probe
        regulator: palmas: fix typo in enable_reg calculation
        regulator: bcm590xx: fix vbus name
        regulator: palmas: Fix SMPS enable/disable/is_enabled
      4194976b
    • Linus Torvalds's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/nab/target-pending · eb477e03
      Linus Torvalds authored
      Pull SCSI target fixes from Nicholas Bellinger:
       "Mostly minor fixes this time around.  The highlights include:
      
         - iscsi-target CHAP authentication fixes to enforce explicit key
           values (Tejas Vaykole + rahul.rane)
         - fix a long-standing OOPs in target-core when a alua configfs
           attribute is accessed after port symlink has been removed.
           (Sebastian Herbszt)
         - fix a v3.10.y iscsi-target regression causing the login reject
           status class/detail to be ignored (Christoph Vu-Brugier)
         - fix a v3.10.y iscsi-target regression to avoid rejecting an
           existing ITT during Data-Out when data-direction is wrong (Santosh
           Kulkarni + Arshad Hussain)
         - fix a iscsi-target related shutdown deadlock on UP kernels (Mikulas
           Patocka)
         - fix a v3.16-rc1 build issue with vhost-scsi + !CONFIG_NET (MST)"
      
      * git://git.kernel.org/pub/scm/linux/kernel/git/nab/target-pending:
        iscsi-target: fix iscsit_del_np deadlock on unload
        iovec: move memcpy_from/toiovecend to lib/iovec.c
        iscsi-target: Avoid rejecting incorrect ITT for Data-Out
        tcm_loop: Fix memory leak in tcm_loop_submission_work error path
        iscsi-target: Explicily clear login response PDU in exception path
        target: Fix left-over se_lun->lun_sep pointer OOPs
        iscsi-target; Enforce 1024 byte maximum for CHAP_C key value
        iscsi-target: Convert chap_server_compute_md5 to use kstrtoul
      eb477e03
  8. Jun 28, 2014
    • Mark Brown's avatar
    • Mark Brown's avatar
      Merge remote-tracking branches 'regulator/fix/bcm590xx',... · 11767484
      Mark Brown authored
      Merge remote-tracking branches 'regulator/fix/bcm590xx', 'regulator/fix/palmas' and 'regulator/fix/tps65218' into regulator-linus
      11767484
    • Mikulas Patocka's avatar
      iscsi-target: fix iscsit_del_np deadlock on unload · 81a9c5e7
      Mikulas Patocka authored
      On uniprocessor preemptible kernel, target core deadlocks on unload. The
      following events happen:
      * iscsit_del_np is called
      * it calls send_sig(SIGINT, np->np_thread, 1);
      * the scheduler switches to the np_thread
      * the np_thread is woken up, it sees that kthread_should_stop() returns
        false, so it doesn't terminate
      * the np_thread clears signals with flush_signals(current); and goes back
        to sleep in iscsit_accept_np
      * the scheduler switches back to iscsit_del_np
      * iscsit_del_np calls kthread_stop(np->np_thread);
      * the np_thread is waiting in iscsit_accept_np and it doesn't respond to
        kthread_stop
      
      The deadlock could be resolved if the administrator sends SIGINT signal to
      the np_thread with killall -INT iscsi_np
      
      The reproducible deadlock was introduced in commit
      db6077fd
      
      , but the thread-stopping code was
      racy even before.
      
      This patch fixes the problem. Using kthread_should_stop to stop the
      np_thread is unreliable, so we test np_thread_state instead. If
      np_thread_state equals ISCSI_NP_THREAD_SHUTDOWN, the thread exits.
      
      Signed-off-by: default avatarMikulas Patocka <mpatocka@redhat.com>
      Cc: stable@vger.kernel.org
      Signed-off-by: default avatarNicholas Bellinger <nab@linux-iscsi.org>
      81a9c5e7
    • Linus Torvalds's avatar
      Merge tag 'iommu-fixes-v3.16-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu · 3e7b256c
      Linus Torvalds authored
      Pull IOMMU fixes from Joerg Roedel:
      
       - fix VT-d regression with handling multiple RMRR entries per device
      
       - fix a small race that was left in the mmu_notifier handling in the
         AMD IOMMUv2 driver
      
      * tag 'iommu-fixes-v3.16-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu:
        iommu/amd: Fix small race between invalidate_range_end/start
        iommu/vt-d: fix bug in handling multiple RMRRs for the same PCI device
      3e7b256c
    • Linus Torvalds's avatar
      Merge branch 'x86/urgent' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · d1fc98ba
      Linus Torvalds authored
      Pull x86 fixes from Peter Anvin:
       "A pile of fixes related to the VDSO, EFI and 32-bit badsys handling.
      
        It turns out that removing the section headers from the VDSO breaks
        gdb, so this puts back most of them.  A very simple typo broke
        rt_sigreturn on some versions of glibc, with obviously disastrous
        results.  The rest is pretty much fixes for the corresponding fallout.
      
        The EFI fixes fixes an arithmetic overflow on 32-bit systems and
        quiets some build warnings.
      
        Finally, when invoking an invalid system call number on x86-32, we
        bypass a bunch of handling, which can make the audit code oops"
      
      * 'x86/urgent' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        efi-pstore: Fix an overflow on 32-bit builds
        x86/vdso: Error out in vdso2c if DT_RELA is present
        x86/vdso: Move DISABLE_BRANCH_PROFILING into the vdso makefile
        x86_32, signal: Fix vdso rt_sigreturn
        x86_32, entry: Do syscall exit work on badsys (CVE-2014-4508)
        x86/vdso: Create .build-id links for unstripped vdso files
        x86/vdso: Remove some redundant in-memory section headers
        x86/vdso: Improve the fake section headers
        x86/vdso2c: Use better macros for ELF bitness
        x86/vdso: Discard the __bug_table section
        efi: Fix compiler warnings (unused, const, type)
      d1fc98ba
    • Linus Torvalds's avatar
      Merge branch 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus · c9a60666
      Linus Torvalds authored
      Pull MIPS fixes from Ralf Baechle:
       "This is dominated by a large number of changes necessary for the MIPS
        BPF code.  code.  Aside of that there are
      
         - a fix for the MSC system controller support code.
         - a Turbochannel fix.
         - a recordmcount fix that's MIPS-specific.
         - barrier fixes to smp-cps / pm-cps after unrelated changes elsewhere
           in the kernel.
         - revert support for MSA registers in the signal frames.  The
           reverted patch did modify the signal stack frame which of course is
           inacceptable.
         - fix math-emu build breakage with older compilers.
         - some related cleanup.
         - fix Lasat build error if CONFIG_CRC32 isn't set to y by the user"
      
      * 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus: (27 commits)
        MIPS: Lasat: Fix build error if CRC32 is not enabled.
        TC: Handle device_register() errors.
        MIPS: MSC: Prevent out-of-bounds writes to MIPS SC ioremap'd region
        MIPS: bpf: Fix stack space allocation for BPF memwords on MIPS64
        MIPS: BPF: Use 32 or 64-bit load instruction to load an address to register
        MIPS: bpf: Fix PKT_TYPE case for big-endian cores
        MIPS: BPF: Prevent kernel fall over for >=32bit shifts
        MIPS: bpf: Drop update_on_xread and always initialize the X register
        MIPS: bpf: Fix is_range() semantics
        MIPS: bpf: Use pr_debug instead of pr_warn for unhandled opcodes
        MIPS: bpf: Fix return values for VLAN_TAG_PRESENT case
        MIPS: bpf: Use correct mask for VLAN_TAG case
        MIPS: bpf: Fix branch conditional for BPF_J{GT/GE} cases
        MIPS: bpf: Add SEEN_SKB to flags when looking for the PKT_TYPE
        MIPS: bpf: Use 'andi' instead of 'and' for the VLAN cases
        MIPS: bpf: Return error code if the offset is a negative number
        MIPS: bpf: Use the LO register to get division's quotient
        MIPS: mm: uasm: Fix lh micro-assembler instruction
        MIPS: uasm: Add SLT uasm instruction
        MIPS: uasm: Add s3s1s2 instruction builder
        ...
      c9a60666
    • Linus Torvalds's avatar
      Merge tag 'arc-fixes-for-3.16' of git://git.kernel.org/pub/scm/linux/kernel/git/vgupta/arc · 1857a5b6
      Linus Torvalds authored
      Pull ARC fixes from Vineet Gupta:
       "Some SMP changes, a ptrace request for NPTL debugging, bunch of build
        breakages/warnings"
      
      * tag 'arc-fixes-for-3.16' of git://git.kernel.org/pub/scm/linux/kernel/git/vgupta/arc:
        ARC: [SMP] Enable icache coherency
        ARC: [SMP] Fix IPI IRQ registration
        ARC: Implement ptrace(PTRACE_GET_THREAD_AREA)
        ARC: optimize kernel bss clearing in early boot code
        ARC: Fix build breakage for !CONFIG_ARC_DW2_UNWIND
        ARC: fix build warning in devtree
        ARC: remove checks for CONFIG_ARC_MMU_V4
      1857a5b6
    • Linus Torvalds's avatar
      Merge tag 'compress-3.16-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core · 8dd68eb3
      Linus Torvalds authored
      Pull compress bugfix from Greg KH:
       "Here is another lz4 bugfix for 3.16-rc3 that resolves a reported issue
        with that compression algorithm"
      
      * tag 'compress-3.16-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core:
        lz4: fix another possible overrun
      8dd68eb3
    • Linus Torvalds's avatar
      Merge tag 'stable/for-linus-3.16-rc1-tag' of... · 772205d8
      Linus Torvalds authored
      Merge tag 'stable/for-linus-3.16-rc1-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/konrad/swiotlb
      
      Pull swiotlb bugfix from Konrad Rzeszutek Wilk:
       "One bug-fix that had been in tree for quite some time.  We had assumed
        that the physical address zero was invalid and would fail it.  But
        that is not true and on some architectures it is not reserved and
        valid.  This fixes it"
      
      * tag 'stable/for-linus-3.16-rc1-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/konrad/swiotlb:
        swiotlb: don't assume PA 0 is invalid
      772205d8