1. 28 Sep, 2018 5 commits
  2. 26 Sep, 2018 1 commit
  3. 25 Sep, 2018 13 commits
  4. 23 Sep, 2018 1 commit
  5. 20 Sep, 2018 5 commits
    • Janusz Krzysztofik's avatar
      ARM: OMAP1: ams-delta: Don't request unused GPIOs · 1137ceee
      Janusz Krzysztofik authored
      GPIOs with no kernel drivers can still be used from user space, don't
      request them from the board file.
      Signed-off-by: default avatarJanusz Krzysztofik <jmkrzyszt@gmail.com>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      1137ceee
    • Janusz Krzysztofik's avatar
      ARM: OMAP1: ams-delta-fiq: Use <linux/platform_data/gpio-omap.h> · 26683316
      Janusz Krzysztofik authored
      Instead of defining symbols already defined in
      linux/platform_data/gpio-omap.h, use that header file.
      
      Since we include the header into an assembler code, prevent C only bits
      from being read in.
      Signed-off-by: default avatarJanusz Krzysztofik <jmkrzyszt@gmail.com>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      26683316
    • Janusz Krzysztofik's avatar
      ARM: OMAP1: ams-delta: register MODEM device earlier · d3e952ad
      Janusz Krzysztofik authored
      Amstrad Delta MODEM device used to be initialized at arch_initcall
      before it was once moved to late_initcall by commit f7519d8c ("ARM:
      OMAP1: ams-delta: register latch dependent devices later"). The purpose
      of that change was to postpone initialization of devices which depended
      on latch2 pins until latch2 converted to GPIO device was ready.
      
      After recent fixes to GPIO handling, it was possible to moove
      registration of most of those device back to where they were before.
      The same can be safely done with the MODEM device as initialization
      of GPIO pins it depends on was moved to machine_init by preceding
      patch.
      
      Move registration of the MODEM device to arch_initcall_sync, not to
      arch_initcall, so it is never exposed to potential conflict in
      registration order hazard against OMAP serial ports.
      Signed-off-by: default avatarJanusz Krzysztofik <jmkrzyszt@gmail.com>
      Reviewed-by: default avatarLinus Walleij <linus.walleij@linaro.org>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      d3e952ad
    • Janusz Krzysztofik's avatar
      ARM: OMAP1: ams-delta: initialize latch2 pins to safe values · 1464d031
      Janusz Krzysztofik authored
      Latch2 pins control a number of on-board devices, namely LCD, NAND,
      MODEM and CODEC.  Those pins used to be initialized with safe values
      from init_machine before that operation was:
      1) moved to late_initcall in preparation for conversion of latch2 to
      GPIO device - see commit f7519d8c ("ARM: OMAP1: ams-delta: register
      latch dependent devices later"),
      2) replaced with non-atomic initialization performed by means of
      gpio_request_array() - see commit 937eb4bb ("ARM: OMAP1: ams-delta:
      convert latches to basic_mmio_gpio"),
      3) made completely asynchronous by delegation of GPIO request
      operations performed on subsets of pins to respective device drivers in
      subsequent commits.
      
      One visible negative result of that disintegration was corrupt keyboard
      data reported by serio driver, recently fixed by commit 41f8fee3
      ("ARM: OMAP1: ams-delta: Hog "keybrd_dataout" GPIO pin").
      
      Moreover, initialization of LATCH2_PIN_MODEM_CODEC still performed with
      ams_delta_latch2_write() wrapper from late_init() is now done on not
      requested GPIO pin.
      
      Reintroduce atomic initialization of latch2 pins at machine_init to
      prevent from random values potentially corrupting NAND data or maybe
      even destroing other hardware.  Also take care of MODEM/CODEC related
      pins so MODEM device probe succeeds even if latch2 GPIO device or
      dependent regulator is not ready and CODEC can be reached over the
      MODEM even if audio driver doesn't take control over
      LATCH2_PIN_MODEM_CODEC.
      
      Once done, remove the no longer needed GPIO based implementation of
      ams_delta_latch_write() and its frontend macro.
      Signed-off-by: default avatarJanusz Krzysztofik <jmkrzyszt@gmail.com>
      Reviewed-by: default avatarLinus Walleij <linus.walleij@linaro.org>
      [tony@atomide.com: updated for the header location to remove dependency]
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      1464d031
    • Janusz Krzysztofik's avatar
      ARM: OMAP1: ams-delta: assign MODEM IRQ from GPIO descriptor · 0812db94
      Janusz Krzysztofik authored
      Don't request MODEM IRQ GPIO by its global number in
      ams_delta_modem_init().  Instead, obtain its GPIO descriptor
      and assign related IRQ to the MODEM.  Do that from
      omap_gpio_deps_init(), where the chip is already looked up.  Then, in
      ams_delta_modem_init(), just check for the IRQ number having been
      already assigned.
      Signed-off-by: default avatarJanusz Krzysztofik <jmkrzyszt@gmail.com>
      Reviewed-by: default avatarLinus Walleij <linus.walleij@linaro.org>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      0812db94
  6. 19 Sep, 2018 2 commits
  7. 17 Sep, 2018 1 commit
  8. 11 Sep, 2018 1 commit
  9. 07 Sep, 2018 3 commits
  10. 06 Sep, 2018 1 commit
  11. 05 Sep, 2018 1 commit
  12. 02 Sep, 2018 6 commits
    • Linus Torvalds's avatar
      Linux 4.19-rc2 · 57361846
      Linus Torvalds authored
      57361846
    • Linus Torvalds's avatar
      Merge tag 'devicetree-fixes-for-4.19' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux · fd6868d8
      Linus Torvalds authored
      Pull devicetree updates from Rob Herring:
       "A couple of new helper functions in preparation for some tree wide
        clean-ups.
      
        I'm sending these new helpers now for rc2 in order to simplify the
        dependencies on subsequent cleanups across the tree in 4.20"
      
      * tag 'devicetree-fixes-for-4.19' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux:
        of: Add device_type access helper functions
        of: add node name compare helper functions
        of: add helper to lookup compatible child node
      fd6868d8
    • Linus Torvalds's avatar
      Merge tag 'armsoc-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc · a3ea9911
      Linus Torvalds authored
      Pull ARM SoC fixes from Olof Johansson:
       "First batch of fixes post-merge window:
      
         - A handful of devicetree changes for i.MX2{3,8} to change over to
           new panel bindings. The platforms were moved from legacy
           framebuffers to DRM and some development board panels hadn't yet
           been converted.
      
         - OMAP fixes related to ti-sysc driver conversion fallout, fixing
           some register offsets, no_console_suspend fixes, etc.
      
         - Droid4 changes to fix flaky eMMC probing and vibrator DTS mismerge.
      
         - Fixed 0755->0644 permissions on a newly added file.
      
         - Defconfig changes to make ARM Versatile more useful with QEMU
           (helps testing).
      
         - Enable defconfig options for new TI SoC platform that was merged
           this window (AM6)"
      
      * tag 'armsoc-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc:
        arm64: defconfig: Enable TI's AM6 SoC platform
        ARM: defconfig: Update the ARM Versatile defconfig
        ARM: dts: omap4-droid4: Fix emmc errors seen on some devices
        ARM: dts: Fix file permission for am335x-osd3358-sm-red.dts
        ARM: imx_v6_v7_defconfig: Select CONFIG_DRM_PANEL_SEIKO_43WVF1G
        ARM: mxs_defconfig: Select CONFIG_DRM_PANEL_SEIKO_43WVF1G
        ARM: dts: imx23-evk: Convert to the new display bindings
        ARM: dts: imx23-evk: Move regulators outside simple-bus
        ARM: dts: imx28-evk: Convert to the new display bindings
        ARM: dts: imx28-evk: Move regulators outside simple-bus
        Revert "ARM: dts: imx7d: Invert legacy PCI irq mapping"
        arm: dts: am4372: setup rtc as system-power-controller
        ARM: dts: omap4-droid4: fix vibrations on Droid 4
        bus: ti-sysc: Fix no_console_suspend handling
        bus: ti-sysc: Fix module register ioremap for larger offsets
        ARM: OMAP2+: Fix module address for modules using mpu_rt_idx
        ARM: OMAP2+: Fix null hwmod for ti-sysc debug
      a3ea9911
    • Linus Torvalds's avatar
      Merge branch 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 899ba795
      Linus Torvalds authored
      Pull x86 fixes from Thomas Gleixner:
       "Speculation:
      
         - Make the microcode check more robust
      
         - Make the L1TF memory limit depend on the internal cache physical
           address space and not on the CPUID advertised physical address
           space, which might be significantly smaller. This avoids disabling
           L1TF on machines which utilize the full physical address space.
      
         - Fix the GDT mapping for EFI calls on 32bit PTI
      
         - Fix the MCE nospec implementation to prevent #GP
      
        Fixes and robustness:
      
         - Use the proper operand order for LSL in the VDSO
      
         - Prevent NMI uaccess race against CR3 switching
      
         - Add a lockdep check to verify that text_mutex is held in
           text_poke() functions
      
         - Repair the fallout of giving native_restore_fl() a prototype
      
         - Prevent kernel memory dumps based on usermode RIP
      
         - Wipe KASAN shadow stack before rewinding the stack to prevent false
           positives
      
         - Move the AMS GOTO enforcement to the actual build stage to allow
           user API header extraction without a compiler
      
         - Fix a section mismatch introduced by the on demand VDSO mapping
           change
      
        Miscellaneous:
      
         - Trivial typo, GCC quirk removal and CC_SET/OUT() cleanups"
      
      * 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        x86/pti: Fix section mismatch warning/error
        x86/vdso: Fix lsl operand order
        x86/mce: Fix set_mce_nospec() to avoid #GP fault
        x86/efi: Load fixmap GDT in efi_call_phys_epilog()
        x86/nmi: Fix NMI uaccess race against CR3 switching
        x86: Allow generating user-space headers without a compiler
        x86/dumpstack: Don't dump kernel memory based on usermode RIP
        x86/asm: Use CC_SET()/CC_OUT() in __gen_sigismember()
        x86/alternatives: Lockdep-enforce text_mutex in text_poke*()
        x86/entry/64: Wipe KASAN stack shadow before rewind_stack_do_exit()
        x86/irqflags: Mark native_restore_fl extern inline
        x86/build: Remove jump label quirk for GCC older than 4.5.2
        x86/Kconfig: Fix trivial typo
        x86/speculation/l1tf: Increase l1tf memory limit for Nehalem+
        x86/spectre: Add missing family 6 check to microcode check
      899ba795
    • Linus Torvalds's avatar
      Merge branch 'smp-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 1395d109
      Linus Torvalds authored
      Pull CPU hotplug fix from Thomas Gleixner:
       "Remove the stale skip_onerr member from the hotplug states"
      
      * 'smp-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        cpu/hotplug: Remove skip_onerr field from cpuhp_step structure
      1395d109
    • Linus Torvalds's avatar
      Merge branch 'core-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 501dacbc
      Linus Torvalds authored
      Pull core fixes from Thomas Gleixner:
       "A small set of updates for core code:
      
         - Prevent tracing in functions which are called from trace patching
           via stop_machine() to prevent executing half patched function trace
           entries.
      
         - Remove old GCC workarounds
      
         - Remove pointless includes of notifier.h"
      
      * 'core-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        objtool: Remove workaround for unreachable warnings from old GCC
        notifier: Remove notifier header file wherever not used
        watchdog: Mark watchdog touch functions as notrace
      501dacbc