Skip to content
Permalink
Wu-Zongyong/vi…
Switch branches/tags

Commits on Sep 14, 2021

  1. eni_vdpa: add vDPA driver for Alibaba ENI

    This patch adds a new vDPA driver for Alibaba ENI(Elastic Network
    Interface) which is build upon virtio 0.9.5 specification.
    
    Signed-off-by: Wu Zongyong <wuzongyong@linux.alibaba.com>
    Wu Zongyong authored and intel-lab-lkp committed Sep 14, 2021
  2. vdpa: add new vdpa attribute VDPA_ATTR_DEV_F_VERSION_1

    This new attribute advertises whether the vdpa device is legacy or not.
    Users can pick right virtqueue size if the vdpa device is legacy which
    doesn't support to change virtqueue size.
    
    Signed-off-by: Wu Zongyong <wuzongyong@linux.alibaba.com>
    Wu Zongyong authored and intel-lab-lkp committed Sep 14, 2021
  3. vp_vdpa: add vq irq offloading support

    This patch implements the get_vq_irq() callback for virtio pci devices
    to allow irq offloading.
    
    Signed-off-by: Wu Zongyong <wuzongyong@linux.alibaba.com>
    Wu Zongyong authored and intel-lab-lkp committed Sep 14, 2021
  4. vdpa: fix typo

    Signed-off-by: Wu Zongyong <wuzongyong@linux.alibaba.com>
    Wu Zongyong authored and intel-lab-lkp committed Sep 14, 2021
  5. virtio-pci: introduce legacy device module

    Split common codes from virtio-pci-legacy so vDPA driver can reuse it
    later.
    
    Signed-off-by: Wu Zongyong <wuzongyong@linux.alibaba.com>
    Wu Zongyong authored and intel-lab-lkp committed Sep 14, 2021

Commits on Sep 13, 2021

  1. tools: compiler-gcc.h: Guard error attribute use with __has_attribute

    When building objtool with HOSTCC=clang, there are several errors along
    the lines of
    
      orc_dump.c:201:28: error: unknown attribute 'error' ignored [-Werror,-Wunknown-attributes]
    
    This occurs after commit 4e59869 ("compiler-gcc.h: drop checks for
    older GCC versions"), which removed the GCC_VERSION gating.  The removed
    version check just so happened to prevent __compiletime_error() from
    being defined with clang because it pretends to be GCC 4.2.1 for
    compatibility but the error attribute was not added to clang until
    14.0.0.
    
    Commit 815f0dd ("include/linux/compiler*.h: make compiler-*.h
    mutually exclusive") and commit a3f8a30 ("Compiler Attributes: use
    feature checks instead of version checks") refactored the handling of
    attributes in the main kernel to avoid situations like this but that
    refactoring has never been done for the tools directory.
    
    Refactoring is a rather large undertaking and this has never been an
    issue before so instead, just guard the definition of
    __compiletime_error() with __has_attribute() so that there are no more
    errors.
    
    Fixes: 4e59869 ("compiler-gcc.h: drop checks for older GCC versions")
    Signed-off-by: Nathan Chancellor <nathan@kernel.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    nathanchance authored and torvalds committed Sep 13, 2021
  2. Merge branch 'gcc-min-version-5.1' (make gcc-5.1 the minimum version)

    Merge patch series from Nick Desaulniers to update the minimum gcc
    version to 5.1.
    
    This is some of the left-overs from the merge window that I didn't want
    to deal with yesterday, so it comes in after -rc1 but was sent before.
    
    Gcc-4.9 support has been an annoyance for some time, and with -Werror I
    had the choice of applying a fairly big patch from Kees Cook to remove a
    fair number of initializer warnings (still leaving some), or this patch
    series from Nick that just removes the source of the problem.
    
    The initializer cleanups might still be worth it regardless, but
    honestly, I preferred just tackling the problem with gcc-4.9 head-on.
    We've been more aggressiuve about no longer having to care about
    compilers that were released a long time ago, and I think it's been a
    good thing.
    
    I added a couple of patches on top to sort out a few left-overs now that
    we no longer support gcc-4.x.
    
    As noted by Arnd, as a result of this minimum compiler version upgrade
    we can probably change our use of '--std=gnu89' to '--std=gnu11', and
    finally start using local loop declarations etc.  But this series does
    _not_ yet do that.
    
    Link: https://lore.kernel.org/all/20210909182525.372ee687@canb.auug.org.au/
    Link: https://lore.kernel.org/lkml/CAK7LNASs6dvU6D3jL2GG3jW58fXfaj6VNOe55NJnTB8UPuk2pA@mail.gmail.com/
    Link: ClangBuiltLinux#1438
    
    * emailed patches from Nick Desaulniers <ndesaulniers@google.com>:
      Drop some straggling mentions of gcc-4.9 as being stale
      compiler_attributes.h: drop __has_attribute() support for gcc4
      vmlinux.lds.h: remove old check for GCC 4.9
      compiler-gcc.h: drop checks for older GCC versions
      Makefile: drop GCC < 5 -fno-var-tracking-assignments workaround
      arm64: remove GCC version check for ARCH_SUPPORTS_INT128
      powerpc: remove GCC version check for UPD_CONSTR
      riscv: remove Kconfig check for GCC version for ARCH_RV64I
      Kconfig.debug: drop GCC 5+ version check for DWARF5
      mm/ksm: remove old GCC 4.9+ check
      compiler.h: drop fallback overflow checkers
      Documentation: raise minimum supported version of GCC to 5.1
    torvalds committed Sep 13, 2021
  3. Drop some straggling mentions of gcc-4.9 as being stale

    Fix up the admin-guide README file to the new gcc-5.1 requirement, and
    remove a stale comment about gcc support for the __assume_aligned__
    attribute.
    
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    torvalds committed Sep 13, 2021
  4. compiler_attributes.h: drop __has_attribute() support for gcc4

    Now that GCC 5.1 is the minimally supported default, the manual
    workaround for older gcc versions not having __has_attribute() are no
    longer relevant and can be removed.
    
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    torvalds committed Sep 13, 2021
  5. vmlinux.lds.h: remove old check for GCC 4.9

    Now that GCC 5.1 is the minimally supported version of GCC, we can
    effectively revert commit 85c2ce9 ("sched, vmlinux.lds: Increase
    STRUCT_ALIGNMENT to 64 bytes for GCC-4.9")
    
    Cc: Peter Zijlstra <peterz@infradead.org>
    Signed-off-by: Nick Desaulniers <ndesaulniers@google.com>
    Acked-by: Kees Cook <keescook@chromium.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    nickdesaulniers authored and torvalds committed Sep 13, 2021
  6. compiler-gcc.h: drop checks for older GCC versions

    Now that GCC 5.1 is the minimally supported default, drop the values we
    don't use.
    
    Signed-off-by: Nick Desaulniers <ndesaulniers@google.com>
    Reviewed-by: Kees Cook <keescook@chromium.org>
    Reviewed-by: Nathan Chancellor <nathan@kernel.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    nickdesaulniers authored and torvalds committed Sep 13, 2021
  7. Makefile: drop GCC < 5 -fno-var-tracking-assignments workaround

    Now that GCC 5.1 is the minimally supported version, we can drop this
    workaround for older versions of GCC.
    
    Signed-off-by: Nick Desaulniers <ndesaulniers@google.com>
    Reviewed-by: Kees Cook <keescook@chromium.org>
    Reviewed-by: Nathan Chancellor <nathan@kernel.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    nickdesaulniers authored and torvalds committed Sep 13, 2021
  8. arm64: remove GCC version check for ARCH_SUPPORTS_INT128

    Now that GCC 5.1 is the minimally supported compiler version, this
    Kconfig check is no longer necessary.
    
    Cc: Catalin Marinas <catalin.marinas@arm.com>
    Cc: Will Deacon <will@kernel.org>
    Cc: linux-arm-kernel@lists.infradead.org
    Signed-off-by: Nick Desaulniers <ndesaulniers@google.com>
    Reviewed-by: Kees Cook <keescook@chromium.org>
    Reviewed-by: Nathan Chancellor <nathan@kernel.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    nickdesaulniers authored and torvalds committed Sep 13, 2021
  9. powerpc: remove GCC version check for UPD_CONSTR

    Now that GCC 5.1 is the minimum supported version, we can drop this
    workaround for older versions of GCC. This adversely affected clang,
    too.
    
    Cc: Michael Ellerman <mpe@ellerman.id.au>
    Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
    Cc: Paul Mackerras <paulus@samba.org>
    Cc: Segher Boessenkool <segher@kernel.crashing.org>
    Cc: Christophe Leroy <christophe.leroy@csgroup.eu>
    Cc: linuxppc-dev@lists.ozlabs.org
    Signed-off-by: Nick Desaulniers <ndesaulniers@google.com>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    nickdesaulniers authored and torvalds committed Sep 13, 2021
  10. riscv: remove Kconfig check for GCC version for ARCH_RV64I

    The minimum supported version of GCC is now 5.1. The check wasn't
    correct as written anyways since GCC_VERSION is 0 when CC=clang.
    
    Cc: Paul Walmsley <paul.walmsley@sifive.com>
    Cc: Palmer Dabbelt <palmer@dabbelt.com>
    Cc: Albert Ou <aou@eecs.berkeley.edu>
    Cc: linux-riscv@lists.infradead.org
    Signed-off-by: Nick Desaulniers <ndesaulniers@google.com>
    Reviewed-by: Kees Cook <keescook@chromium.org>
    Reviewed-by: Nathan Chancellor <nathan@kernel.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    nickdesaulniers authored and torvalds committed Sep 13, 2021
  11. Kconfig.debug: drop GCC 5+ version check for DWARF5

    Now that the minimum supported version of GCC is 5.1, we no longer need
    this Kconfig version check for CONFIG_DEBUG_INFO_DWARF5.
    
    Signed-off-by: Nick Desaulniers <ndesaulniers@google.com>
    Reviewed-by: Kees Cook <keescook@chromium.org>
    Reviewed-by: Nathan Chancellor <nathan@kernel.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    nickdesaulniers authored and torvalds committed Sep 13, 2021
  12. mm/ksm: remove old GCC 4.9+ check

    The minimum supported version of GCC has been raised to GCC 5.1.
    
    Signed-off-by: Nick Desaulniers <ndesaulniers@google.com>
    Reviewed-by: Kees Cook <keescook@chromium.org>
    Reviewed-by: Nathan Chancellor <nathan@kernel.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    nickdesaulniers authored and torvalds committed Sep 13, 2021
  13. compiler.h: drop fallback overflow checkers

    Once upgrading the minimum supported version of GCC to 5.1, we can drop
    the fallback code for !COMPILER_HAS_GENERIC_BUILTIN_OVERFLOW.
    
    This is effectively a revert of commit f090782 ("compiler.h: enable
    builtin overflow checkers and add fallback code")
    
    Link: ClangBuiltLinux#1438 (comment)
    Suggested-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
    Signed-off-by: Nick Desaulniers <ndesaulniers@google.com>
    Acked-by: Kees Cook <keescook@chromium.org>
    Reviewed-by: Nathan Chancellor <nathan@kernel.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    nickdesaulniers authored and torvalds committed Sep 13, 2021
  14. Documentation: raise minimum supported version of GCC to 5.1

    commit fad7cd3 ("nbd: add the check to prevent overflow in
    __nbd_ioctl()") raised an issue from the fallback helpers added in
    commit f090782 ("compiler.h: enable builtin overflow checkers and
    add fallback code")
    
    Specifically, the helpers for checking whether the results of a
    multiplication overflowed (__unsigned_mul_overflow,
    __signed_add_overflow) use the division operator when
    !COMPILER_HAS_GENERIC_BUILTIN_OVERFLOW.  This is problematic for 64b
    operands on 32b hosts.
    
    Also, because the macro is type agnostic, it is very difficult to write
    a similarly type generic macro that dispatches to one of:
     * div64_s64
     * div64_u64
     * div_s64
     * div_u64
    
    Raising the minimum supported versions allows us to remove all of the
    fallback helpers for !COMPILER_HAS_GENERIC_BUILTIN_OVERFLOW, instead
    dispatching the compiler builtins.
    
    arm64 has already raised the minimum supported GCC version to 5.1, do
    this for all targets now.  See the link below for the previous
    discussion.
    
    Link: https://lore.kernel.org/all/20210909182525.372ee687@canb.auug.org.au/
    Link: https://lore.kernel.org/lkml/CAK7LNASs6dvU6D3jL2GG3jW58fXfaj6VNOe55NJnTB8UPuk2pA@mail.gmail.com/
    Link: ClangBuiltLinux#1438
    Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
    Reported-by: Nathan Chancellor <nathan@kernel.org>
    Suggested-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
    Signed-off-by: Nick Desaulniers <ndesaulniers@google.com>
    Reviewed-by: Kees Cook <keescook@chromium.org>
    Reviewed-by: Nathan Chancellor <nathan@kernel.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    nickdesaulniers authored and torvalds committed Sep 13, 2021
  15. x86/uaccess: Fix 32-bit __get_user_asm_u64() when CC_HAS_ASM_GOTO_OUT…

    …PUT=y
    
    Commit 865c50e ("x86/uaccess: utilize CONFIG_CC_HAS_ASM_GOTO_OUTPUT")
    added an optimised version of __get_user_asm() for x86 using 'asm goto'.
    
    Like the non-optimised code, the 32-bit implementation of 64-bit
    get_user() expands to a pair of 32-bit accesses.  Unlike the
    non-optimised code, the _original_ pointer is incremented to copy the
    high word instead of loading through a new pointer explicitly
    constructed to point at a 32-bit type.  Consequently, if the pointer
    points at a 64-bit type then we end up loading the wrong data for the
    upper 32-bits.
    
    This was observed as a mount() failure in Android targeting i686 after
    b0cfcdd ("d_path: make 'prepend()' fill up the buffer exactly on
    overflow") because the call to copy_from_kernel_nofault() from
    prepend_copy() ends up in __get_kernel_nofault() and casts the source
    pointer to a 'u64 __user *'.  An attempt to mount at "/debug_ramdisk"
    therefore ends up failing trying to mount "/debumdismdisk".
    
    Use the existing '__gu_ptr' source pointer to unsigned int for 32-bit
    __get_user_asm_u64() instead of the original pointer.
    
    Cc: Bill Wendling <morbo@google.com>
    Cc: Thomas Gleixner <tglx@linutronix.de>
    Cc: Ingo Molnar <mingo@redhat.com>
    Cc: Borislav Petkov <bp@alien8.de>
    Cc: Peter Zijlstra <peterz@infradead.org>
    Reported-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    Fixes: 865c50e ("x86/uaccess: utilize CONFIG_CC_HAS_ASM_GOTO_OUTPUT")
    Signed-off-by: Will Deacon <will@kernel.org>
    Reviewed-by: Nick Desaulniers <ndesaulniers@google.com>
    Tested-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    willdeacon authored and torvalds committed Sep 13, 2021

Commits on Sep 12, 2021

  1. Linux 5.15-rc1

    torvalds committed Sep 12, 2021
  2. Merge tag 'perf-tools-for-v5.15-2021-09-11' of git://git.kernel.org/p…

    …ub/scm/linux/kernel/git/acme/linux
    
    Pull more perf tools updates from Arnaldo Carvalho de Melo:
    
     - Add missing fields and remove some duplicate fields when printing a
       perf_event_attr.
    
     - Fix hybrid config terms list corruption.
    
     - Update kernel header copies, some resulted in new kernel features
       being automagically added to 'perf trace' syscall/tracepoint argument
       id->string translators.
    
     - Add a file generated during the documentation build to .gitignore.
    
     - Add an option to build without libbfd, as some distros, like Debian
       consider its ABI unstable.
    
     - Add support to print a textual representation of IBS raw sample data
       in 'perf report'.
    
     - Fix bpf 'perf test' sample mismatch reporting
    
     - Fix passing arguments to stackcollapse report in a 'perf script'
       python script.
    
     - Allow build-id with trailing zeros.
    
     - Look for ImageBase in PE file to compute .text offset.
    
    * tag 'perf-tools-for-v5.15-2021-09-11' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux: (25 commits)
      tools headers UAPI: Update tools's copy of drm.h headers
      tools headers UAPI: Sync drm/i915_drm.h with the kernel sources
      tools headers UAPI: Sync linux/fs.h with the kernel sources
      tools headers UAPI: Sync linux/in.h copy with the kernel sources
      perf tools: Add an option to build without libbfd
      perf tools: Allow build-id with trailing zeros
      perf tools: Fix hybrid config terms list corruption
      perf tools: Factor out copy_config_terms() and free_config_terms()
      perf tools: Fix perf_event_attr__fprintf() missing/dupl. fields
      perf tools: Ignore Documentation dependency file
      perf bpf: Provide a weak btf__load_from_kernel_by_id() for older libbpf versions
      tools include UAPI: Update linux/mount.h copy
      perf beauty: Cover more flags in the  move_mount syscall argument beautifier
      tools headers UAPI: Sync linux/prctl.h with the kernel sources
      tools include UAPI: Sync sound/asound.h copy with the kernel sources
      tools headers UAPI: Sync linux/kvm.h with the kernel sources
      tools headers UAPI: Sync x86's asm/kvm.h with the kernel sources
      perf report: Add support to print a textual representation of IBS raw sample data
      perf report: Add tools/arch/x86/include/asm/amd-ibs.h
      perf env: Add perf_env__cpuid, perf_env__{nr_}pmu_mappings
      ...
    torvalds committed Sep 12, 2021
  3. Merge tag 'compiler-attributes-for-linus-v5.15-rc1-v2' of git://githu…

    …b.com/ojeda/linux
    
    Pull compiler attributes updates from Miguel Ojeda:
    
     - Fix __has_attribute(__no_sanitize_coverage__) for GCC 4 (Marco Elver)
    
     - Add Nick as Reviewer for compiler_attributes.h (Nick Desaulniers)
    
     - Move __compiletime_{error|warning} (Nick Desaulniers)
    
    * tag 'compiler-attributes-for-linus-v5.15-rc1-v2' of git://github.com/ojeda/linux:
      compiler_attributes.h: move __compiletime_{error|warning}
      MAINTAINERS: add Nick as Reviewer for compiler_attributes.h
      Compiler Attributes: fix __has_attribute(__no_sanitize_coverage__) for GCC 4
    torvalds committed Sep 12, 2021
  4. Merge tag 'auxdisplay-for-linus-v5.15-rc1' of git://github.com/ojeda/…

    …linux
    
    Pull auxdisplay updates from Miguel Ojeda:
     "An assortment of improvements for auxdisplay:
    
       - Replace symbolic permissions with octal permissions (Jinchao Wang)
    
       - ks0108: Switch to use module_parport_driver() (Andy Shevchenko)
    
       - charlcd: Drop unneeded initializers and switch to C99 style (Andy
         Shevchenko)
    
       - hd44780: Fix oops on module unloading (Lars Poeschel)
    
       - Add I2C gpio expander example (Ralf Schlatterbeck)"
    
    * tag 'auxdisplay-for-linus-v5.15-rc1' of git://github.com/ojeda/linux:
      auxdisplay: Replace symbolic permissions with octal permissions
      auxdisplay: ks0108: Switch to use module_parport_driver()
      auxdisplay: charlcd: Drop unneeded initializers and switch to C99 style
      auxdisplay: hd44780: Fix oops on module unloading
      auxdisplay: Add I2C gpio expander example
    torvalds committed Sep 12, 2021
  5. Merge tag 'smp-urgent-2021-09-12' of git://git.kernel.org/pub/scm/lin…

    …ux/kernel/git/tip/tip
    
    Pull CPU hotplug updates from Thomas Gleixner:
     "Updates for the SMP and CPU hotplug:
    
       - Remove DEFINE_SMP_CALL_CACHE_FUNCTION() which is a left over of the
         original hotplug code and now causing trouble with the ARM64 cache
         topology setup due to the pointless SMP function call.
    
         It's not longer required as the hotplug callbacks are guaranteed to
         be invoked on the upcoming CPU.
    
       - Remove the deprecated and now unused CPU hotplug functions
    
       - Rewrite the CPU hotplug API documentation"
    
    * tag 'smp-urgent-2021-09-12' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
      Documentation: core-api/cpuhotplug: Rewrite the API section
      cpu/hotplug: Remove deprecated CPU-hotplug functions.
      thermal: Replace deprecated CPU-hotplug functions.
      drivers: base: cacheinfo: Get rid of DEFINE_SMP_CALL_CACHE_FUNCTION()
    torvalds committed Sep 12, 2021
  6. Merge tag 'char-misc-5.15-rc1-lkdtm' of git://git.kernel.org/pub/scm/…

    …linux/kernel/git/gregkh/char-misc
    
    Pull misc driver fix from Greg KH:
     "Here is a single patch for 5.15-rc1, for the lkdtm misc driver.
    
      It resolves a build issue that many people were hitting with your
      current tree, and Kees and others felt would be good to get merged
      before -rc1 comes out, to prevent them from having to constantly hit
      it as many development trees restart on -rc1, not older -rc releases.
    
      It has NOT been in linux-next, but has passed 0-day testing and looks
      'obviously correct' when reviewing it locally :)"
    
    * tag 'char-misc-5.15-rc1-lkdtm' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc:
      lkdtm: Use init_uts_ns.name instead of macros
    torvalds committed Sep 12, 2021
  7. Merge tag 'for-linus-5.15-1' of git://github.com/cminyard/linux-ipmi

    Pull IPMI updates from Corey Minyard:
     "A couple of very minor fixes for style and rate limiting.
    
      Nothing big, but probably needs to go in"
    
    * tag 'for-linus-5.15-1' of git://github.com/cminyard/linux-ipmi:
      char: ipmi: use DEVICE_ATTR helper macro
      ipmi: rate limit ipmi smi_event failure message
    torvalds committed Sep 12, 2021
  8. Merge tag 'sched_urgent_for_v5.15_rc1' of git://git.kernel.org/pub/sc…

    …m/linux/kernel/git/tip/tip
    
    Pull scheduler fixes from Borislav Petkov:
    
     - Make sure the idle timer expires in hardirq context, on PREEMPT_RT
    
     - Make sure the run-queue balance callback is invoked only on the
       outgoing CPU
    
    * tag 'sched_urgent_for_v5.15_rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
      sched: Prevent balance_push() on remote runqueues
      sched/idle: Make the idle timer expire in hard interrupt context
    torvalds committed Sep 12, 2021
  9. Merge tag 'locking_urgent_for_v5.15_rc1' of git://git.kernel.org/pub/…

    …scm/linux/kernel/git/tip/tip
    
    Pull locking fixes from Borislav Petkov:
    
     - Fix the futex PI requeue machinery to not return to userspace in
       inconsistent state
    
     - Avoid a potential null pointer dereference in the ww_mutex deadlock
       check
    
     - Other smaller cleanups and optimizations
    
    * tag 'locking_urgent_for_v5.15_rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
      locking/rtmutex: Fix ww_mutex deadlock check
      futex: Remove unused variable 'vpid' in futex_proxy_trylock_atomic()
      futex: Avoid redundant task lookup
      futex: Clarify comment for requeue_pi_wake_futex()
      futex: Prevent inconsistent state and exit race
      futex: Return error code instead of assigning it without effect
      locking/rwsem: Add missing __init_rwsem() for PREEMPT_RT
    torvalds committed Sep 12, 2021
  10. Merge tag 'timers_urgent_for_v5.15_rc1' of git://git.kernel.org/pub/s…

    …cm/linux/kernel/git/tip/tip
    
    Pull timer fix from Borislav Petkov:
    
     - Handle negative second values properly when converting a timespec64
       to nanoseconds.
    
    * tag 'timers_urgent_for_v5.15_rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
      time: Handle negative seconds correctly in timespec64_to_ns()
    torvalds committed Sep 12, 2021
  11. Merge branch 'misc.namei' of git://git.kernel.org/pub/scm/linux/kerne…

    …l/git/viro/vfs
    
    Pull namei updates from Al Viro:
     "Clearing fallout from mkdirat in io_uring series. The fix in the
      kern_path_locked() patch plus associated cleanups"
    
    * 'misc.namei' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs:
      putname(): IS_ERR_OR_NULL() is wrong here
      namei: Standardize callers of filename_create()
      namei: Standardize callers of filename_lookup()
      rename __filename_parentat() to filename_parentat()
      namei: Fix use after free in kern_path_locked
    torvalds committed Sep 12, 2021
  12. Merge tag '5.15-rc-cifs-part2' of git://git.samba.org/sfrench/cifs-2.6

    Pull smbfs updates from Steve French:
     "cifs/smb3 updates:
    
       - DFS reconnect fix
    
       - begin creating common headers for server and client
    
       - rename the cifs_common directory to smbfs_common to be more
         consistent ie change use of the name cifs to smb (smb3 or smbfs is
         more accurate, as the very old cifs dialect has long been
         superseded by smb3 dialects).
    
      In the future we can rename the fs/cifs directory to fs/smbfs.
    
      This does not include the set of multichannel fixes nor the two
      deferred close fixes (they are still being reviewed and tested)"
    
    * tag '5.15-rc-cifs-part2' of git://git.samba.org/sfrench/cifs-2.6:
      cifs: properly invalidate cached root handle when closing it
      cifs: move SMB FSCTL definitions to common code
      cifs: rename cifs_common to smbfs_common
      cifs: update FSCTL definitions
    torvalds committed Sep 12, 2021

Commits on Sep 11, 2021

  1. Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/gi…

    …t/mst/vhost
    
    Pull virtio updates from Michael Tsirkin:
    
     - vduse driver ("vDPA Device in Userspace") supporting emulated virtio
       block devices
    
     - virtio-vsock support for end of record with SEQPACKET
    
     - vdpa: mac and mq support for ifcvf and mlx5
    
     - vdpa: management netlink for ifcvf
    
     - virtio-i2c, gpio dt bindings
    
     - misc fixes and cleanups
    
    * tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost: (39 commits)
      Documentation: Add documentation for VDUSE
      vduse: Introduce VDUSE - vDPA Device in Userspace
      vduse: Implement an MMU-based software IOTLB
      vdpa: Support transferring virtual addressing during DMA mapping
      vdpa: factor out vhost_vdpa_pa_map() and vhost_vdpa_pa_unmap()
      vdpa: Add an opaque pointer for vdpa_config_ops.dma_map()
      vhost-iotlb: Add an opaque pointer for vhost IOTLB
      vhost-vdpa: Handle the failure of vdpa_reset()
      vdpa: Add reset callback in vdpa_config_ops
      vdpa: Fix some coding style issues
      file: Export receive_fd() to modules
      eventfd: Export eventfd_wake_count to modules
      iova: Export alloc_iova_fast() and free_iova_fast()
      virtio-blk: remove unneeded "likely" statements
      virtio-balloon: Use virtio_find_vqs() helper
      vdpa: Make use of PFN_PHYS/PFN_UP/PFN_DOWN helper macro
      vsock_test: update message bounds test for MSG_EOR
      af_vsock: rename variables in receive loop
      virtio/vsock: support MSG_EOR bit processing
      vhost/vsock: support MSG_EOR bit processing
      ...
    torvalds committed Sep 11, 2021
  2. Merge tag 'riscv-for-linus-5.15-mw1' of git://git.kernel.org/pub/scm/…

    …linux/kernel/git/riscv/linux
    
    Pull more RISC-V updates from Palmer Dabbelt:
    
     - A pair of defconfig additions, for NVMe and the EFI filesystem
       localization options.
    
     - A larger address space for stack randomization.
    
     - A cleanup to our install rules.
    
     - A DTS update for the Microchip Icicle board, to fix the serial
       console.
    
     - Support for build-time table sorting, which allows us to have
       __ex_table read-only.
    
    * tag 'riscv-for-linus-5.15-mw1' of git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux:
      riscv: Move EXCEPTION_TABLE to RO_DATA segment
      riscv: Enable BUILDTIME_TABLE_SORT
      riscv: dts: microchip: mpfs-icicle: Fix serial console
      riscv: move the (z)install rules to arch/riscv/Makefile
      riscv: Improve stack randomisation on RV64
      riscv: defconfig: enable NLS_CODEPAGE_437, NLS_ISO8859_1
      riscv: defconfig: enable BLK_DEV_NVME
    torvalds committed Sep 11, 2021
  3. Merge branch 'for-5.15' of git://git.kernel.org/pub/scm/linux/kernel/…

    …git/jlawall/linux
    
    Pull coccinelle updates from Julia Lawall:
     "These changes update some existing semantic patches with
      respect to some recent changes in the kernel.
    
      Specifically, the change to kvmalloc.cocci searches for
      kfree_sensitive rather than kzfree, and the change to
      use_after_iter.cocci adds list_entry_is_head as a valid
      use of a list iterator index variable after the end of
      the loop"
    
    * 'for-5.15' of git://git.kernel.org/pub/scm/linux/kernel/git/jlawall/linux:
      scripts: coccinelle: allow list_entry_is_head() to use pos
      coccinelle: api: rename kzfree to kfree_sensitive
    torvalds committed Sep 11, 2021
Older