1. 14 Sep, 2016 1 commit
  2. 09 Sep, 2016 4 commits
    • Arnd Bergmann's avatar
      Merge tag 'sti-dt-fixes-for-v4.8-rcs' of... · 56fe27be
      Arnd Bergmann authored
      Merge tag 'sti-dt-fixes-for-v4.8-rcs' of git://git.kernel.org/pub/scm/linux/kernel/git/pchotard/sti into fixes
      
      Pull "Handle STiH410 interconnect clock required for EHCI/OHCI and SDHCI" from Patrice Chotard:
      
      With the introduction of critical-clock support in v4.8, our developers'
      default configuration is to run with 'clk_ignore_unused' removed.  This
      patch-set ensures they can achieve successful boot when a) booting from
      an SD Card and when b) booting using USB->Eth adaptors for NFS booting.
      
      * tag 'sti-dt-fixes-for-v4.8-rcs' of git://git.kernel.org/pub/scm/linux/kernel/git/pchotard/sti:
        ARM: dts: STiH407-family: Provide interconnect clock for consumption in ST SDHCI
        ARM: dts: STiH410: Handle interconnect clock required by EHCI/OHCI (USB)
      56fe27be
    • Arnd Bergmann's avatar
      Merge tag 'renesas-fixes-for-v4.8' of... · d31449a5
      Arnd Bergmann authored
      Merge tag 'renesas-fixes-for-v4.8' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas into fixes
      
      Merge "Renesas ARM Based SoC Fixes for v4.8" from Simon Horman:
      
      * Correct R-Car Gen2 regulator quirk
      
      * tag 'renesas-fixes-for-v4.8' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas:
        ARM: shmobile: fix regulator quirk for Gen2
      d31449a5
    • Ian Campbell's avatar
      ARM64: dts: bcm: Use a symlink to R-Pi dtsi files from arch=arm · 76aa7591
      Ian Campbell authored
      The ../../../arm... style cross-references added by commit 9d56c22a
      ("ARM: bcm2835: Add devicetree for the Raspberry Pi 3.") do not work in the
      context of the split device-tree repository[0] (where the directory
      structure differs). As with commit 8ee57b81 ("ARM64: dts: vexpress: Use
      a symlink to vexpress-v2m-rs1.dtsi from arch=arm") use symlinks instead.
      
      [0] https://git.kernel.org/cgit/linux/kernel/git/devicetree/devicetree-rebasing.git/Signed-off-by: default avatarIan Campbell <ijc@hellion.org.uk>
      Acked-by: default avatarMark Rutland <mark.rutland@arm.com>
      Cc: Catalin Marinas <catalin.marinas@arm.com>
      Cc: Will Deacon <will.deacon@arm.com>
      Cc: Mark Rutland <mark.rutland@arm.com>
      Cc: Rob Herring <robh+dt@kernel.org>
      Cc: Frank Rowand <frowand.list@gmail.com>
      Cc: Eric Anholt <eric@anholt.net>
      Cc: Stephen Warren <swarren@wwwdotorg.org>
      Cc: Lee Jones <lee@kernel.org>
      Cc: Gerd Hoffmann <kraxel@redhat.com>
      Cc: devicetree@vger.kernel.org
      Cc: linux-kernel@vger.kernel.org
      Cc: linux-arm-kernel@lists.infradead.org
      Cc: linux-rpi-kernel@lists.infradead.org
      Cc: arm@kernel.org
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      76aa7591
    • Ian Campbell's avatar
      ARM: dts: Remove use of skeleton.dtsi from bcm283x.dtsi · 6b7b554d
      Ian Campbell authored
      This file is included from DTS files under arch/arm64 too (via
      broadcom/bcm2837-rpi-3-b.dts and broadcom/bcm2837.dtsi). There is a desire
      not to have skeleton.dtsi for ARM64. See commit 3ebee5a2 ("arm64: dts:
      kill skeleton.dtsi") for rationale for its removal.
      
      As well as the addition of #*-cells also requires adding the device_type to
      the rpi memory node explicitly.
      
      Note that this change results in the removal of an empty /aliases node from
      bcm2835-rpi-a.dtb and bcm2835-rpi-a-plus.dtb. I have no hardware to check
      if this is a problem or not.
      
      It also results in some reordering of the nodes in the DTBs (the /aliases
      and /memory nodes come later). This isn't supposed to matter but, again,
      I've no hardware to check if it is true in this particular case.
      Signed-off-by: default avatarIan Campbell <ijc@hellion.org.uk>
      Acked-by: default avatarMark Rutland <mark.rutland@arm.com>
      Tested-by: default avatarStefan Wahren <stefan.wahren@i2se.com>
      Cc: Catalin Marinas <catalin.marinas@arm.com>
      Cc: Will Deacon <will.deacon@arm.com>
      Cc: Mark Rutland <mark.rutland@arm.com>
      Cc: Rob Herring <robh+dt@kernel.org>
      Cc: Frank Rowand <frowand.list@gmail.com>
      Cc: Eric Anholt <eric@anholt.net>
      Cc: Stephen Warren <swarren@wwwdotorg.org>
      Cc: Lee Jones <lee@kernel.org>
      Cc: Gerd Hoffmann <kraxel@redhat.com>
      Cc: devicetree@vger.kernel.org
      Cc: linux-kernel@vger.kernel.org
      Cc: linux-arm-kernel@lists.infradead.org
      Cc: linux-rpi-kernel@lists.infradead.org
      Cc: arm@kernel.org
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      6b7b554d
  3. 08 Sep, 2016 6 commits
  4. 05 Sep, 2016 1 commit
  5. 02 Sep, 2016 3 commits
    • Arnd Bergmann's avatar
      Merge tag 'ccn/fixes-for-4.8-v2' of git://git.linaro.org/people/pawel.moll/linux into fixes · 7064f623
      Arnd Bergmann authored
      Merge "bus: ARM CCN PMU driver updates" from Paweł Moll:
      
      - Fixes and improvements for XP watchpoint and events handling
      - Added missing condition checks for KVM-related exclusions
      - Improved interrupt affinity handling
      - Fix for hrtimer use in polling mode
      - Event grouping implementation improvement
      
      * tag 'ccn/fixes-for-4.8-v2' of git://git.linaro.org/people/pawel.moll/linux:
        bus: arm-ccn: make event groups reliable
        bus: arm-ccn: fix hrtimer registration
        bus: arm-ccn: fix PMU interrupt flags
        bus: arm-ccn: Add missing event attribute exclusions for host/guest
        bus: arm-ccn: Correct required arguments for XP PMU events
        bus: arm-ccn: Fix XP watchpoint settings bitmask
        bus: arm-ccn: Do not attempt to configure XPs for cycle counter
        bus: arm-ccn: Fix PMU handling of MN
      7064f623
    • Arnd Bergmann's avatar
      Merge tag 'mvebu-fixes-4.8-2' of git://git.infradead.org/linux-mvebu into fixes · 982098a9
      Arnd Bergmann authored
      Merge "mvebu fixes for 4.8 (part 1)" from Gregory CLEMENT:
      
      Few device tree fix on kirkwood:
      - enable PCIe on OpenRD
      - use correct u-boot environment partition size on ib62x0
      
      * tag 'mvebu-fixes-4.8-2' of git://git.infradead.org/linux-mvebu:
        ARM: dts: kirkwood: Fix PCIe label on OpenRD
        ARM: kirkwood: ib62x0: fix size of u-boot environment partition
      982098a9
    • Wolfram Sang's avatar
      ARM: shmobile: fix regulator quirk for Gen2 · c2f32112
      Wolfram Sang authored
      The current implementation only works if the da9xxx devices are added
      before their drivers are registered. Only then it can apply the fixes to
      both devices. Otherwise, the driver for the first device gets probed
      before the fix for the second device can be applied. This is what
      fails when using the IP core switcher or when having the i2c master
      driver as a module.
      
      So, we need to disable both da9xxx once we detected one of them. We now
      use i2c_transfer with hardcoded i2c_messages and device addresses, so we
      don't need the da9xxx client devices to be instantiated. Because the
      fixup is used on specific boards only, the addresses are not going to
      change.
      
      Fixes: 663fbb52 ("ARM: shmobile: R-Car Gen2: Add da9063/da9210 regulator quirk")
      Signed-off-by: default avatarWolfram Sang <wsa+renesas@sang-engineering.com>
      Reviewed-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
      Tested-by: Geert Uytterhoeven <geert+renesas@glider.be> (r8a7791/koelsch)
      Tested-by: default avatarKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
      Signed-off-by: default avatarSimon Horman <horms+renesas@verge.net.au>
      c2f32112
  6. 30 Aug, 2016 1 commit
  7. 29 Aug, 2016 1 commit
  8. 26 Aug, 2016 11 commits
  9. 25 Aug, 2016 2 commits
  10. 22 Aug, 2016 1 commit
  11. 21 Aug, 2016 3 commits
  12. 20 Aug, 2016 2 commits
    • Helge Deller's avatar
      parisc: Fix order of EREFUSED define in errno.h · 3eb53b20
      Helge Deller authored
      When building gccgo in userspace, errno.h gets parsed and the go include file
      sysinfo.go is generated.
      
      Since EREFUSED is defined to the same value as ECONNREFUSED, and ECONNREFUSED
      is defined later on in errno.h, this leads to go complaining that EREFUSED
      isn't defined yet.
      
      Fix this trivial problem by moving the define of EREFUSED down after
      ECONNREFUSED in errno.h (and clean up the indenting while touching this line).
      Signed-off-by: default avatarHelge Deller <deller@gmx.de>
      Cc: stable@vger.kernel.org
      3eb53b20
    • Helge Deller's avatar
      parisc: Fix automatic selection of cr16 clocksource · ae141830
      Helge Deller authored
      Commit 54b66800 (parisc: Add native high-resolution sched_clock()
      implementation) added support to use the CPU-internal cr16 counters as reliable
      clocksource with the help of HAVE_UNSTABLE_SCHED_CLOCK.
      
      Sadly the commit missed to remove the hack which prevented cr16 to become the
      default clocksource even on SMP systems.
      Signed-off-by: default avatarHelge Deller <deller@gmx.de>
      Cc: stable@vger.kernel.org # 4.7+
      ae141830
  13. 19 Aug, 2016 4 commits
    • Linus Torvalds's avatar
      Make the hardened user-copy code depend on having a hardened allocator · 6040e576
      Linus Torvalds authored
      The kernel test robot reported a usercopy failure in the new hardened
      sanity checks, due to a page-crossing copy of the FPU state into the
      task structure.
      
      This happened because the kernel test robot was testing with SLOB, which
      doesn't actually do the required book-keeping for slab allocations, and
      as a result the hardening code didn't realize that the task struct
      allocation was one single allocation - and the sanity checks fail.
      
      Since SLOB doesn't even claim to support hardening (and you really
      shouldn't use it), the straightforward solution is to just make the
      usercopy hardening code depend on the allocator supporting it.
      Reported-by: default avatarkernel test robot <xiaolong.ye@intel.com>
      Cc: Kees Cook <keescook@chromium.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      6040e576
    • Linus Torvalds's avatar
      Merge branch 'i2c/for-current' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux · 8cc9dddd
      Linus Torvalds authored
      Pull i2c fixes from Wolfram Sang:
       "I2C has some pretty standard driver bugfixes and one minor cleanup"
      
      * 'i2c/for-current' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux:
        i2c: meson: Use complete() instead of complete_all()
        i2c: brcmstb: Use complete() instead of complete_all()
        i2c: bcm-kona: Use complete() instead of complete_all()
        i2c: bcm-iproc: Use complete() instead of complete_all()
        i2c: at91: fix support of the "alternative command" feature
        i2c: ocores: add missed clk_disable_unprepare() on failure paths
        i2c: cros-ec-tunnel: Fix usage of cros_ec_cmd_xfer()
        i2c: mux: demux-pinctrl: properly roll back when adding adapter fails
      8cc9dddd
    • Linus Torvalds's avatar
      Merge tag 'dm-4.8-fixes-2' of git://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm · 43f4d36c
      Linus Torvalds authored
      Pull device mapper fixes from Mike Snitzer:
      
       - a stable fix for DM round robin multipath path selector to disable
         preemption before using this_cpu_ptr()
      
       - a slight increase in DM crypt's mempool reserves to make swap ontop
         of DM crypt more performant
      
       - a few DM raid fixes to issues found while testing changes that were
         merged in v4.8-rc1
      
      * tag 'dm-4.8-fixes-2' of git://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm:
        dm raid: support raid0 with missing metadata devices
        dm raid: enhance attempt_restore_of_faulty_devices() to support more devices
        dm raid: fix restoring of failed devices regression
        dm raid: fix frozen recovery regression
        dm crypt: increase mempool reserve to better support swapping
        dm round robin: do not use this_cpu_ptr() without having preemption disabled
      43f4d36c
    • Linus Torvalds's avatar
      Merge tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi · b2848792
      Linus Torvalds authored
      Pull SCSI fixes from James Bottomley:
       "Six fairly small fixes.  The ipr, mpt3sas and ses ones all trigger
        oopses.  The megaraid one fixes an attach failure on io mapped only
        cards, the fcoe one is an obvious problem in the error path and the
        aacraid one is a theoretical security issue (ability to trick the
        kernel into a buffer overrun)"
      
      * tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi:
        ses: Fix racy cleanup of /sys in remove_dev()
        mpt3sas: Fix resume on WarpDrive flash cards
        ipr: Fix sync scsi scan
        megaraid_sas: Fix probing cards without io port
        aacraid: Check size values after double-fetch from user
        fcoe: Use kfree_skb() instead of kfree()
      b2848792