1. 23 Feb, 2021 12 commits
    • Linus Torvalds's avatar
      Kbuild: disable TRIM_UNUSED_KSYMS option · 5cf0fd59
      Linus Torvalds authored
      The removal of EXPORT_UNUSED_SYMBOL() in commit 36794822 looks like
      (and was sold as) a no-op, but it actually had a rather serious and
      subtle side effect: the UNUSED_SYMBOLS option not only enabled the
      removed (unused) functionality, it also _disabled_ the TRIM_UNUSED_KSYMS
      functionality.
      
      And it turns out that TRIM_UNUSED_KSYMS is a huge time waste, and takes
      up a third of the kernel build time for me.  For no actual upside, since
      no distro is likely to ever be able to enable it (because they all
      support external kernel modules).
      
      Rather than re-enable EXPORT_UNUSED_SYMBOL, this just disables the
      TRIM_UNUSED_KSYMS option by marking it broken.  I'm tempted to just
      remove the support entirely, but maybe somebody has a use-case and can
      fix the behavior of it.
      
      I could have just disabled it for COMPILE_TEST, but it really smells
      like the TRIM_UNUSED_KSYMS option is badly done and not really useful,
      so this takes the more direct approach - let's see if anybody ever
      actually notices or complains.
      
      Cc: Miroslav Benes <mbenes@suse.cz>
      Cc: Emil Velikov <emil.l.velikov@gmail.com>
      Cc: Christoph Hellwig <hch@lst.de>
      Cc: Jessica Yu <jeyu@kernel.org>
      Fixes: 36794822 ("module: remove EXPORT_UNUSED_SYMBOL*")
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      5cf0fd59
    • Linus Torvalds's avatar
      Merge tag 'modules-for-v5.12' of git://git.kernel.org/pub/scm/linux/kernel/git/jeyu/linux · 21a6ab21
      Linus Torvalds authored
      Pull module updates from Jessica Yu:
      
       - Retire EXPORT_UNUSED_SYMBOL() and EXPORT_SYMBOL_GPL_FUTURE(). These
         export types were introduced between 2006 - 2008. All the of the
         unused symbols have been long removed and gpl future symbols were
         converted to gpl quite a long time ago, and I don't believe these
         export types have been used ever since. So, I think it should be safe
         to retire those export types now (Christoph Hellwig)
      
       - Refactor and clean up some aged code cruft in the module loader
         (Christoph Hellwig)
      
       - Build {,module_}kallsyms_on_each_symbol only when livepatching is
         enabled, as it is the only caller (Christoph Hellwig)
      
       - Unexport find_module() and module_mutex and fix the last module
         callers to not rely on these anymore. Make module_mutex internal to
         the module loader (Christoph Hellwig)
      
       - Harden ELF checks on module load and validate ELF structures before
         checking the module signature (Frank van der Linden)
      
       - Fix undefined symbol warning for clang (Fangrui Song)
      
       - Fix smatch warning (Dan Carpenter)
      
      * tag 'modules-for-v5.12' of git://git.kernel.org/pub/scm/linux/kernel/git/jeyu/linux:
        module: potential uninitialized return in module_kallsyms_on_each_symbol()
        module: remove EXPORT_UNUSED_SYMBOL*
        module: remove EXPORT_SYMBOL_GPL_FUTURE
        module: move struct symsearch to module.c
        module: pass struct find_symbol_args to find_symbol
        module: merge each_symbol_section into find_symbol
        module: remove each_symbol_in_section
        module: mark module_mutex static
        kallsyms: only build {,module_}kallsyms_on_each_symbol when required
        kallsyms: refactor {,module_}kallsyms_on_each_symbol
        module: use RCU to synchronize find_module
        module: unexport find_module and module_mutex
        drm: remove drm_fb_helper_modinit
        powerpc/powernv: remove get_cxl_module
        module: harden ELF info handling
        module: Ignore _GLOBAL_OFFSET_TABLE_ when warning for undefined symbols
      21a6ab21
    • Linus Torvalds's avatar
      Merge tag 'microblaze-v5.12' of git://git.monstr.eu/linux-2.6-microblaze · 74268693
      Linus Torvalds authored
      Pull microblaze updates from Michal Simek:
      
       - Fix DTB alignment
      
       - Remove code for very old GCC versions
      
       - Remove TRACING_SUPPORT selection
      
      * tag 'microblaze-v5.12' of git://git.monstr.eu/linux-2.6-microblaze:
        microblaze: Fix built-in DTB alignment to be 8-byte aligned
        microblaze: Remove support for gcc < 4
        microblaze: do not select TRACING_SUPPORT directly
      74268693
    • Linus Torvalds's avatar
      Merge tag 'objtool-core-2021-02-23' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · a56ff24e
      Linus Torvalds authored
      Pull objtool updates from Thomas Gleixner:
      
       - Make objtool work for big-endian cross compiles
      
       - Make stack tracking via stack pointer memory operations match
         push/pop semantics to prepare for architectures w/o PUSH/POP
         instructions.
      
       - Add support for analyzing alternatives
      
       - Improve retpoline detection and handling
      
       - Improve assembly code coverage on x86
      
       - Provide support for inlined stack switching
      
      * tag 'objtool-core-2021-02-23' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: (33 commits)
        objtool: Support stack-swizzle
        objtool,x86: Additionally decode: mov %rsp, (%reg)
        x86/unwind/orc: Change REG_SP_INDIRECT
        x86/power: Support objtool validation in hibernate_asm_64.S
        x86/power: Move restore_registers() to top of the file
        x86/power: Annotate indirect branches as safe
        x86/acpi: Support objtool validation in wakeup_64.S
        x86/acpi: Annotate indirect branch as safe
        x86/ftrace: Support objtool vmlinux.o validation in ftrace_64.S
        x86/xen/pvh: Annotate indirect branch as safe
        x86/xen: Support objtool vmlinux.o validation in xen-head.S
        x86/xen: Support objtool validation in xen-asm.S
        objtool: Add xen_start_kernel() to noreturn list
        objtool: Combine UNWIND_HINT_RET_OFFSET and UNWIND_HINT_FUNC
        objtool: Add asm version of STACK_FRAME_NON_STANDARD
        objtool: Assume only ELF functions do sibling calls
        x86/ftrace: Add UNWIND_HINT_FUNC annotation for ftrace_stub
        objtool: Support retpoline jump detection for vmlinux.o
        objtool: Fix ".cold" section suffix check for newer versions of GCC
        objtool: Fix retpoline detection in asm code
        ...
      a56ff24e
    • Linus Torvalds's avatar
      Merge tag 'clang-lto-v5.12-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux · 79db4d22
      Linus Torvalds authored
      Pull clang LTO updates from Kees Cook:
       "Clang Link Time Optimization.
      
        This is built on the work done preparing for LTO by arm64 folks,
        tracing folks, etc. This includes the core changes as well as the
        remaining pieces for arm64 (LTO has been the default build method on
        Android for about 3 years now, as it is the prerequisite for the
        Control Flow Integrity protections).
      
        While x86 LTO enablement is done, it depends on some pending objtool
        clean-ups. It's possible that I'll send a "part 2" pull request for
        LTO that includes x86 support.
      
        For merge log posterity, and as detailed in commit dc5723b0
        ("kbuild: add support for Clang LTO"), here is the lt;dr to do an LTO
        build:
      
              make LLVM=1 LLVM_IAS=1 defconfig
              scripts/config -e LTO_CLANG_THIN
              make LLVM=1 LLVM_IAS=1
      
        (To do a cross-compile of arm64, add "CROSS_COMPILE=aarch64-linux-gnu-"
        and "ARCH=arm64" to the "make" command lines.)
      
        Summary:
      
         - Clang LTO build infrastructure and arm64-specific enablement (Sami
           Tolvanen)
      
         - Recursive build CC_FLAGS_LTO fix (Alexander Lobakin)"
      
      * tag 'clang-lto-v5.12-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux:
        kbuild: prevent CC_FLAGS_LTO self-bloating on recursive rebuilds
        arm64: allow LTO to be selected
        arm64: disable recordmcount with DYNAMIC_FTRACE_WITH_REGS
        arm64: vdso: disable LTO
        drivers/misc/lkdtm: disable LTO for rodata.o
        efi/libstub: disable LTO
        scripts/mod: disable LTO for empty.c
        modpost: lto: strip .lto from module names
        PCI: Fix PREL32 relocations for LTO
        init: lto: fix PREL32 relocations
        init: lto: ensure initcall ordering
        kbuild: lto: add a default list of used symbols
        kbuild: lto: merge module sections
        kbuild: lto: limit inlining
        kbuild: lto: fix module versioning
        kbuild: add support for Clang LTO
        tracing: move function tracer options to Kconfig
      79db4d22
    • Linus Torvalds's avatar
      Merge tag 'pinctrl-v5.12-1' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl · 3b9cdafb
      Linus Torvalds authored
      Pull pin control updates from Linus Walleij:
       "This is the bulk of pin control changes for the v5.12 kernel.
      
        This time a calm set with no core changes.
      
        New drivers/subdrivers:
      
         - Renesas R8A7790A0 pin controller.
      
         - Allwinner H616 and H616-R pin controllers.
      
         - Qualcomm SM8350 and SC8180x pin controllers.
      
        Improvements:
      
         - Redo the DT bindings for Ralink RT2880.
      
         - A common Qualcomm TLMM DT binding in YAML.
      
         - Delete the unused drivers for U300, COH901, Sirf Atlas, and ZTE ZX"
      
      * tag 'pinctrl-v5.12-1' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl: (71 commits)
        pinctrl: mediatek: Fix trigger type setting follow for unexpected interrupt
        dt-bindings: pinctrl: Group tuples in pin control properties
        pinctrl: nuvoton: npcm7xx: Fix alignment of table header comment
        pinctrl: at91-pio4: fix "Prefer 'unsigned int' to bare use of 'unsigned'"
        pinctrl: at91-pio4: add support for slew-rate
        dt-bindings: pinctrl: at91-pio4: add slew-rate
        pinctrl: actions: Add depends on || COMPILE_TEST
        pinctrl: single: set function name when adding function
        pinctrl: qcom: Add sc8180x TLMM driver
        dt-bindings: pinctrl: qcom: Add sc8180x binding
        dt-bindings: pinctrl: qcom: Define common TLMM binding
        pinctrl: qcom: Add SM8350 pinctrl driver
        dt-bindings: pinctrl: qcom: Add SM8350 pinctrl bindings
        pinctrl: samsung: use raw_spinlock for s3c64xx
        dt-bindings: mediatek: mt8192: Fix dt_binding_check warning
        pinctrl: qcom: spmi-mpp: Add PM8019 compatible
        pinctrl: pinmux: add function selector to pinmux-functions
        pinctrl: samsung: use raw_spinlock for locking
        pinctrl: clarify #pinctrl-cells for pinctrl-single,pins
        pinctrl: actions: Add the platform dependency to drivers
        ...
      3b9cdafb
    • Linus Torvalds's avatar
      Merge tag 'for-linus-5.12-1' of git://github.com/cminyard/linux-ipmi · f81f2138
      Linus Torvalds authored
      Pull IPMI update from Corey Minyard:
       "Only one change, but it's required for other things, so it needs to go
        in"
      
      * tag 'for-linus-5.12-1' of git://github.com/cminyard/linux-ipmi:
        ipmi: remove open coded version of SMBus block write
      f81f2138
    • Linus Torvalds's avatar
      Merge tag 'topic/iomem-mmap-vs-gup-2021-02-22' of git://anongit.freedesktop.org/drm/drm · e913a8cd
      Linus Torvalds authored
      Pull follow_pfn() updates from Daniel Vetter:
       "Fixes around VM_FPNMAP and follow_pfn:
      
         - replace mm/frame_vector.c by get_user_pages in misc/habana and
           drm/exynos drivers, then move that into media as it's sole user
      
         - close race in generic_access_phys
      
         - s390 pci ioctl fix of this series landed in 5.11 already
      
         - properly revoke iomem mappings (/dev/mem, pci files)"
      
      * tag 'topic/iomem-mmap-vs-gup-2021-02-22' of git://anongit.freedesktop.org/drm/drm:
        PCI: Revoke mappings like devmem
        PCI: Also set up legacy files only after sysfs init
        sysfs: Support zapping of binary attr mmaps
        resource: Move devmem revoke code to resource framework
        /dev/mem: Only set filp->f_mapping
        PCI: Obey iomem restrictions for procfs mmap
        mm: Close race in generic_access_phys
        media: videobuf2: Move frame_vector into media subsystem
        mm/frame-vector: Use FOLL_LONGTERM
        misc/habana: Use FOLL_LONGTERM for userptr
        misc/habana: Stop using frame_vector helpers
        drm/exynos: Use FOLL_LONGTERM for g2d cmdlists
        drm/exynos: Stop using frame_vector helpers
      e913a8cd
    • Linus Torvalds's avatar
      Merge tag 'topic/kcmp-kconfig-2021-02-22' of git://anongit.freedesktop.org/drm/drm · 4b5f9254
      Linus Torvalds authored
      Pull kcmp kconfig update from Daniel Vetter:
       "Make the kcmp syscall available independently of checkpoint/restore.
      
        drm userspaces uses this, systemd uses this, so makes sense to pull it
        out from the checkpoint-restore bundle.
      
        Kees reviewed this from security pov and is happy with the final
        version"
      
      Link: https://lwn.net/Articles/845448/
      
      * tag 'topic/kcmp-kconfig-2021-02-22' of git://anongit.freedesktop.org/drm/drm:
        kcmp: Support selection of SYS_kcmp without CHECKPOINT_RESTORE
      4b5f9254
    • Linus Torvalds's avatar
      Merge branch 'userns-for-v5.12' of... · 7b0b78df
      Linus Torvalds authored
      Merge branch 'userns-for-v5.12' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace
      
      Pull user namespace update from Eric Biederman:
       "There are several pieces of active development, but only a single
        change made it through the gauntlet to be ready for v5.12. That change
        is tightening up the semantics of the v3 capabilities xattr. It is
        just short of being a bug-fix/security issue as no user space is known
        to even generate the problem case"
      
      * 'userns-for-v5.12' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace:
        capabilities: Don't allow writing ambiguous v3 file capabilities
      7b0b78df
    • Linus Torvalds's avatar
      Merge branch 'for-5.12' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/wq · ac9e806c
      Linus Torvalds authored
      Pull qorkqueue updates from Tejun Heo:
       "Tracepoint and comment updates only"
      
      * 'for-5.12' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/wq:
        workqueue: Use %s instead of function name
        workqueue: tracing the name of the workqueue instead of it's address
        workqueue: fix annotation for WQ_SYSFS
      ac9e806c
    • Linus Torvalds's avatar
      Merge branch 'for-5.12' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup · 4b3bd22b
      Linus Torvalds authored
      Pull cgroup updates from Tejun Heo:
       "Nothing interesting. Just two minor patches"
      
      * 'for-5.12' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup:
        cpuset: fix typos in comments
        cgroup: cgroup.{procs,threads} factor out common parts
      4b3bd22b
  2. 22 Feb, 2021 28 commits
    • Linus Torvalds's avatar
      Merge tag 'powerpc-5.12-1' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux · b12b4724
      Linus Torvalds authored
      Pull powerpc updates from Michael Ellerman:
      
       - A large series adding wrappers for our interrupt handlers, so that
         irq/nmi/user tracking can be isolated in the wrappers rather than
         spread in each handler.
      
       - Conversion of the 32-bit syscall handling into C.
      
       - A series from Nick to streamline our TLB flushing when using the
         Radix MMU.
      
       - Switch to using queued spinlocks by default for 64-bit server CPUs.
      
       - A rework of our PCI probing so that it happens later in boot, when
         more generic infrastructure is available.
      
       - Two small fixes to allow 32-bit little-endian processes to run on
         64-bit kernels.
      
       - Other smaller features, fixes & cleanups.
      
      Thanks to: Alexey Kardashevskiy, Ananth N Mavinakayanahalli, Aneesh
      Kumar K.V, Athira Rajeev, Bhaskar Chowdhury, Cédric Le Goater, Chengyang
      Fan, Christophe Leroy, Christopher M. Riedl, Fabiano Rosas, Florian
      Fainelli, Frederic Barrat, Ganesh Goudar, Hari Bathini, Jiapeng Chong,
      Joseph J Allen, Kajol Jain, Markus Elfring, Michal Suchanek, Nathan
      Lynch, Naveen N. Rao, Nicholas Piggin, Oliver O'Halloran, Pingfan Liu,
      Po-Hsu Lin, Qian Cai, Ram Pai, Randy Dunlap, Sandipan Das, Stephen
      Rothwell, Tyrel Datwyler, Will Springer, Yury Norov, and Zheng Yongjun.
      
      * tag 'powerpc-5.12-1' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux: (188 commits)
        powerpc/perf: Adds support for programming of Thresholding in P10
        powerpc/pci: Remove unimplemented prototypes
        powerpc/uaccess: Merge raw_copy_to_user_allowed() into raw_copy_to_user()
        powerpc/uaccess: Merge __put_user_size_allowed() into __put_user_size()
        powerpc/uaccess: get rid of small constant size cases in raw_copy_{to,from}_user()
        powerpc/64: Fix stack trace not displaying final frame
        powerpc/time: Remove get_tbl()
        powerpc/time: Avoid using get_tbl()
        spi: mpc52xx: Avoid using get_tbl()
        powerpc/syscall: Avoid storing 'current' in another pointer
        powerpc/32: Handle bookE debugging in C in syscall entry/exit
        powerpc/syscall: Do not check unsupported scv vector on PPC32
        powerpc/32: Remove the counter in global_dbcr0
        powerpc/32: Remove verification of MSR_PR on syscall in the ASM entry
        powerpc/syscall: implement system call entry/exit logic in C for PPC32
        powerpc/32: Always save non volatile GPRs at syscall entry
        powerpc/syscall: Change condition to check MSR_RI
        powerpc/syscall: Save r3 in regs->orig_r3
        powerpc/syscall: Use is_compat_task()
        powerpc/syscall: Make interrupt.c buildable on PPC32
        ...
      b12b4724
    • Linus Torvalds's avatar
      Merge tag 'for-linus' of git://git.armlinux.org.uk/~rmk/linux-arm · 6ff6f86b
      Linus Torvalds authored
      Pull ARM updates from Russell King:
      
       - Generalise byte swapping assembly
      
       - Update debug addresses for STI
      
       - Validate start of physical memory with DTB
      
       - Do not clear SCTLR.nTLSMD in decompressor
      
       - amba/locomo/sa1111 devices remove method return type is void
      
       - address markers for KASAN in page table dump
      
      * tag 'for-linus' of git://git.armlinux.org.uk/~rmk/linux-arm:
        ARM: 9065/1: OABI compat: fix build when EPOLL is not enabled
        ARM: 9055/1: mailbox: arm_mhuv2: make remove callback return void
        amba: Make use of bus_type functions
        amba: Make the remove callback return void
        vfio: platform: simplify device removal
        amba: reorder functions
        amba: Fix resource leak for drivers without .remove
        ARM: 9054/1: arch/arm/mm/mmu.c: Remove duplicate header
        ARM: 9053/1: arm/mm/ptdump:Add address markers for KASAN regions
        ARM: 9051/1: vdso: remove unneded extra-y addition
        ARM: 9050/1: Kconfig: Select ARCH_HAVE_NMI_SAFE_CMPXCHG where possible
        ARM: 9049/1: locomo: make locomo bus's remove callback return void
        ARM: 9048/1: sa1111: make sa1111 bus's remove callback return void
        ARM: 9047/1: smp: remove unused variable
        ARM: 9046/1: decompressor: Do not clear SCTLR.nTLSMD for ARMv7+ cores
        ARM: 9045/1: uncompress: Validate start of physical memory against passed DTB
        ARM: 9042/1: debug: no uncompress debugging while semihosting
        ARM: 9041/1: sti LL_UART: add STiH418 SBC UART0 support
        ARM: 9040/1: use DEBUG_UART_PHYS and DEBUG_UART_VIRT for sti LL_UART
        ARM: 9039/1: assembler: generalize byte swapping macro into rev_l
      6ff6f86b
    • Linus Torvalds's avatar
      Merge tag 'timers-urgent-2021-02-22' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 4aa36444
      Linus Torvalds authored
      Pull timer fixes from Thomas Gleixner:
       "A small set of clockevent fixes which fell through the cracks before
        the 5.11 release:
      
         - Ensure a clock is enabled on sh_cmt
      
         - Trivial compile fail and compile warning fixes"
      
      * tag 'timers-urgent-2021-02-22' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        clocksource/drivers/mxs_timer: Add missing semicolon when DEBUG is defined
        clocksource/drivers/sh_cmt: Make sure channel clock supply is enabled
        clocksource/drivers/ixp4xx: Select TIMER_OF when needed
      4aa36444
    • Linus Torvalds's avatar
      Merge tag 'trace-v5.12' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace · c9584234
      Linus Torvalds authored
      Pull tracing updates from Steven Rostedt:
      
       - Update to the way irqs and preemption is tracked via the trace event
         PC field
      
       - Fix handling of unregistering event failing due to allocate memory.
         This is only triggered by failure injection, as it is pretty much
         guaranteed to have less than a page allocation succeed.
      
       - Do not show the useless "filter" or "enable" files for the "ftrace"
         trace system, as they have no effect on doing anything.
      
       - Add a warning if kprobes are registered more than once.
      
       - Synthetic events now have their fields parsed by semicolons. Old
         formats without semicolons will still work, but new features will
         require them.
      
       - New option to allow trace events to show %p without hashing in trace
         file. The trace file can only be read by root, and reading the raw
         event buffer did not have any pointers hashed, so this does not
         expose anything new.
      
       - New directory in tools called tools/tracing, where a new tool that
         reads sequential latency reports from the ftrace latency tracers.
      
       - Other minor fixes and cleanups.
      
      * tag 'trace-v5.12' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace: (33 commits)
        kprobes: Fix to delay the kprobes jump optimization
        tracing/tools: Add the latency-collector to tools directory
        tracing: Make hash-ptr option default
        tracing: Add ptr-hash option to show the hashed pointer value
        tracing: Update the stage 3 of trace event macro comment
        tracing: Show real address for trace event arguments
        selftests/ftrace: Add '!event' synthetic event syntax check
        selftests/ftrace: Update synthetic event syntax errors
        tracing: Add a backward-compatibility check for synthetic event creation
        tracing: Update synth command errors
        tracing: Rework synthetic event command parsing
        tracing/dynevent: Delegate parsing to create function
        kprobes: Warn if the kprobe is reregistered
        ftrace: Remove unused ftrace_force_update()
        tracepoints: Code clean up
        tracepoints: Do not punish non static call users
        tracepoints: Remove unnecessary "data_args" macro parameter
        tracing: Do not create "enable" or "filter" files for ftrace event subsystem
        kernel: trace: preemptirq_delay_test: add cpu affinity
        tracepoint: Do not fail unregistering a probe due to memory failure
        ...
      c9584234
    • Linus Torvalds's avatar
      Merge tag 'perf-tools-for-v5.12-2020-02-19' of... · 3a36281a
      Linus Torvalds authored
      Merge tag 'perf-tools-for-v5.12-2020-02-19' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux
      
      Pull perf tool updates from Arnaldo Carvalho de Melo:
       "New features:
      
         - Support instruction latency in 'perf report', with both memory
           latency (weight) and instruction latency information, users can
           locate expensive load instructions and understand time spent in
           different stages.
      
         - Extend 'perf c2c' to display the number of loads which were blocked
           by data or address conflict.
      
         - Add 'perf stat' support for L2 topdown events in systems such as
           Intel's Sapphire rapids server.
      
         - Add support for PERF_SAMPLE_CODE_PAGE_SIZE in various tools, as a
           sort key, for instance:
      
              perf report --stdio --sort=comm,symbol,code_page_size
      
         - New 'perf daemon' command to run long running sessions while
           providing a way to control the enablement of events without
           restarting a traditional 'perf record' session.
      
         - Enable counting events for BPF programs in 'perf stat' just like
           for other targets (tid, cgroup, cpu, etc), e.g.:
      
              # perf stat -e ref-cycles,cycles -b 254 -I 1000
                 1.487903822            115,200      ref-cycles
                 1.487903822             86,012      cycles
                 2.489147029             80,560      ref-cycles
                 2.489147029             73,784      cycles
              ^C
      
           The example above counts 'cycles' and 'ref-cycles' of BPF program
           of id 254. It is similar to bpftool-prog-profile command, but more
           flexible.
      
         - Support the new layout for PERF_RECORD_MMAP2 to carry the DSO
           build-id using infrastructure generalised from the eBPF subsystem,
           removing the need for traversing the perf.data file to collect
           build-ids at the end of 'perf record' sessions and helping with
           long running sessions where binaries can get replaced in updates,
           leading to possible mis-resolution of symbols.
      
         - Support filtering by hex address in 'perf script'.
      
         - Support DSO filter in 'perf script', like in other perf tools.
      
         - Add namespaces support to 'perf inject'
      
         - Add support for SDT (Dtrace Style Markers) events on ARM64.
      
        perf record:
      
         - Fix handling of eventfd() when draining a buffer in 'perf record'.
      
         - Improvements to the generation of metadata events for pre-existing
           threads (mmaps, comm, etc), speeding up the work done at the start
           of system wide or per CPU 'perf record' sessions.
      
        Hardware tracing:
      
         - Initial support for tracing KVM with Intel PT.
      
         - Intel PT fixes for IPC
      
         - Support Intel PT PSB (synchronization packets) events.
      
         - Automatically group aux-output events to overcome --filter syntax.
      
         - Enable PERF_SAMPLE_DATA_SRC on ARMs SPE.
      
         - Update ARM's CoreSight hardware tracing OpenCSD library to v1.0.0.
      
        perf annotate TUI:
      
         - Fix handling of 'k' ("show line number") hotkey
      
         - Fix jump parsing for C++ code.
      
        perf probe:
      
         - Add protection to avoid endless loop.
      
        cgroups:
      
         - Avoid reading cgroup mountpoint multiple times, caching it.
      
         - Fix handling of cgroup v1/v2 in mixed hierarchy.
      
        Symbol resolving:
      
         - Add OCaml symbol demangling.
      
         - Further fixes for handling PE executables when using perf with Wine
           and .exe/.dll files.
      
         - Fix 'perf unwind' DSO handling.
      
         - Resolve symbols against debug file first, to deal with artifacts
           related to LTO.
      
         - Fix gap between kernel end and module start on powerpc.
      
        Reporting tools:
      
         - The DSO filter shouldn't show samples in unresolved maps.
      
         - Improve debuginfod support in various tools.
      
        build ids:
      
         - Fix 16-byte build ids in 'perf buildid-cache', add a 'perf test'
           entry for that case.
      
        perf test:
      
         - Support for PERF_SAMPLE_WEIGHT_STRUCT.
      
         - Add test case for PERF_SAMPLE_CODE_PAGE_SIZE.
      
         - Shell based tests for 'perf daemon's commands ('start', 'stop,
           'reconfig', 'list', etc).
      
         - ARM cs-etm 'perf test' fixes.
      
         - Add parse-metric memory bandwidth testcase.
      
        Compiler related:
      
         - Fix 'perf probe' kretprobe issue caused by gcc 11 bug when used
           with -fpatchable-function-entry.
      
         - Fix ARM64 build with gcc 11's -Wformat-overflow.
      
         - Fix unaligned access in sample parsing test.
      
         - Fix printf conversion specifier for IP addresses on arm64, s390 and
           powerpc.
      
        Arch specific:
      
         - Support exposing Performance Monitor Counter SPRs as part of
           extended regs on powerpc.
      
         - Add JSON 'perf stat' metrics for ARM64's imx8mp, imx8mq and imx8mn
           DDR, fix imx8mm ones.
      
         - Fix common and uarch events for ARM64's A76 and Ampere eMag"
      
      * tag 'perf-tools-for-v5.12-2020-02-19' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux: (148 commits)
        perf buildid-cache: Don't skip 16-byte build-ids
        perf buildid-cache: Add test for 16-byte build-id
        perf symbol: Remove redundant libbfd checks
        perf test: Output the sub testing result in cs-etm
        perf test: Suppress logs in cs-etm testing
        perf tools: Fix arm64 build error with gcc-11
        perf intel-pt: Add documentation for tracing virtual machines
        perf intel-pt: Split VM-Entry and VM-Exit branches
        perf intel-pt: Adjust sample flags for VM-Exit
        perf intel-pt: Allow for a guest kernel address filter
        perf intel-pt: Support decoding of guest kernel
        perf machine: Factor out machine__idle_thread()
        perf machine: Factor out machines__find_guest()
        perf intel-pt: Amend decoder to track the NR flag
        perf intel-pt: Retain the last PIP packet payload as is
        perf intel_pt: Add vmlaunch and vmresume as branches
        perf script: Add branch types for VM-Entry and VM-Exit
        perf auxtrace: Automatically group aux-output events
        perf test: Fix unaligned access in sample parsing test
        perf tools: Support arch specific PERF_SAMPLE_WEIGHT_STRUCT processing
        ...
      3a36281a
    • Linus Torvalds's avatar
      Merge tag 'nfsd-5.12-1' of git://git.kernel.org/pub/scm/linux/kernel/git/cel/linux · 7c70f3a7
      Linus Torvalds authored
      Pull more nfsd updates from Chuck Lever:
       "Here are a few additional NFSD commits for the merge window:
      
       Optimization:
         - Cork the socket while there are queued replies
      
        Fixes:
         - DRC shutdown ordering
         - svc_rdma_accept() lockdep splat"
      
      * tag 'nfsd-5.12-1' of git://git.kernel.org/pub/scm/linux/kernel/git/cel/linux:
        SUNRPC: Further clean up svc_tcp_sendmsg()
        SUNRPC: Remove redundant socket flags from svc_tcp_sendmsg()
        SUNRPC: Use TCP_CORK to optimise send performance on the server
        svcrdma: Hold private mutex while invoking rdma_accept()
        nfsd: register pernet ops last, unregister first
      7c70f3a7
    • Linus Torvalds's avatar
      Merge tag 'ceph-for-5.12-rc1' of git://github.com/ceph/ceph-client · 20bf195e
      Linus Torvalds authored
      Pull ceph updates from Ilya Dryomov:
       "With netfs helper library and fscache rework delayed, just a few cap
        handling improvements to avoid grabbing mmap_lock in some code paths
        and deal with capsnaps better and a mount option cleanup"
      
      * tag 'ceph-for-5.12-rc1' of git://github.com/ceph/ceph-client:
        ceph: defer flushing the capsnap if the Fb is used
        libceph: remove osdtimeout option entirely
        libceph: deprecate [no]cephx_require_signatures options
        ceph: allow queueing cap/snap handling after putting cap references
        ceph: clean up inode work queueing
        ceph: fix flush_snap logic after putting caps
      20bf195e
    • Linus Torvalds's avatar
      Merge tag 'fs_for_v5.12-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs · 9fe19046
      Linus Torvalds authored
      Pull isofs, udf, and quota updates from Jan Kara:
       "Several udf, isofs, and quota fixes"
      
      * tag 'fs_for_v5.12-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs:
        parser: Fix kernel-doc markups
        udf: handle large user and group ID
        isofs: handle large user and group ID
        parser: add unsigned int parser
        udf: fix silent AED tagLocation corruption
        isofs: release buffer head before return
        quota: Fix memory leak when handling corrupted quota file
      9fe19046
    • Linus Torvalds's avatar
      Merge tag 'fsnotify_for_v5.12-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs · db990385
      Linus Torvalds authored
      Pull fsnotify update from Jan Kara:
       "Make inotify groups be charged against appropriate memcgs"
      
      * tag 'fsnotify_for_v5.12-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs:
        inotify, memcg: account inotify instances to kmemcg
      db990385
    • Linus Torvalds's avatar
      Merge tag 'lazytime_for_v5.12-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs · d61c6a58
      Linus Torvalds authored
      Pull lazytime updates from Jan Kara:
       "Cleanups of the lazytime handling in the writeback code making rules
        for calling ->dirty_inode() filesystem handlers saner"
      
      * tag 'lazytime_for_v5.12-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs:
        ext4: simplify i_state checks in __ext4_update_other_inode_time()
        gfs2: don't worry about I_DIRTY_TIME in gfs2_fsync()
        fs: improve comments for writeback_single_inode()
        fs: drop redundant check from __writeback_single_inode()
        fs: clean up __mark_inode_dirty() a bit
        fs: pass only I_DIRTY_INODE flags to ->dirty_inode
        fs: don't call ->dirty_inode for lazytime timestamp updates
        fat: only specify I_DIRTY_TIME when needed in fat_update_time()
        fs: only specify I_DIRTY_TIME when needed in generic_update_time()
        fs: correctly document the inode dirty flags
      d61c6a58
    • Linus Torvalds's avatar
      Merge tag 'exfat-for-5.12-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/linkinjeon/exfat · c63dca9e
      Linus Torvalds authored
      Pull exfat updates from Namjae Jeon:
      
       - improve file deletion performance with dirsync mount option
      
       - fix shift-out-of-bounds in exfat_fill_super() reported by syzkaller
      
      * tag 'exfat-for-5.12-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/linkinjeon/exfat:
        exfat: improve performance of exfat_free_cluster when using dirsync mount option
        exfat: fix shift-out-of-bounds in exfat_fill_super()
      c63dca9e
    • Linus Torvalds's avatar
      Merge tag 'zonefs-5.12-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/dlemoal/zonefs · 0f3d950d
      Linus Torvalds authored
      Pull zonefs updates from Damien Le Moal:
       "Two changes:
      
         - A fix that did not make it in time for 5.11, to correct the file
           size initialization of full sequential zone, from Shin'ichiro
      
         - Add file operation tracepoints to help with debugging, from
           Johannes"
      
      * tag 'zonefs-5.12-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/dlemoal/zonefs:
        zonefs: Fix file size of zones in full condition
        zonefs: add tracepoints for file operations
      0f3d950d
    • Linus Torvalds's avatar
      Merge branch 'work.audit' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs · 250a25e7
      Linus Torvalds authored
      Pull RCU-safe common_lsm_audit() from Al Viro:
       "Make common_lsm_audit() non-blocking and usable from RCU pathwalk
        context.
      
        We don't really need to grab/drop dentry in there - rcu_read_lock() is
        enough. There's a couple of followups using that to simplify the
        logics in selinux, but those hadn't soaked in -next yet, so they'll
        have to go in next window"
      
      * 'work.audit' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs:
        make dump_common_audit_data() safe to be called from RCU pathwalk
        new helper: d_find_alias_rcu()
      250a25e7
    • Linus Torvalds's avatar
      Merge branch 'work.d_name' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs · 205f92d7
      Linus Torvalds authored
      Pull d_name whack-a-mole from Al Viro:
       "A bunch of places that play with ->d_name in printks instead of using
        proper formats..."
      
      * 'work.d_name' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs:
        orangefs_file_mmap(): use %pD
        cifs_debug: use %pd instead of messing with ->d_name
        erofs: use %pd instead of messing with ->d_name
        cramfs: use %pD instead of messing with file_dentry()->d_name
      205f92d7
    • Linus Torvalds's avatar
      Merge tag 'memblock-v5.12-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rppt/memblock · 7b7028ed
      Linus Torvalds authored
      Pull memblock update from Mike Rapoport:
       "Remove return value of memblock_free_all()
      
        memblock_free_all() returns the total count of freed pages and its
        callers used this value to update totalram_pages. This update is now
        anyway a part of memblock_free_all() and its callers no longer check
        the return value, so make memblock_free_all() void"
      
      * tag 'memblock-v5.12-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rppt/memblock:
        mm: memblock: remove return value of memblock_free_all()
      7b7028ed
    • Linus Torvalds's avatar
      Merge tag 'kgdb-5.12-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/danielt/linux · 899cbb0e
      Linus Torvalds authored
      Pull kgdb updates from Daniel Thompson:
       "Another fairly small set of changes of changes this cycle. The most
        significant functional change is a fix to better manage the flags when
        allocating memory.
      
        Additionally there is the removal of some unused code (which is
        slightly more dramatic than it sounds given it means there are now no
        tasklets in kgdb) together with a tidy up of the debug prints and some
        spelling corrections for the documentation"
      
      * tag 'kgdb-5.12-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/danielt/linux:
        kgdb: Remove kgdb_schedule_breakpoint()
        kdb: Make memory allocations more robust
        kdb: kdb_support: Fix debugging information problem
        kernel: debug: fix typo issue
        kgdb: rectify kernel-doc for kgdb_unregister_io_module()
      899cbb0e
    • Linus Torvalds's avatar
      Merge tag 'livepatching-for-5.12' of... · 54ab35d6
      Linus Torvalds authored
      Merge tag 'livepatching-for-5.12' of git://git.kernel.org/pub/scm/linux/kernel/git/livepatching/livepatching
      
      Pull livepatching updates from Petr Mladek:
      
       - Practical information how to implement reliable stacktraces needed by
         the livepatching consistency model by Mark Rutland and Mark Brown.
      
       - Automatically generated documentation contents by Mark Brown.
      
      * tag 'livepatching-for-5.12' of git://git.kernel.org/pub/scm/linux/kernel/git/livepatching/livepatching:
        Documentation: livepatch: document reliable stacktrace
        Documentation: livepatch: Convert to automatically generated contents
      54ab35d6
    • Linus Torvalds's avatar
      Merge tag 'printk-for-5.12' of git://git.kernel.org/pub/scm/linux/kernel/git/printk/linux · b2bec7d8
      Linus Torvalds authored
      Pull printk updates from Petr Mladek:
      
       - New "no_hash_pointers" kernel parameter causes that %p shows raw
         pointer values instead of hashed ones. It is intended only for
         debugging purposes. Misuse is prevented by a fat warning message that
         is inspired by trace_printk().
      
       - Prevent a possible deadlock when flushing printk_safe buffers during
         panic().
      
       - Fix performance regression caused by the lockless printk ringbuffer.
         It was visible with huge log buffer and long messages.
      
       - Documentation fix-up.
      
      * tag 'printk-for-5.12' of git://git.kernel.org/pub/scm/linux/kernel/git/printk/linux:
        lib/vsprintf: no_hash_pointers prints all addresses as unhashed
        kselftest: add support for skipped tests
        lib: use KSTM_MODULE_GLOBALS macro in kselftest drivers
        printk: avoid prb_first_valid_seq() where possible
        printk: fix deadlock when kernel panic
        printk: rectify kernel-doc for prb_rec_init_wr()
      b2bec7d8
    • Linus Torvalds's avatar
      Merge tag 'linux-kselftest-kunit-5.12-rc1' of... · 783955f0
      Linus Torvalds authored
      Merge tag 'linux-kselftest-kunit-5.12-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest
      
      Pull KUnit updates from Shuah Khan
      
       - support for filtering test suites using glob from Daniel Latypov.
      
           "kunit_filter.glob" command line option is passed to the UML
           kernel, which currently only supports filtering by suite name.
           This support allows running different subsets of tests, e.g.
      
            $ ./tools/testing/kunit/kunit.py build
            $ ./tools/testing/kunit/kunit.py exec 'list*'
            $ ./tools/testing/kunit/kunit.py exec 'kunit*'
      
       - several fixes and cleanups also from Daniel Latypov.
      
      * tag 'linux-kselftest-kunit-5.12-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest:
        kunit: tool: fix unintentional statefulness in run_kernel()
        kunit: tool: add support for filtering suites by glob
        kunit: add kunit.filter_glob cmdline option to filter suites
        kunit: don't show `1 == 1` in failed assertion messages
        kunit: make kunit_tool accept optional path to .kunitconfig fragment
        Documentation: kunit: add tips.rst for small examples
        KUnit: Docs: make start.rst example Kconfig follow style.rst
        kunit: tool: simplify kconfig is_subset_of() logic
        minor: kunit: tool: fix unit test so it can run from non-root dir
        kunit: tool: use `with open()` in unit test
        kunit: tool: stop using bare asserts in unit test
        kunit: tool: fix unit test cleanup handling
      783955f0
    • Linus Torvalds's avatar
      Merge tag 'linux-kselftest-next-5.12-rc1' of... · 80215095
      Linus Torvalds authored
      Merge tag 'linux-kselftest-next-5.12-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest
      
      Pull Kselftest updates from Shuah Khan:
      
       - dmabuf-heaps test fixes and cleanups from John Stultz
      
       - seccomp test fix to accept any valid fd in user_notification_addfd
      
       - Minor fixes to breakpoints and vDSO tests
      
       - Minor code cleanups to ipc and x86 tests
      
      * tag 'linux-kselftest-next-5.12-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest:
        selftests/seccomp: Accept any valid fd in user_notification_addfd
        selftests/timens: add futex binary to .gitignore
        selftests: breakpoints: Use correct error messages in breakpoint_test_arm64.c
        selftests/vDSO: fix ABI selftest on riscv
        selftests/x86/ldt_gdt: remove unneeded semicolon
        selftests/ipc: remove unneeded semicolon
        kselftests: dmabuf-heaps: Add extra checking that allocated buffers are zeroed
        kselftests: dmabuf-heaps: Cleanup test output
        kselftests: dmabuf-heaps: Softly fail if don't find a vgem device
        kselftests: dmabuf-heaps: Add clearer checks on DMABUF_BEGIN/END_SYNC
        kselftests: dmabuf-heaps: Fix Makefile's inclusion of the kernel's usr/include dir
      80215095
    • Linus Torvalds's avatar
      Merge tag 'docs-5.12' of git://git.lwn.net/linux · 0e63a5c6
      Linus Torvalds authored
      Pull documentation updates from Jonathan Corbet:
       "It has been a relatively quiet cycle in docsland.
      
         - As promised, the minimum Sphinx version to build the docs is now
           1.7, and we have dropped support for Python 2 entirely. That
           allowed the removal of a bunch of compatibility code.
      
         - A set of treewide warning fixups from Mauro that I applied after it
           became clear nobody else was going to deal with them.
      
         - The automarkup mechanism can now create cross-references from
           relative paths to RST files.
      
         - More translations, typo fixes, and warning fixes"
      
      * tag 'docs-5.12' of git://git.lwn.net/linux: (75 commits)
        docs: kernel-hacking: be more civil
        docs: Remove the Microsoft rhetoric
        Documentation/admin-guide: kernel-parameters: Update nohlt section
        doc/admin-guide: fix spelling mistake: "perfomance" -> "performance"
        docs: Document cross-referencing using relative path
        docs: Enable usage of relative paths to docs on automarkup
        docs: thermal: fix spelling mistakes
        Documentation: admin-guide: Update kvm/xen config option
        docs: Make syscalls' helpers naming consistent
        coding-style.rst: Avoid comma statements
        Documentation: /proc/loadavg: add 3 more field descriptions
        Documentation/submitting-patches: Add blurb about backtraces in commit messages
        Docs: drop Python 2 support
        Move our minimum Sphinx version to 1.7
        Documentation: input: define ABS_PRESSURE/ABS_MT_PRESSURE resolution as grams
        scripts/kernel-doc: add internal hyperlink to DOC: sections
        Update Documentation/admin-guide/sysctl/fs.rst
        docs: Update DTB format references
        docs: zh_CN: add iio index.rst translation
        docs/zh_CN: add iio ep93xx_adc.rst translation
        ...
      0e63a5c6
    • Linus Torvalds's avatar
      Merge tag 'for-5.12/block-ipi-2021-02-21' of git://git.kernel.dk/linux-block · ae42c317
      Linus Torvalds authored
      Pull block IPI updates from Jens Axboe:
       "Avoid IRQ locking for the block IPI handling (Sebastian Andrzej
        Siewior)"
      
      * tag 'for-5.12/block-ipi-2021-02-21' of git://git.kernel.dk/linux-block:
        blk-mq: Use llist_head for blk_cpu_done
        blk-mq: Always complete remote completions requests in softirq
        smp: Process pending softirqs in flush_smp_call_function_from_idle()
      ae42c317
    • Linus Torvalds's avatar
      Merge tag 'iommu-updates-v5.12' of git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu · d652ea30
      Linus Torvalds authored
      Pull iommu updates from Joerg Roedel:
      
       - ARM SMMU and Mediatek updates from Will Deacon:
           - Support for MT8192 IOMMU from Mediatek
           - Arm v7s io-pgtable extensions for MT8192
           - Removal of TLBI_ON_MAP quirk
           - New Qualcomm compatible strings
           - Allow SVA without hardware broadcast TLB maintenance on SMMUv3
           - Virtualization Host Extension support for SMMUv3 (SVA)
           - Allow SMMUv3 PMU perf driver to be built independently from IOMMU
      
       - Some tidy-up in IOVA and core code
      
       - Conversion of the AMD IOMMU code to use the generic IO-page-table
         framework
      
       - Intel VT-d updates from Lu Baolu:
           - Audit capability consistency among different IOMMUs
           - Add SATC reporting structure support
           - Add iotlb_sync_map callback support
      
       - SDHI support for Renesas IOMMU driver
      
       - Misc cleanups and other small improvments
      
      * tag 'iommu-updates-v5.12' of git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu: (94 commits)
        iommu/amd: Fix performance counter initialization
        MAINTAINERS: repair file pattern in MEDIATEK IOMMU DRIVER
        iommu/mediatek: Fix error code in probe()
        iommu/mediatek: Fix unsigned domid comparison with less than zero
        iommu/vt-d: Parse SATC reporting structure
        iommu/vt-d: Add new enum value and structure for SATC
        iommu/vt-d: Add iotlb_sync_map callback
        iommu/vt-d: Move capability check code to cap_audit files
        iommu/vt-d: Audit IOMMU Capabilities and add helper functions
        iommu/vt-d: Fix 'physical' typos
        iommu: Properly pass gfp_t in _iommu_map() to avoid atomic sleeping
        iommu/vt-d: Fix compile error [-Werror=implicit-function-declaration]
        driver/perf: Remove ARM_SMMU_V3_PMU dependency on ARM_SMMU_V3
        MAINTAINERS: Add entry for MediaTek IOMMU
        iommu/mediatek: Add mt8192 support
        iommu/mediatek: Remove unnecessary check in attach_device
        iommu/mediatek: Support master use iova over 32bit
        iommu/mediatek: Add iova reserved function
        iommu/mediatek: Support for multi domains
        iommu/mediatek: Add get_domain_id from dev->dma_range_map
        ...
      d652ea30
    • Linus Torvalds's avatar
      Merge tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma · 3672ac8a
      Linus Torvalds authored
      Pull rdma updates from Jason Gunthorpe:
       "This is quite a small cycle, if not for Lee's 70 patches cleaning the
        kdocs it would be well below typical for patch count.
      
        Most of the interesting work here was in the HNS and rxe drivers which
        got fairly major internal changes.
      
        Summary:
      
         - Driver updates and bug fixes: siw, hns, bnxt_re, mlx5, efa
      
         - Significant rework in rxe to get it ready to have XRC support added
      
         - Several rts bug fixes
      
         - Big series to get to 'make W=1' cleanness, primarily updating kdocs
      
         - Support for creating a RDMA MR from a DMABUF fd to allow PCI peer
           to peer transfers to GPU VRAM
      
         - Device disassociation now works properly with umad
      
         - Work to support more than 255 ports on a RDMA device
      
         - Further support for the new HNS HIP09 hardware
      
         - Coding style cleanups: comma to semicolon, unneded semicolon/blank
           lines, remove 'h' printk format, don't check for NULL before kfree,
           use true/false for bool"
      
      * tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma: (205 commits)
        RDMA/rtrs-srv: Do not pass a valid pointer to PTR_ERR()
        RDMA/srp: Fix support for unpopulated and unbalanced NUMA nodes
        RDMA/mlx5: Fail QP creation if the device can not support the CQE TS
        RDMA/mlx5: Allow CQ creation without attached EQs
        RDMA/rtrs-srv-sysfs: fix missing put_device
        RDMA/rtrs-srv: fix memory leak by missing kobject free
        RDMA/rtrs: Only allow addition of path to an already established session
        RDMA/rtrs-srv: Fix stack-out-of-bounds
        RDMA/rxe: Remove unused pkt->offset
        RDMA/ucma: Fix use-after-free bug in ucma_create_uevent
        RDMA/core: Fix kernel doc warnings for ib_port_immutable_read()
        RDMA/qedr: Use true and false for bool variable
        RDMA/hns: Adjust definition of FRMR fields
        RDMA/hns: Refactor process of posting CMDQ
        RDMA/hns: Adjust fields and variables about CMDQ tail/head
        RDMA/hns: Remove redundant operations on CMDQ
        RDMA/hns: Fixes missing error code of CMDQ
        RDMA/hns: Remove unused member and variable of CMDQ
        RDMA/ipoib: Remove racy Subnet Manager sendonly join checks
        RDMA/mlx5: Support 400Gbps IB rate in mlx5 driver
        ...
      3672ac8a
    • Linus Torvalds's avatar
      Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi · bdb39c95
      Linus Torvalds authored
      Pull SCSI updates from James Bottomley:
       "This series consists of the usual driver updates (ufs, ibmvfc,
        qla2xxx, hisi_sas, pm80xx) plus the removal of the gdth driver (which
        is bound to cause conflicts with a trivial change somewhere).
      
        The only big major rework of note is the one from Hannes trying to
        clean up our result handling code in the drivers to make it
        consistent"
      
      * tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi: (194 commits)
        scsi: MAINTAINERS: Adjust to reflect gdth scsi driver removal
        scsi: ufs: Give clk scaling min gear a value
        scsi: lpfc: Fix 'physical' typos
        scsi: megaraid_mbox: Fix spelling of 'allocated'
        scsi: qla2xxx: Simplify the calculation of variables
        scsi: message: fusion: Fix 'physical' typos
        scsi: target: core: Change ASCQ for residual write
        scsi: target: core: Signal WRITE residuals
        scsi: target: core: Set residuals for 4Kn devices
        scsi: hisi_sas: Add trace FIFO debugfs support
        scsi: hisi_sas: Flush workqueue in hisi_sas_v3_remove()
        scsi: hisi_sas: Enable debugfs support by default
        scsi: hisi_sas: Don't check .nr_hw_queues in hisi_sas_task_prep()
        scsi: hisi_sas: Remove deferred probe check in hisi_sas_v2_probe()
        scsi: lpfc: Add auto select on IRQ_POLL
        scsi: ncr53c8xx: Fix typos
        scsi: lpfc: Fix ancient double free
        scsi: qla2xxx: Fix some memory corruption
        scsi: qla2xxx: Remove redundant NULL check
        scsi: megaraid: Fix ifnullfree.cocci warnings
        ...
      bdb39c95
    • Linus Torvalds's avatar
      Merge tag 'for-5.12/dm-changes' of... · 325b7640
      Linus Torvalds authored
      Merge tag 'for-5.12/dm-changes' of git://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm
      
      Pull device mapper updates from Mike Snitzer:
      
       - Fix DM integrity's HMAC support to provide enhanced security of
         internal_hash and journal_mac capabilities.
      
       - Various DM writecache fixes to address performance, fix table output
         to match what was provided at table creation, fix writing beyond end
         of device when shrinking underlying data device, and a couple other
         small cleanups.
      
       - Add DM crypt support for using trusted keys.
      
       - Fix deadlock when swapping to DM crypt device by throttling number of
         in-flight REQ_SWAP bios. Implemented in DM core so that other
         bio-based targets can opt-in by setting ti->limit_swap_bios.
      
       - Fix various inverted logic bugs in the .iterate_devices callout
         functions that are used to assess if specific feature or capability
         is supported across all devices being combined/stacked by DM.
      
       - Fix DM era target bugs that exposed users to lost writes or memory
         leaks.
      
       - Add DM core support for passing through inline crypto support of
         underlying devices. Includes block/keyslot-manager changes that
         enable extending this support to DM.
      
       - Various small fixes and cleanups (spelling fixes, front padding
         calculation cleanup, cleanup conditional zoned support in targets,
         etc).
      
      * tag 'for-5.12/dm-changes' of git://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm: (31 commits)
        dm: fix deadlock when swapping to encrypted device
        dm: simplify target code conditional on CONFIG_BLK_DEV_ZONED
        dm: set DM_TARGET_PASSES_CRYPTO feature for some targets
        dm: support key eviction from keyslot managers of underlying devices
        dm: add support for passing through inline crypto support
        block/keyslot-manager: Introduce functions for device mapper support
        block/keyslot-manager: Introduce passthrough keyslot manager
        dm era: only resize metadata in preresume
        dm era: Use correct value size in equality function of writeset tree
        dm era: Fix bitset memory leaks
        dm era: Verify the data block size hasn't changed
        dm era: Reinitialize bitset cache before digesting a new writeset
        dm era: Update in-core bitset after committing the metadata
        dm era: Recover committed writeset after crash
        dm writecache: use bdev_nr_sectors() instead of open-coded equivalent
        dm writecache: fix writing beyond end of underlying device when shrinking
        dm table: remove needless request_queue NULL pointer checks
        dm table: fix zoned iterate_devices based device capability checks
        dm table: fix DAX iterate_devices based device capability checks
        dm table: fix iterate_devices based device capability checks
        ...
      325b7640
    • Linus Torvalds's avatar
      Merge tag 'devicetree-for-5.12' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux · a99163e9
      Linus Torvalds authored
      Pull devicetree updates from Rob Herring:
      
       - Sync dtc to upstream version v1.6.0-51-g183df9e9c2b9 and build host
         fdtoverlay
      
       - Add kbuild support to build DT overlays (%.dtbo)
      
       - Drop NULLifying match table in of_match_device().
      
         In preparation for this, there are several driver cleanups to use
         (of_)?device_get_match_data().
      
       - Drop pointless wrappers from DT struct device API
      
       - Convert USB binding schemas to use graph schema and remove old plain
         text graph binding doc
      
       - Convert spi-nor and v3d GPU bindings to DT schema
      
       - Tree wide schema fixes for if/then schemas, array size constraints,
         and undocumented compatible strings in examples
      
       - Handle 'no-map' correctly for already reserved memblock regions
      
      * tag 'devicetree-for-5.12' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux: (35 commits)
        driver core: platform: Drop of_device_node_put() wrapper
        of: Remove of_dev_{get,put}()
        dt-bindings: usb: Change descibe to describe in usbmisc-imx.txt
        dt-bindings: can: rcar_canfd: Group tuples in pin control properties
        dt-bindings: power: renesas,apmu: Group tuples in cpus properties
        dt-bindings: mtd: spi-nor: Convert to DT schema format
        dt-bindings: Use portable sort for version cmp
        dt-bindings: ethernet-controller: fix fixed-link specification
        dt-bindings: irqchip: Add node name to PRUSS INTC
        dt-bindings: interconnect: Fix the expected number of cells
        dt-bindings: Fix errors in 'if' schemas
        dt-bindings: iommu: renesas,ipmmu-vmsa: Make 'power-domains' conditionally required
        dt-bindings: Fix undocumented compatible strings in examples
        kbuild: Add support to build overlays (%.dtbo)
        scripts: dtc: Remove the unused fdtdump.c file
        scripts: dtc: Build fdtoverlay tool
        scripts/dtc: Update to upstream version v1.6.0-51-g183df9e9c2b9
        scripts: dtc: Fetch fdtoverlay.c from external DTC project
        dt-bindings: thermal: sun8i: Fix misplaced schema keyword in compatible strings
        dt-bindings: iio: dac: Fix AD5686 references
        ...
      a99163e9
    • Linus Torvalds's avatar
      Merge tag 'gpio-updates-for-v5.12' of git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux · 882d6edf
      Linus Torvalds authored
      Pull gpio updates from Bartosz Golaszewski:
       "It's been a relatively calm release cycle and we're actually removing
        more code than we're adding.
      
        Summary:
      
         - new driver for the Toshiba Visconti platform
      
         - rework of interrupt handling in gpio-tegra
      
         - updates for GPIO selftests: we're now using the character device to
           perform the subsystem checks
      
         - support for a new rcar variant + some code refactoring
      
         - refactoring of gpio-ep93xx
      
         - SPDX License identifier has been updated in the uapi header so that
           userspace programs bundling it can become fully REUSE-compliant
      
         - improvements to pwm handling in gpio-mvebu
      
         - support for interrupt handling and power management for gpio-xilinx
           as well as some code refactoring
      
         - support for a new chip variant in gpio-pca953x
      
         - removal of drivers: zte xs & intel-mid and removal of leftovers
           from intel-msic
      
         - impovements to intel drivers pulled from Andy Shevchenko
      
         - improvements to the gpio-aggregator virtual GPIO driver
      
         - and several minor tweaks and fixes to code and documentation all
           over the place"
      
      * tag 'gpio-updates-for-v5.12' of git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux: (71 commits)
        gpio: pcf857x: Fix missing first interrupt
        gpio: ep93xx: refactor base IRQ number
        gpio: ep93xx: refactor ep93xx_gpio_add_bank
        gpio: ep93xx: Fix typo s/hierarchial/hierarchical
        gpio: ep93xx: drop to_irq binding
        gpio: ep93xx: Fix wrong irq numbers in port F
        gpio: uapi: use the preferred SPDX license identifier
        gpio: gpio-xilinx: Add check if width exceeds 32
        gpio: gpio-xilinx: Add support for suspend and resume
        gpio: gpio-xilinx: Add interrupt support
        gpio: gpio-xilinx: Reduce spinlock array to array
        gpio: gpio-xilinx: Simplify with dev_err_probe()
        gpio: msic: Drop driver from Makefile
        gpio: wcove: Split out to_ireg() helper and deduplicate the code
        gpio: wcove: Switch to use regmap_set_bits(), regmap_clear_bits()
        gpio: wcove: Get rid of error prone casting in IRQ handler
        gpio: intel-mid: Remove driver for deprecated platform
        gpio: msic: Remove driver for deprecated platform
        gpio: aggregator: Remove trailing comma in terminator entries
        gpio: aggregator: Use compound literal from the header
        ...
      882d6edf