Skip to content
  1. Sep 13, 2019
    • Roman Gushchin's avatar
      kselftests: cgroup: add freezer mkdir test · 44e9d308
      Roman Gushchin authored
      
      
      Add a new cgroup freezer selftest, which checks that if a cgroup is
      frozen, their new child cgroups will properly inherit the frozen
      state.
      
      It creates a parent cgroup, freezes it, creates a child cgroup
      and populates it with a dummy process. Then it checks that both
      parent and child cgroup are frozen.
      
      Signed-off-by: default avatarRoman Gushchin <guro@fb.com>
      Cc: Tejun Heo <tj@kernel.org>
      Cc: Shuah Khan <shuah@kernel.org>
      Signed-off-by: default avatarTejun Heo <tj@kernel.org>
      44e9d308
  2. Sep 12, 2019
    • Chris Wilson's avatar
      Revert "drm/i915/userptr: Acquire the page lock around set_page_dirty()" · 505a8ec7
      Chris Wilson authored
      
      
      The userptr put_pages can be called from inside try_to_unmap, and so
      enters with the page lock held on one of the object's backing pages. We
      cannot take the page lock ourselves for fear of recursion.
      
      Reported-by: default avatarLionel Landwerlin <lionel.g.landwerlin@intel.com>
      Reported-by: default avatarMartin Wilck <Martin.Wilck@suse.com>
      Reported-by: default avatarLeo Kraav <leho@kraav.com>
      Fixes: aa56a292
      
       ("drm/i915/userptr: Acquire the page lock around set_page_dirty()")
      References: https://bugzilla.kernel.org/show_bug.cgi?id=203317
      Signed-off-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
      Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
      Cc: Jani Nikula <jani.nikula@intel.com>
      Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
      Cc: stable@vger.kernel.org
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      505a8ec7
    • Linus Torvalds's avatar
      Merge tag 'for-linus-20190912' of gitolite.kernel.org:pub/scm/linux/kernel/git/brauner/linux · 98dcb386
      Linus Torvalds authored
      Pull clone3 fix from Christian Brauner:
       "This is a last-minute bugfix for clone3() that should go in before we
        release 5.3 with clone3().
      
        clone3() did not verify that the exit_signal argument was set to a
        valid signal. This can be used to cause a crash by specifying a signal
        greater than NSIG. e.g. -1.
      
        The commit from Eugene adds a check to copy_clone_args_from_user() to
        verify that the exit signal is limited by CSIGNAL as with legacy
        clone() and that the signal is valid. With this we don't get the
        legacy clone behavior were an invalid signal could be handed down and
        would only be detected and then ignored in do_notify_parent(). Users
        of clone3() will now get a proper error right when they pass an
        invalid exit signal. Note, that this is not a change in user-visible
        behavior since no kernel with clone3() has been released yet"
      
      * tag 'for-linus-20190912' of gitolite.kernel.org:pub/scm/linux/kernel/git/brauner/linux:
        fork: block invalid exit signals with clone3()
      98dcb386
    • Linus Torvalds's avatar
      Merge branch 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 95217783
      Linus Torvalds authored
      Pull x86 fixes from Ingo Molnar:
       "A KVM guest fix, and a kdump kernel relocation errors fix"
      
      * 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        x86/timer: Force PIT initialization when !X86_FEATURE_ARAT
        x86/purgatory: Change compiler flags from -mcmodel=kernel to -mcmodel=large to fix kexec relocation errors
      95217783
    • Eugene Syromiatnikov's avatar
      fork: block invalid exit signals with clone3() · a0eb9abd
      Eugene Syromiatnikov authored
      Previously, higher 32 bits of exit_signal fields were lost when copied
      to the kernel args structure (that uses int as a type for the respective
      field). Moreover, as Oleg has noted, exit_signal is used unchecked, so
      it has to be checked for sanity before use; for the legacy syscalls,
      applying CSIGNAL mask guarantees that it is at least non-negative;
      however, there's no such thing is done in clone3() code path, and that
      can break at least thread_group_leader.
      
      This commit adds a check to copy_clone_args_from_user() to verify that
      the exit signal is limited by CSIGNAL as with legacy clone() and that
      the signal is valid. With this we don't get the legacy clone behavior
      were an invalid signal could be handed down and would only be detected
      and ignored in do_notify_parent(). Users of clone3() will now get a
      proper error when they pass an invalid exit signal. Note, that this is
      not user-visible behavior since no kernel with clone3() has been
      released yet.
      
      The following program will cause a splat on a non-fixed clone3() version
      and will fail correctly on a fixed version:
      
       #define _GNU_SOURCE
       #include <linux/sched.h>
       #include <linux/types.h>
       #include <sched.h>
       #include <stdio.h>
       #include <stdlib.h>
       #include <sys/syscall.h>
       #include <sys/wait.h>
       #include <unistd.h>
      
       int main(int argc, char *argv[])
       {
              pid_t pid = -1;
              struct clone_args args = {0};
              args.exit_signal = -1;
      
              pid = syscall(__NR_clone3, &args, sizeof(struct clone_args));
              if (pid < 0)
                      exit(EXIT_FAILURE);
      
              if (pid == 0)
                      exit(EXIT_SUCCESS);
      
              wait(NULL);
      
              exit(EXIT_SUCCESS);
       }
      
      Fixes: 7f192e3c
      
       ("fork: add clone3")
      Reported-by: default avatarOleg Nesterov <oleg@redhat.com>
      Suggested-by: default avatarOleg Nesterov <oleg@redhat.com>
      Suggested-by: default avatarDmitry V. Levin <ldv@altlinux.org>
      Signed-off-by: default avatarEugene Syromiatnikov <esyr@redhat.com>
      Link: https://lore.kernel.org/r/4b38fa4ce420b119a4c6345f42fe3cec2de9b0b5.1568223594.git.esyr@redhat.com
      [christian.brauner@ubuntu.com: simplify check and rework commit message]
      Signed-off-by: default avatarChristian Brauner <christian.brauner@ubuntu.com>
      a0eb9abd
    • Linus Torvalds's avatar
      Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost · ad32b480
      Linus Torvalds authored
      Pull virtio fixes from Michael Tsirkin:
       "Last minute bugfixes.
      
        A couple of security things.
      
        And an error handling bugfix that is never encountered by most people,
        but that also makes it kind of safe to push at the last minute, and it
        helps push the fix to stable a bit sooner"
      
      * tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost:
        vhost: make sure log_num < in_num
        vhost: block speculation of translated descriptors
        virtio_ring: fix unmap of indirect descriptors
      ad32b480
    • Linus Torvalds's avatar
      Merge branch 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 6dcf6a4e
      Linus Torvalds authored
      Pull perf fix from Ingo Molnar:
       "Fix an initialization bug in the hw-breakpoints, which triggered on
        the ARM platform"
      
      * 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        perf/hw_breakpoint: Fix arch_hw_breakpoint use-before-initialization
      6dcf6a4e
    • Linus Torvalds's avatar
      Merge branch 'irq-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 95779fe8
      Linus Torvalds authored
      Pull irq fix from Ingo Molnar:
       "Fix a race in the IRQ resend mechanism, which can result in a NULL
        dereference crash"
      
      * 'irq-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        genirq: Prevent NULL pointer dereference in resend_irqs()
      95779fe8
    • Linus Torvalds's avatar
      Merge tag 'pinctrl-v5.3-3' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl · 840ce8f8
      Linus Torvalds authored
      Pull pin control fix from Linus Walleij:
       "Hopefully last pin control fix: a single patch for some Aspeed
        problems. The BMCs are much happier now"
      
      * tag 'pinctrl-v5.3-3' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl:
        pinctrl: aspeed: Fix spurious mux failures on the AST2500
      840ce8f8
    • Linus Torvalds's avatar
      Merge tag 'gpio-v5.3-6' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio · 9c09f623
      Linus Torvalds authored
      Pull GPIO fixes from Linus Walleij:
       "I don't really like to send so many fixes at the very last minute, but
        the bug-sport activity is unpredictable.
      
        Four fixes, three are -stable material that will go everywhere, one is
        for the current cycle:
      
         - An ACPI DSDT error fixup of the type we always see and Hans
           invariably gets to fix.
      
         - A OF quirk fix for the current release (v5.3)
      
         - Some consistency checks on the userspace ABI.
      
         - A memory leak"
      
      * tag 'gpio-v5.3-6' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio:
        gpiolib: acpi: Add gpiolib_acpi_run_edge_events_on_boot option and blacklist
        gpiolib: of: fix fallback quirks handling
        gpio: fix line flag validation in lineevent_create
        gpio: fix line flag validation in linehandle_create
        gpio: mockup: add missing single_release()
      9c09f623
    • Andrew Jeffery's avatar
      pinctrl: aspeed: Fix spurious mux failures on the AST2500 · c1432423
      Andrew Jeffery authored
      Commit 674fa8da ("pinctrl: aspeed-g5: Delay acquisition of regmaps")
      was determined to be a partial fix to the problem of acquiring the LPC
      Host Controller and GFX regmaps: The AST2500 pin controller may need to
      fetch syscon regmaps during expression evaluation as well as when
      setting mux state. For example, this case is hit by attempting to export
      pins exposing the LPC Host Controller as GPIOs.
      
      An optional eval() hook is added to the Aspeed pinmux operation struct
      and called from aspeed_sig_expr_eval() if the pointer is set by the
      SoC-specific driver. This enables the AST2500 to perform the custom
      action of acquiring its regmap dependencies as required.
      
      John Wang tested the fix on an Inspur FP5280G2 machine (AST2500-based)
      where the issue was found, and I've booted the fix on Witherspoon
      (AST2500) and Palmetto (AST2400) machines, and poked at relevant pins
      under QEMU by forcing mux configurations via devmem before exporting
      GPIOs to exercise the driver.
      
      Fixes: 7d29ed88 ("pinctrl: aspeed: Read and write bits in LPC and GFX controllers")
      Fixes: 674fa8da
      
       ("pinctrl: aspeed-g5: Delay acquisition of regmaps")
      Reported-by: default avatarJohn Wang <wangzqbj@inspur.com>
      Tested-by: default avatarJohn Wang <wangzqbj@inspur.com>
      Signed-off-by: default avatarAndrew Jeffery <andrew@aj.id.au>
      
      Link: https://lore.kernel.org/r/20190829071738.2523-1-andrew@aj.id.au
      Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
      c1432423
    • yongduan's avatar
      vhost: make sure log_num < in_num · 060423bf
      yongduan authored
      The code assumes log_num < in_num everywhere, and that is true as long as
      in_num is incremented by descriptor iov count, and log_num by 1. However
      this breaks if there's a zero sized descriptor.
      
      As a result, if a malicious guest creates a vring desc with desc.len = 0,
      it may cause the host kernel to crash by overflowing the log array. This
      bug can be triggered during the VM migration.
      
      There's no need to log when desc.len = 0, so just don't increment log_num
      in this case.
      
      Fixes: 3a4d5c94
      
       ("vhost_net: a kernel-level virtio server")
      Cc: stable@vger.kernel.org
      Reviewed-by: default avatarLidong Chen <lidongchen@tencent.com>
      Signed-off-by: default avatarruippan <ruippan@tencent.com>
      Signed-off-by: default avataryongduan <yongduan@tencent.com>
      Acked-by: default avatarMichael S. Tsirkin <mst@redhat.com>
      Reviewed-by: default avatarTyler Hicks <tyhicks@canonical.com>
      Signed-off-by: default avatarMichael S. Tsirkin <mst@redhat.com>
      060423bf
    • Michael S. Tsirkin's avatar
      vhost: block speculation of translated descriptors · a89db445
      Michael S. Tsirkin authored
      
      
      iovec addresses coming from vhost are assumed to be
      pre-validated, but in fact can be speculated to a value
      out of range.
      
      Userspace address are later validated with array_index_nospec so we can
      be sure kernel info does not leak through these addresses, but vhost
      must also not leak userspace info outside the allowed memory table to
      guests.
      
      Following the defence in depth principle, make sure
      the address is not validated out of node range.
      
      Signed-off-by: default avatarMichael S. Tsirkin <mst@redhat.com>
      Cc: stable@vger.kernel.org
      Acked-by: default avatarJason Wang <jasowang@redhat.com>
      Tested-by: default avatarJason Wang <jasowang@redhat.com>
      a89db445
  3. Sep 11, 2019
  4. Sep 10, 2019
    • Linus Torvalds's avatar
      Merge tag 'ipc-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arnd/asm-generic · 3120b9a6
      Linus Torvalds authored
      Pull ipc regression fixes from Arnd Bergmann:
       "Fix ipc regressions from y2038 patches
      
        These are two regression fixes for bugs that got introduced during the
        system call rework that went into linux-5.1 but only bisected and
        fixed now:
      
         - One patch affects semtimedop() on many of the less common 32-bit
           architectures, this just needs a single-line bugfix.
      
         - The other affects only sparc64 and has a slightly more invasive
           workaround to apply the same change to sparc64 that was done to the
           generic code used everywhere else"
      
      * tag 'ipc-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arnd/asm-generic:
        ipc: fix sparc64 ipc() wrapper
        ipc: fix semtimedop for generic 32-bit architectures
      3120b9a6
    • Dmitry Torokhov's avatar
      gpiolib: of: fix fallback quirks handling · 1dea33e8
      Dmitry Torokhov authored
      We should only try to execute fallback quirks handling when previous
      call returned -ENOENT, and not when we did not get -EPROBE_DEFER.
      The other errors should be treated as hard errors: we did find the GPIO
      description, but for some reason we failed to handle it properly.
      
      The fallbacks should only be executed when previous handlers returned
      -ENOENT, which means the mapping/description was not found.
      
      Also let's remove the explicit deferral handling when iterating through
      GPIO suffixes: it is not needed anymore as we will not be calling
      fallbacks for anything but -ENOENT.
      
      Fixes: df451f83
      
       ("gpio: of: fix Freescale SPI CS quirk handling")
      Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
      Link: https://lore.kernel.org/r/20190903231856.GA165165@dtor-ws
      Reviewed-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
      Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
      1dea33e8
    • Linus Walleij's avatar
      Merge tag 'gpio-v5.4-fixes-for-linus' of... · aefde297
      Linus Walleij authored
      Merge tag 'gpio-v5.4-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux into fixes
      
      gpio: fixes for v5.4
      
      - fix a memory leak in gpio-mockup
      - fix two flag validation bugs in gpiolib's character device ioctl()'s
      aefde297
    • Linus Torvalds's avatar
      Merge tag 'regulator-fix-v5.3-rc8' of... · 56037cad
      Linus Torvalds authored
      Merge tag 'regulator-fix-v5.3-rc8' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator
      
      Pull regulator fixes from Mark Brown:
       "This is obviouly very late, containing three small and simple driver
        specific fixes.
      
        The main one is the TWL fix, this fixes issues with cpufreq on the
        PMICs used with BeagleBoard generation OMAP SoCs which had been broken
        due to changes in the generic OPP code exposing a bug in the regulator
        driver for these devices causing them to think that OPPs weren't
        supported on the system.
      
        Sorry about sending this so late, I hadn't registered that the TWL
        issue manifested in cpufreq"
      
      * tag 'regulator-fix-v5.3-rc8' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator:
        regulator: twl: voltage lists for vdd1/2 on twl4030
        regulator: act8945a-regulator: fix ldo register addresses in set_mode hook
        regulator: slg51000: Fix a couple NULL vs IS_ERR() checks
      56037cad
  5. Sep 09, 2019
  6. Sep 08, 2019
    • Nick Desaulniers's avatar
      include/linux/compiler.h: fix Oops for Clang-compiled kernels · bfafddd8
      Nick Desaulniers authored
      
      
      GCC unescapes escaped string section names while Clang does not. Because
      __section uses the `#` stringification operator for the section name, it
      doesn't need to be escaped.
      
      This fixes an Oops observed in distro's that use systemd and not
      net.core.bpf_jit_enable=1, when their kernels are compiled with Clang.
      
      Link: https://github.com/ClangBuiltLinux/linux/issues/619
      Link: https://bugs.llvm.org/show_bug.cgi?id=42950
      Link: https://marc.info/?l=linux-netdev&m=156412960619946&w=2
      Link: https://lore.kernel.org/lkml/20190904181740.GA19688@gmail.com/
      Acked-by: default avatarWill Deacon <will@kernel.org>
      Reported-by: default avatarSedat Dilek <sedat.dilek@gmail.com>
      Suggested-by: default avatarJosh Poimboeuf <jpoimboe@redhat.com>
      Tested-by: default avatarSedat Dilek <sedat.dilek@gmail.com>
      Signed-off-by: default avatarNick Desaulniers <ndesaulniers@google.com>
      [Cherry-picked from the __section cleanup series for 5.3]
      [Adjusted commit message]
      Signed-off-by: default avatarMiguel Ojeda <miguel.ojeda.sandonis@gmail.com>
      bfafddd8
    • Jan Stancek's avatar
      x86/timer: Force PIT initialization when !X86_FEATURE_ARAT · afa8b475
      Jan Stancek authored
      KVM guests with commit c8c40767 ("x86/timer: Skip PIT initialization on
      modern chipsets") applied to guest kernel have been observed to have
      unusually higher CPU usage with symptoms of increase in vm exits for HLT
      and MSW_WRITE (MSR_IA32_TSCDEADLINE).
      
      This is caused by older QEMUs lacking support for X86_FEATURE_ARAT.  lapic
      clock retains CLOCK_EVT_FEAT_C3STOP and nohz stays inactive.  There's no
      usable broadcast device either.
      
      Do the PIT initialization if guest CPU lacks X86_FEATURE_ARAT.  On real
      hardware it shouldn't matter as ARAT and DEADLINE come together.
      
      Fixes: c8c40767
      
       ("x86/timer: Skip PIT initialization on modern chipsets")
      Signed-off-by: default avatarJan Stancek <jstancek@redhat.com>
      Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
      afa8b475
    • Linus Torvalds's avatar
      Revert "x86/apic: Include the LDR when clearing out APIC registers" · 950b07c1
      Linus Torvalds authored
      This reverts commit 558682b5
      
      .
      
      Chris Wilson reports that it breaks his CPU hotplug test scripts.  In
      particular, it breaks offlining and then re-onlining the boot CPU, which
      we treat specially (and the BIOS does too).
      
      The symptoms are that we can offline the CPU, but it then does not come
      back online again:
      
          smpboot: CPU 0 is now offline
          smpboot: Booting Node 0 Processor 0 APIC 0x0
          smpboot: do_boot_cpu failed(-1) to wakeup CPU#0
      
      Thomas says he knows why it's broken (my personal suspicion: our magic
      handling of the "cpu0_logical_apicid" thing), but for 5.3 the right fix
      is to just revert it, since we've never touched the LDR bits before, and
      it's not worth the risk to do anything else at this stage.
      
      [ Hotpluging of the boot CPU is special anyway, and should be off by
        default. See the "BOOTPARAM_HOTPLUG_CPU0" config option and the
        cpu0_hotplug kernel parameter.
      
        In general you should not do it, and it has various known limitations
        (hibernate and suspend require the boot CPU, for example).
      
        But it should work, even if the boot CPU is special and needs careful
        treatment       - Linus ]
      
      Link: https://lore.kernel.org/lkml/156785100521.13300.14461504732265570003@skylake-alporthouse-com/
      Reported-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
      Acked-by: default avatarThomas Gleixner <tglx@linutronix.de>
      Cc: Bandan Das <bsd@redhat.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      950b07c1
    • Arnd Bergmann's avatar
      ipc: fix sparc64 ipc() wrapper · fb377eb8
      Arnd Bergmann authored
      
      
      Matt bisected a sparc64 specific issue with semctl, shmctl and msgctl
      to a commit from my y2038 series in linux-5.1, as I missed the custom
      sys_ipc() wrapper that sparc64 uses in place of the generic version that
      I patched.
      
      The problem is that the sys_{sem,shm,msg}ctl() functions in the kernel
      now do not allow being called with the IPC_64 flag any more, resulting
      in a -EINVAL error when they don't recognize the command.
      
      Instead, the correct way to do this now is to call the internal
      ksys_old_{sem,shm,msg}ctl() functions to select the API version.
      
      As we generally move towards these functions anyway, change all of
      sparc_ipc() to consistently use those in place of the sys_*() versions,
      and move the required ksys_*() declarations into linux/syscalls.h
      
      The IS_ENABLED(CONFIG_SYSVIPC) check is required to avoid link
      errors when ipc is disabled.
      
      Reported-by: default avatarMatt Turner <mattst88@gmail.com>
      Fixes: 275f2214 ("ipc: rename old-style shmctl/semctl/msgctl syscalls")
      Cc: stable@v...
      fb377eb8
    • Linus Torvalds's avatar
      Merge tag 'char-misc-5.3-rc8' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc · b3a9964c
      Linus Torvalds authored
      Pull Documentation updates from Greg KH:
       "A few small patches for the documenation file that came in through the
        char-misc tree in -rc7 for your tree.
      
        They fix the mistake in the .rst format that kept the table of
        companies from showing up in the html output, and most importantly,
        add people's names to the list showing support for our process"
      
      * tag 'char-misc-5.3-rc8' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc:
        Documentation/process: Add Qualcomm process ambassador for hardware security issues
        Documentation/process/embargoed-hardware-issues: Microsoft ambassador
        Documentation/process: Add Google contact for embargoed hardware issues
        Documentation/process: Volunteer as the ambassador for Xen
      b3a9964c
    • Trilok Soni's avatar
      Documentation/process: Add Qualcomm process ambassador for hardware security issues · a8e0abae
      Trilok Soni authored
      
      
      Add Trilok Soni as process ambassador for hardware security issues
      from Qualcomm.
      
      Signed-off-by: default avatarTrilok Soni <tsoni@codeaurora.org>
      Link: https://lore.kernel.org/r/1567796517-8964-1-git-send-email-tsoni@codeaurora.org
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      a8e0abae
    • Linus Torvalds's avatar
      Merge tag 'dmaengine-fix-5.3' of git://git.infradead.org/users/vkoul/slave-dma · d3464ccd
      Linus Torvalds authored
      Pull dmaengine fixes from Vinod Koul:
       "Some late fixes for drivers:
      
         - memory leak in ti crossbar dma driver
      
         - cleanup of omap dma probe
      
         - Fix for link list configuration in sprd dma driver
      
         - Handling fixed for DMACHCLR if iommu is mapped in rcar dma"
      
      * tag 'dmaengine-fix-5.3' of git://git.infradead.org/users/vkoul/slave-dma:
        dmaengine: rcar-dmac: Fix DMACHCLR handling if iommu is mapped
        dmaengine: sprd: Fix the DMA link-list configuration
        dmaengine: ti: omap-dma: Add cleanup in omap_dma_probe()
        dmaengine: ti: dma-crossbar: Fix a memory leak bug
      d3464ccd
  7. Sep 07, 2019
    • Linus Torvalds's avatar
      Merge tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi · 1e3778cb
      Linus Torvalds authored
      Pull SCSI fix from James Bottomley:
       "Just a single lpfc fix adjusting the number of available queues for
        high CPU count systems"
      
      * tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi:
        scsi: lpfc: Raise config max for lpfc_fcp_mq_threshold variable
      1e3778cb
    • Linus Torvalds's avatar
      Merge tag 'libnvdimm-fix-5.3-rc8' of git://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm · 7641033e
      Linus Torvalds authored
      Pull libnvdimm fix from Dan Williams:
       "Restore support for 1GB alignment namespaces, truncate the end of
        misaligned namespaces"
      
      * tag 'libnvdimm-fix-5.3-rc8' of git://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm:
        libnvdimm/pfn: Fix namespace creation on misaligned addresses
      7641033e
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input · 9772152b
      Linus Torvalds authored
      Pull input fix from Dmitry Torokhov:
       "A tiny update from Benjamin removing a mistakenly added Elan PNP ID so
        that the device is again handled by hid-multitouch"
      
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input:
        Input: elan_i2c - remove Lenovo Legion Y7000 PnpID
      9772152b
    • Benjamin Tissoires's avatar
      Input: elan_i2c - remove Lenovo Legion Y7000 PnpID · 0c043d70
      Benjamin Tissoires authored
      Looks like the Bios of the Lenovo Legion Y7000 is using ELAN061B
      when the actual device is supposed to be used with hid-multitouch.
      
      Remove it from the list of the supported device, hoping that
      no one will complain about the loss in functionality.
      
      Link: https://bugzilla.kernel.org/show_bug.cgi?id=203467
      Fixes: 738c06d0
      
       ("Input: elan_i2c - add hardware ID for multiple Lenovo laptops")
      Signed-off-by: default avatarBenjamin Tissoires <benjamin.tissoires@redhat.com>
      Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
      0c043d70
    • Linus Torvalds's avatar
      Merge tag 'armsoc-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc · 36daa831
      Linus Torvalds authored
      Pull ARM SoC fixes from Arnd Bergmann:
       "There are three more fixes for this week:
      
         - The Windows-on-ARM laptops require a workaround to prevent crashing
           at boot from ACPI
      
         - The Renesas 'draak' board needs one bugfix for the backlight
           regulator
      
         - Also for Renesas, the 'hihope' board accidentally had its eMMC
           turned off in the 5.3 merge window"
      
      * tag 'armsoc-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc:
        soc: qcom: geni: Provide parameter error checking
        arm64: dts: renesas: hihope-common: Fix eMMC status
        arm64: dts: renesas: r8a77995: draak: Fix backlight regulator name
      36daa831
    • Arnd Bergmann's avatar
      ipc: fix semtimedop for generic 32-bit architectures · 78e05972
      Arnd Bergmann authored
      As Vincent noticed, the y2038 conversion of semtimedop in linux-5.1
      broke when commit 00bf25d6
      
       ("y2038: use time32 syscall names on
      32-bit") changed all system calls on all architectures that take
      a 32-bit time_t to point to the _time32 implementation, but left out
      semtimedop in the asm-generic header.
      
      This affects all 32-bit architectures using asm-generic/unistd.h:
      h8300, unicore32, openrisc, nios2, hexagon, c6x, arc, nds32 and csky.
      
      The notable exception is riscv32, which has dropped support for the
      time32 system calls entirely.
      
      Reported-by: default avatarVincent Chen <deanbo422@gmail.com>
      Cc: stable@vger.kernel.org
      Cc: Vincent Chen <deanbo422@gmail.com>
      Cc: Greentime Hu <green.hu@gmail.com>
      Cc: Yoshinori Sato <ysato@users.sourceforge.jp>
      Cc: Guan Xuetao <gxt@pku.edu.cn>
      Cc: Stafford Horne <shorne@gmail.com>
      Cc: Jonas Bonn <jonas@southpole.se>
      Cc: Stefan Kristiansson <stefan.kristiansson@saunalahti.fi>
      Cc: Ley Foon Tan <lftan@altera.com>
      Cc: Richard Kuo <rkuo@codeaurora.org>
      Cc: Mark Salter <msalter@redhat.com>
      Cc: Aurelien Jacquiot <jacquiot.aurelien@gmail.com>
      Cc: Guo Ren <guoren@kernel.org>
      Fixes: 00bf25d6
      
       ("y2038: use time32 syscall names on 32-bit")
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      78e05972
    • Linus Torvalds's avatar
      Merge tag 'configfs-for-5.3' of git://git.infradead.org/users/hch/configfs · 30d7030b
      Linus Torvalds authored
      Pull configfs fixes from Christoph Hellwig:
       "Late configfs fixes from Al that fix pretty nasty removal vs attribute
        access races"
      
      * tag 'configfs-for-5.3' of git://git.infradead.org/users/hch/configfs:
        configfs: provide exclusion between IO and removals
        configfs: new object reprsenting tree fragments
        configfs_register_group() shouldn't be (and isn't) called in rmdirable parts
        configfs: stash the data we need into configfs_buffer at open time
      30d7030b
    • Linus Torvalds's avatar
      Merge tag 'iommu-fixes-v5.3-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu · 76f5e9f8
      Linus Torvalds authored
      Pull IOMMU fixes from Joerg Roedel:
      
       - Revert an Intel VT-d patch that caused problems for some users.
      
       - Removal of a feature in the Intel VT-d driver that was never
         supported in hardware. This qualifies as a fix because the code for
         this feature sets reserved bits in the invalidation queue descriptor,
         causing failed invalidations on real hardware.
      
       - Two fixes for AMD IOMMU driver to fix a race condition and to add a
         missing IOTLB flush when kernel is booted in kdump mode.
      
      * tag 'iommu-fixes-v5.3-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu:
        iommu/amd: Fix race in increase_address_space()
        iommu/amd: Flush old domains in kdump kernel
        iommu/vt-d: Remove global page flush support
        Revert "iommu/vt-d: Avoid duplicated pci dma alias consideration"
      76f5e9f8