1. 15 May, 2018 4 commits
  2. 14 May, 2018 13 commits
    • Olof Johansson's avatar
      Merge tag 'reset-fixes-for-4.17' of git://git.pengutronix.de/pza/linux into fixes · ae93870f
      Olof Johansson authored
      Reset controller fixes for v4.17
      
      Fix the USB3 reset (offset 0x200c, bit 5) on Uniphier LD20. It was
      incorrectly labeled as GIO reset. This reset line is not yet used in
      uniphier-ld20.dtsi.
      
      * tag 'reset-fixes-for-4.17' of git://git.pengutronix.de/pza/linux:
        reset: uniphier: fix USB clock line for LD20
      Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
      ae93870f
    • Olof Johansson's avatar
      Merge tag 'mvebu-fixes-4.17-1' of git://git.infradead.org/linux-mvebu into fixes · 99ffa8b0
      Olof Johansson authored
      mvebu fixes for 4.17 (part 1)
      
      Declare missing clocks needed for network on Armada 8040 base boards
      (such as the McBin)
      
      * tag 'mvebu-fixes-4.17-1' of git://git.infradead.org/linux-mvebu:
        ARM64: dts: marvell: armada-cp110: Add mg_core_clk for ethernet node
        ARM64: dts: marvell: armada-cp110: Add clocks for the xmdio node
      Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
      99ffa8b0
    • Russell King's avatar
      ARM: keystone: fix platform_domain_notifier array overrun · 9954b80b
      Russell King authored
      platform_domain_notifier contains a variable sized array, which the
      pm_clk_notify() notifier treats as a NULL terminated array:
      
           for (con_id = clknb->con_ids; *con_id; con_id++)
                   pm_clk_add(dev, *con_id);
      
      Omitting the initialiser for con_ids means that the array is zero
      sized, and there is no NULL terminator.  This leads to pm_clk_notify()
      overrunning into what ever structure follows, which may not be NULL.
      This leads to an oops:
      
      Unable to handle kernel NULL pointer dereference at virtual address 0000008c
      pgd = c0003000
      [0000008c] *pgd=80000800004003c, *pmd=00000000c
      Internal error: Oops: 206 [#1] PREEMPT SMP ARM
      Modules linked in:c
      CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.16.0+ #9
      Hardware name: Keystone
      PC is at strlen+0x0/0x34
      LR is at kstrdup+0x18/0x54
      pc : [<c0623340>]    lr : [<c0111d6c>]    psr: 20000013
      sp : eec73dc0  ip : eed780c0  fp : 00000001
      r10: 00000000  r9 : 00000000  r8 : eed71e10
      r7 : 0000008c  r6 : 0000008c  r5 : 014000c0  r4 : c03a6ff4
      r3 : c09445d0  r2 : 00000000  r1 : 014000c0  r0 : 0000008c
      Flags: nzCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment user
      Control: 30c5387d  Table: 00003000  DAC: fffffffd
      Process swapper/0 (pid: 1, stack limit = 0xeec72210)
      Stack: (0xeec73dc0 to 0xeec74000)
      ...
      [<c0623340>] (strlen) from [<c0111d6c>] (kstrdup+0x18/0x54)
      [<c0111d6c>] (kstrdup) from [<c03a6ff4>] (__pm_clk_add+0x58/0x120)
      [<c03a6ff4>] (__pm_clk_add) from [<c03a731c>] (pm_clk_notify+0x64/0xa8)
      [<c03a731c>] (pm_clk_notify) from [<c004614c>] (notifier_call_chain+0x44/0x84)
      [<c004614c>] (notifier_call_chain) from [<c0046320>] (__blocking_notifier_call_chain+0x48/0x60)
      [<c0046320>] (__blocking_notifier_call_chain) from [<c0046350>] (blocking_notifier_call_chain+0x18/0x20)
      [<c0046350>] (blocking_notifier_call_chain) from [<c0390234>] (device_add+0x36c/0x534)
      [<c0390234>] (device_add) from [<c047fc00>] (of_platform_device_create_pdata+0x70/0xa4)
      [<c047fc00>] (of_platform_device_create_pdata) from [<c047fea0>] (of_platform_bus_create+0xf0/0x1ec)
      [<c047fea0>] (of_platform_bus_create) from [<c047fff8>] (of_platform_populate+0x5c/0xac)
      [<c047fff8>] (of_platform_populate) from [<c08b1f04>] (of_platform_default_populate_init+0x8c/0xa8)
      [<c08b1f04>] (of_platform_default_populate_init) from [<c000a78c>] (do_one_initcall+0x3c/0x164)
      [<c000a78c>] (do_one_initcall) from [<c087bd9c>] (kernel_init_freeable+0x10c/0x1d0)
      [<c087bd9c>] (kernel_init_freeable) from [<c0628db0>] (kernel_init+0x8/0xf0)
      [<c0628db0>] (kernel_init) from [<c00090d8>] (ret_from_fork+0x14/0x3c)
      Exception stack(0xeec73fb0 to 0xeec73ff8)
      3fa0:                                     00000000 00000000 00000000 00000000
      3fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
      3fe0: 00000000 00000000 00000000 00000000 00000013 00000000
      Code: e3520000 1afffff7 e12fff1e c0801730 (e5d02000)
      ---[ end trace cafa8f148e262e80 ]---
      
      Fix this by adding the necessary initialiser.
      
      Fixes: fc20ffe1 ("ARM: keystone: add PM domain support for clock management")
      Signed-off-by: default avatarRussell King <rmk+kernel@armlinux.org.uk>
      Acked-by: default avatarSantosh Shilimkar <ssantosh@kernel.org>
      Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
      9954b80b
    • Olof Johansson's avatar
      Merge tag 'imx-fixes-4.17' of... · 115c93e5
      Olof Johansson authored
      Merge tag 'imx-fixes-4.17' of git://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux into fixes
      
      i.MX fixes for 4.17:
       - Add missing 'fsl,sec-era' property for i.MX7S device tree CAAM node,
         as the era information is used in various places inside CAAM driver.
       - There are a few errors in imx51-zii-rdu1 device tree touchscreen
         node.  Fix them to get touchscreen actually work.
      
      * tag 'imx-fixes-4.17' of git://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux:
        ARM: dts: imx51-zii-rdu1: fix touchscreen bindings
        ARM: dts: imx7s: Pass the 'fsl,sec-era' property
      Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
      115c93e5
    • Olof Johansson's avatar
      Merge tag 'scmi-fixes-4.17' of... · 16145fff
      Olof Johansson authored
      Merge tag 'scmi-fixes-4.17' of git://git.kernel.org/pub/scm/linux/kernel/git/sudeep.holla/linux into fixes
      
      SCMI fix for v4.17
      
      A single patch to ensure that the scmi device is not used for setting up
      scmi handle after it's freed(fixes use after free).
      
      * tag 'scmi-fixes-4.17' of git://git.kernel.org/pub/scm/linux/kernel/git/sudeep.holla/linux:
        firmware: arm_scmi: Use after free in scmi_create_protocol_device()
      Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
      16145fff
    • Olof Johansson's avatar
      Merge tag 'omap-for-v17/fixes-rc4' of... · 602a4242
      Olof Johansson authored
      Merge tag 'omap-for-v17/fixes-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap into fixes
      
      Fixes for omap variants for v4.17
      
      This series of patches contains one BUG fix for trace if
      CONFIG_DEBUG_PREEMPT is enabled and a regression fix for omap1 FIQ
      handling on ams-delta. Then there's a dts fix for missing SoC
      compatible on ti81xx board dts files that did matter until we added
      the clkctrl clocks and without that some clocks are now not found.
      
      Then there are two logicpd-som-lv specific dts fixes that fix
      misconfigured pins for WLAN and audio. Turns out we had to revert
      the third one because it caused another regression for USB.
      
      * tag 'omap-for-v17/fixes-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap:
        Revert "ARM: dts: logicpd-som-lv: Fix pinmux controller references"
        ARM: dts: correct missing "compatible" entry for ti81xx SoCs
        ARM: OMAP1: ams-delta: fix deferred_fiq handler
        ARM: dts: logicpd-som-lv: Fix pinmux controller references
        ARM: dts: logicpd-som-lv: Fix Audio Mute
        ARM: dts: logicpd-som-lv: Fix WL127x Startup Issues
        ARM: OMAP2+: powerdomain: use raw_smp_processor_id() for trace
      Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
      602a4242
    • Olof Johansson's avatar
      Merge tag 'arm-soc/for-4.17/devicetree-fixes' of https://github.com/Broadcom/stblinux into fixes · 51dff165
      Olof Johansson authored
      This pull request contains Broadcom ARM-basec SoCs Device Tree fixes for
      4.17, please pull the following:
      
      - Clement fixes in an incorrect trigger type for the ARM global timers
        on the Cygnus platforms
      
      * tag 'arm-soc/for-4.17/devicetree-fixes' of https://github.com/Broadcom/stblinux:
        ARM: dts: cygnus: fix irq type for arm global timer
      Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
      51dff165
    • Olof Johansson's avatar
      Merge tag 'tee-drv-fixes-for-4.17' of... · c1c6fe6c
      Olof Johansson authored
      Merge tag 'tee-drv-fixes-for-4.17' of git://git.linaro.org/people/jens.wiklander/linux-tee into fixes
      
      Small fixes for tee subsystem
      
      * Fixes for use-after-free via temporarily dropped reference
      * Checks that passed shm references are consistent in offset/size
        with regards to the shm object
      
      * tag 'tee-drv-fixes-for-4.17' of git://git.linaro.org/people/jens.wiklander/linux-tee:
        tee: check shm references are consistent in offset/size
        tee: shm: fix use-after-free via temporarily dropped reference
      Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
      c1c6fe6c
    • Marek Szyprowski's avatar
      arm64: dts: exynos: Fix interrupt type for I2S1 device on Exynos5433 · 0d463d84
      Marek Szyprowski authored
      All interrupts from SoC internal modules are level triggered, so fix
      incorrect trigger type for I2S1 device on Exynos5433 SoCs.
      
      This fixes following kernel warning:
      
      WARNING: CPU: 2 PID: 1 at drivers/irqchip/irq-gic.c:1016 gic_irq_domain_translate+0xb0/0xb8
      Modules linked in:
      CPU: 2 PID: 1 Comm: swapper/0 Not tainted 4.16.0-rc7-next-20180329 #646
      Hardware name: Samsung TM2 board (DT)
      pstate: 20000005 (nzCv daif -PAN -UAO)
      pc : gic_irq_domain_translate+0xb0/0xb8
      lr : irq_create_fwspec_mapping+0x64/0x328
      sp : ffff0000098b38d0
      ...
      Call trace:
       gic_irq_domain_translate+0xb0/0xb8
       irq_create_of_mapping+0x78/0xa0
       of_irq_get+0x6c/0xa0
       of_irq_to_resource+0x38/0x108
       of_irq_to_resource_table+0x50/0x78
       of_device_alloc+0x118/0x1b8
       of_platform_device_create_pdata+0x54/0xe0
       of_platform_bus_create+0x118/0x340
       of_platform_bus_create+0x17c/0x340
       of_platform_populate+0x74/0xd8
       of_platform_default_populate_init+0xb0/0xcc
       do_one_initcall+0x50/0x158
       kernel_init_freeable+0x184/0x22c
       kernel_init+0x10/0x108
       ret_from_fork+0x10/0x18
      ---[ end trace 6decb2b3078d73f0 ]---
      
      Fixes: d8d579c3 ("ARM: dts: exynos: Add I2S1 device node to exynos5433")
      Signed-off-by: default avatarMarek Szyprowski <m.szyprowski@samsung.com>
      Signed-off-by: default avatarKrzysztof Kozlowski <krzk@kernel.org>
      Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
      0d463d84
    • Olof Johansson's avatar
      Merge tag 'tegra-for-4.17-fixes' of... · 0e68f92f
      Olof Johansson authored
      Merge tag 'tegra-for-4.17-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux into fixes
      
      ARM: tegra: Device tree fixes for v4.17
      
      This contains a single revert for a patch that was merged in v4.17-rc1
      and that turns out to cause a regression on some boards. Further, the
      original issue that the patch was supposed to fix seems to have
      disappeared.
      
      * tag 'tegra-for-4.17-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux:
        ARM: dts: tegra20: Revert "Fix ULPI regression on Tegra20"
      Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
      0e68f92f
    • Olof Johansson's avatar
      Merge tag 'davinci-fixes-for-v4.17' of... · 8ee74248
      Olof Johansson authored
      Merge tag 'davinci-fixes-for-v4.17' of git://git.kernel.org/pub/scm/linux/kernel/git/nsekhar/linux-davinci into fixes
      
      DaVinci fixes for v4.17
      * W=1 warning fixes in device-tree files
      * GPIO look-up fixes for legacy boot on several platforms
      
      * tag 'davinci-fixes-for-v4.17' of git://git.kernel.org/pub/scm/linux/kernel/git/nsekhar/linux-davinci:
        ARM: davinci: fix GPIO lookup for I2C
        ARM: davinci: board-dm355-evm: fix broken networking
        ARM: davinci: board-omapl138-hawk: fix GPIO numbers for MMC/SD lookup
        ARM: davinci: board-da850-evm: fix GPIO lookup for MMC/SD
        ARM: davinci: board-da830-evm: fix GPIO lookup for MMC/SD
        ARM: dts: da850: fix W=1 warnings with pinmux node
        ARM: dts: da850-lcdk: add unit name for memory node
        ARM: dts: da850: get rid of skeleton.dtsi
      Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
      8ee74248
    • Olof Johansson's avatar
      Merge tag 'renesas-fixes-for-v4.17' of... · 1e61f547
      Olof Johansson authored
      Merge tag 'renesas-fixes-for-v4.17' of https://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas into fixes
      
      Renesas ARM Based SoC Fixes for v4.17
      
      Fix LVDS output on Gen2 boards
      
      Laurent Pincart says "This patch series fixes LVDS output support on the
      Lager, Koelsh, Porter and Gose boards that broke in v4.17-rc1 due to the
      combination of the R-Car DU LVDS driver rework and the DT move of all
      on-SoC peripherals to a /soc node.
      
      We could handle the problem in the R-Car DU LVDS DT backward compatibility
      code, but that fix would only be used for v4.17 as in v4.18 the Gen2 DT
      will move to the new LVDS DT bindings. I thus propose merging these three
      patches in v4.17 already to fix the problem as this is the simplest
      solution."
      
      * tag 'renesas-fixes-for-v4.17' of https://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas:
        ARM: dts: r8a7793: Convert to new LVDS DT bindings
        ARM: dts: r8a7791: Convert to new LVDS DT bindings
        ARM: dts: r8a7790: Convert to new LVDS DT bindings
      Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
      1e61f547
    • Olof Johansson's avatar
      Merge tag 'uniphier-fixes-v4.17' of... · bd37d156
      Olof Johansson authored
      Merge tag 'uniphier-fixes-v4.17' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-uniphier into fixes
      
      UniPhier ARM SoC fixes for v4.17
      
      - Fix input delay parameter of eMMC PHY
      - Weaken drive-strength of ethernet PHY pins of LD20 reference board
      
      * tag 'uniphier-fixes-v4.17' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-uniphier:
        arm64: dts: uniphier: stabilize ethernet of LD20 reference board
        arm64: dts: uniphier: fix input delay value for legacy mode of eMMC
      Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
      bd37d156
  3. 13 May, 2018 6 commits
    • Linus Torvalds's avatar
      Linux 4.17-rc5 · 67b8d5c7
      Linus Torvalds authored
      67b8d5c7
    • Linus Torvalds's avatar
      Merge branch 'x86-pti-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 66e1c94d
      Linus Torvalds authored
      Pull x86/pti updates from Thomas Gleixner:
       "A mixed bag of fixes and updates for the ghosts which are hunting us.
      
        The scheduler fixes have been pulled into that branch to avoid
        conflicts.
      
         - A set of fixes to address a khread_parkme() race which caused lost
           wakeups and loss of state.
      
         - A deadlock fix for stop_machine() solved by moving the wakeups
           outside of the stopper_lock held region.
      
         - A set of Spectre V1 array access restrictions. The possible
           problematic spots were discuvered by Dan Carpenters new checks in
           smatch.
      
         - Removal of an unused file which was forgotten when the rest of that
           functionality was removed"
      
      * 'x86-pti-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        x86/vdso: Remove unused file
        perf/x86/cstate: Fix possible Spectre-v1 indexing for pkg_msr
        perf/x86/msr: Fix possible Spectre-v1 indexing in the MSR driver
        perf/x86: Fix possible Spectre-v1 indexing for x86_pmu::event_map()
        perf/x86: Fix possible Spectre-v1 indexing for hw_perf_event cache_*
        perf/core: Fix possible Spectre-v1 indexing for ->aux_pages[]
        sched/autogroup: Fix possible Spectre-v1 indexing for sched_prio_to_weight[]
        sched/core: Fix possible Spectre-v1 indexing for sched_prio_to_weight[]
        sched/core: Introduce set_special_state()
        kthread, sched/wait: Fix kthread_parkme() completion issue
        kthread, sched/wait: Fix kthread_parkme() wait-loop
        sched/fair: Fix the update of blocked load when newly idle
        stop_machine, sched: Fix migrate_swap() vs. active_balance() deadlock
      66e1c94d
    • Linus Torvalds's avatar
      Merge branch 'sched-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 86a4ac43
      Linus Torvalds authored
      Pull scheduler fix from Thomas Gleixner:
       "Revert the new NUMA aware placement approach which turned out to
        create more problems than it solved"
      
      * 'sched-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        Revert "sched/numa: Delay retrying placement for automatic NUMA balance after wake_affine()"
      86a4ac43
    • Linus Torvalds's avatar
      Merge branch 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · baeda713
      Linus Torvalds authored
      Pull perf tooling fixes from Thomas Gleixner:
       "Another small set of perf tooling fixes and updates:
      
         - Revert "perf pmu: Fix pmu events parsing rule", as it broke Intel
           PT event description parsing (Arnaldo Carvalho de Melo)
      
         - Sync x86's cpufeatures.h and kvm UAPI headers with the kernel
           sources, suppressing the ABI drift warnings (Arnaldo Carvalho de
           Melo)
      
         - Remove duplicated entry for westmereep-dp in Intel's mapfile.csv
           (William Cohen)
      
         - Fix typo in 'perf bench numa' options description (Yisheng Xie)"
      
      * 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        Revert "perf pmu: Fix pmu events parsing rule"
        tools headers kvm: Sync ARM UAPI headers with the kernel sources
        tools headers kvm: Sync uapi/linux/kvm.h with the kernel sources
        tools headers: Sync x86 cpufeatures.h with the kernel sources
        perf vendor events intel: Remove duplicated entry for westmereep-dp in mapfile.csv
        perf bench numa: Fix typo in options
      baeda713
    • Linus Torvalds's avatar
      Merge tag 'dma-mapping-4.17-5' of git://git.infradead.org/users/hch/dma-mapping · 0503fd65
      Linus Torvalds authored
      Pull dma-mapping fix from Christoph Hellwig:
       "Just one little fix from Jean to avoid a harmless but very annoying
        warning, especially for the drm code"
      
      * tag 'dma-mapping-4.17-5' of git://git.infradead.org/users/hch/dma-mapping:
        swiotlb: silent unwanted warning "buffer is full"
      0503fd65
    • Linus Torvalds's avatar
      Merge tag '4.17-rc4-SMB3-Fixes' of git://git.samba.org/sfrench/cifs-2.6 · ccda3c4b
      Linus Torvalds authored
      Pull cifs fixes from Steve French:
       "Some small SMB3 fixes for 4.17-rc5, some for stable"
      
      * tag '4.17-rc4-SMB3-Fixes' of git://git.samba.org/sfrench/cifs-2.6:
        smb3: directory sync should not return an error
        cifs: smb2ops: Fix listxattr() when there are no EAs
        cifs: smbd: Enable signing with smbdirect
        cifs: Allocate validate negotiation request through kmalloc
      ccda3c4b
  4. 12 May, 2018 17 commits