Skip to content
Permalink
Francis-Laniel…
Switch branches/tags

Commits on Jan 20, 2022

  1. security/inode.c: Add capabilities file.

    This new read-only file prints the capabilities values with their names:
    cat /sys/kernel/security/capabilities
    0       CAP_CHOWN
    1       CAP_DAC_OVERRIDE
    ...
    40      CAP_CHECKPOINT_RESTORE
    
    Signed-off-by: Francis Laniel <flaniel@linux.microsoft.com>
    eiffel-fl authored and intel-lab-lkp committed Jan 20, 2022
  2. capability: Add cap_string.

    This string contains on each line the number of the capability associated to
    its name.
    For example, first line is:
    __stringify(CAP_CHOWN) "\tCAP_CHOWN\n"
    which the preprocessor will replace by:
    "0\tCAP_CHOWN\n"
    
    Signed-off-by: Francis Laniel <flaniel@linux.microsoft.com>
    eiffel-fl authored and intel-lab-lkp committed Jan 20, 2022

Commits on Jan 19, 2022

  1. Merge tag 'f2fs-for-5.17-rc1' of git://git.kernel.org/pub/scm/linux/k…

    …ernel/git/jaegeuk/f2fs
    
    Pull f2fs updates from Jaegeuk Kim:
     "In this round, we've tried to address some performance issues in
      f2fs_checkpoint and direct IO flows. Also, there was a work to enhance
      the page cache management used for compression. Other than them, we've
      done typical work including sysfs, code clean-ups, tracepoint, sanity
      check, in addition to bug fixes on corner cases.
    
      Enhancements:
       - use iomap for direct IO
       - try to avoid lock contention to improve f2fs_ckpt speed
       - avoid unnecessary memory allocation in compression flow
       - POSIX_FADV_DONTNEED drops the page cache containing compression
         pages
       - add some sysfs entries (gc_urgent_high_remaining, pending_discard)
    
      Bug fixes:
       - try not to expose unwritten blocks to user by DIO (this was added
         to avoid merge conflict; another patch is coming to address other
         missing case)
       - relax minor error condition for file pinning feature used in
         Android OTA
       - fix potential deadlock case in compression flow
       - should not truncate any block on pinned file
    
      In addition, we've done some code clean-ups and tracepoint/sanity
      check improvement"
    
    * tag 'f2fs-for-5.17-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs: (29 commits)
      f2fs: do not allow partial truncation on pinned file
      f2fs: remove redunant invalidate compress pages
      f2fs: Simplify bool conversion
      f2fs: don't drop compressed page cache in .{invalidate,release}page
      f2fs: fix to reserve space for IO align feature
      f2fs: fix to check available space of CP area correctly in update_ckpt_flags()
      f2fs: support fault injection to f2fs_trylock_op()
      f2fs: clean up __find_inline_xattr() with __find_xattr()
      f2fs: fix to do sanity check on last xattr entry in __f2fs_setxattr()
      f2fs: do not bother checkpoint by f2fs_get_node_info
      f2fs: avoid down_write on nat_tree_lock during checkpoint
      f2fs: compress: fix potential deadlock of compress file
      f2fs: avoid EINVAL by SBI_NEED_FSCK when pinning a file
      f2fs: add gc_urgent_high_remaining sysfs node
      f2fs: fix to do sanity check in is_alive()
      f2fs: fix to avoid panic in is_alive() if metadata is inconsistent
      f2fs: fix to do sanity check on inode type during garbage collection
      f2fs: avoid duplicate call of mark_inode_dirty
      f2fs: show number of pending discard commands
      f2fs: support POSIX_FADV_DONTNEED drop compressed page cache
      ...
    torvalds committed Jan 19, 2022
  2. Merge tag 'trace-v5.17-2' of git://git.kernel.org/pub/scm/linux/kerne…

    …l/git/rostedt/linux-trace
    
    Pull tracing fix from Steven Rostedt:
     "tracing/scripts: Possible uninitialized variable
    
      The 0day bot discovered a possible uninitialized path in the scripts
      that sort the mcount sections at build time. Just needed to initialize
      that variable"
    
    * tag 'trace-v5.17-2' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace:
      script/sorttable: Fix some initialization problems
    torvalds committed Jan 19, 2022
  3. Merge tag 'riscv-for-linus-5.17-mw0' of git://git.kernel.org/pub/scm/…

    …linux/kernel/git/riscv/linux
    
    Pull RISC-V updates from Palmer Dabbelt:
    
     - Support for the DA9063 as used on the HiFive Unmatched.
    
     - Support for relative extables, which puts us in line with other
       architectures and save some space in vmlinux.
    
     - A handful of kexec fixes/improvements, including the ability to run
       crash kernels from PCI-addressable memory on the HiFive Unmatched.
    
     - Support for the SBI SRST extension, which allows systems that do not
       have an explicit driver in Linux to reboot.
    
     - A handful of fixes and cleanups, including to the defconfigs and
       device trees.
    
    * tag 'riscv-for-linus-5.17-mw0' of git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux: (52 commits)
      RISC-V: Use SBI SRST extension when available
      riscv: mm: fix wrong phys_ram_base value for RV64
      RISC-V: Use common riscv_cpuid_to_hartid_mask() for both SMP=y and SMP=n
      riscv: head: remove useless __PAGE_ALIGNED_BSS and .balign
      riscv: errata: alternative: mark vendor_patch_func __initdata
      riscv: head: make secondary_start_common() static
      riscv: remove cpu_stop()
      riscv: try to allocate crashkern region from 32bit addressible memory
      riscv: use hart id instead of cpu id on machine_kexec
      riscv: Don't use va_pa_offset on kdump
      riscv: dts: sifive: fu540-c000: Fix PLIC node
      riscv: dts: sifive: fu540-c000: Drop bogus soc node compatible values
      riscv: dts: sifive: Group tuples in register properties
      riscv: dts: sifive: Group tuples in interrupt properties
      riscv: dts: microchip: mpfs: Group tuples in interrupt properties
      riscv: dts: microchip: mpfs: Fix clock controller node
      riscv: dts: microchip: mpfs: Fix reference clock node
      riscv: dts: microchip: mpfs: Fix PLIC node
      riscv: dts: microchip: mpfs: Drop empty chosen node
      riscv: dts: canaan: Group tuples in interrupt properties
      ...
    torvalds committed Jan 19, 2022
  4. Merge tag 'kbuild-v5.17' of git://git.kernel.org/pub/scm/linux/kernel…

    …/git/masahiroy/linux-kbuild
    
    Pull Kbuild updates from Masahiro Yamada:
    
     - Add new kconfig target 'make mod2noconfig', which will be useful to
       speed up the build and test iteration.
    
     - Raise the minimum supported version of LLVM to 11.0.0
    
     - Refactor certs/Makefile
    
     - Change the format of include/config/auto.conf to stop double-quoting
       string type CONFIG options.
    
     - Fix ARCH=sh builds in dash
    
     - Separate compression macros for general purposes (cmd_bzip2 etc.) and
       the ones for decompressors (cmd_bzip2_with_size etc.)
    
     - Misc Makefile cleanups
    
    * tag 'kbuild-v5.17' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild: (34 commits)
      kbuild: add cmd_file_size
      arch: decompressor: remove useless vmlinux.bin.all-y
      kbuild: rename cmd_{bzip2,lzma,lzo,lz4,xzkern,zstd22}
      kbuild: drop $(size_append) from cmd_zstd
      sh: rename suffix-y to suffix_y
      doc: kbuild: fix default in `imply` table
      microblaze: use built-in function to get CPU_{MAJOR,MINOR,REV}
      certs: move scripts/extract-cert to certs/
      kbuild: do not quote string values in include/config/auto.conf
      kbuild: do not include include/config/auto.conf from shell scripts
      certs: simplify $(srctree)/ handling and remove config_filename macro
      kbuild: stop using config_filename in scripts/Makefile.modsign
      certs: remove misleading comments about GCC PR
      certs: refactor file cleaning
      certs: remove unneeded -I$(srctree) option for system_certificates.o
      certs: unify duplicated cmd_extract_certs and improve the log
      certs: use $< and $@ to simplify the key generation rule
      kbuild: remove headers_check stub
      kbuild: move headers_check.pl to usr/include/
      certs: use if_changed to re-generate the key when the key type is changed
      ...
    torvalds committed Jan 19, 2022
  5. Merge branch 'random-5.17-rc1-for-linus' of git://git.kernel.org/pub/…

    …scm/linux/kernel/git/crng/random
    
    Pull random number generator fixes from Jason Donenfeld:
    
     - Some Kconfig changes resulted in BIG_KEYS being unselectable, which
       Justin sent a patch to fix.
    
     - Geert pointed out that moving to BLAKE2s bloated vmlinux on little
       machines, like m68k, so we now compensate for this.
    
     - Numerous style and house cleaning fixes, meant to have a cleaner base
       for future changes.
    
    * 'random-5.17-rc1-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/crng/random:
      random: simplify arithmetic function flow in account()
      random: selectively clang-format where it makes sense
      random: access input_pool_data directly rather than through pointer
      random: cleanup fractional entropy shift constants
      random: prepend remaining pool constants with POOL_
      random: de-duplicate INPUT_POOL constants
      random: remove unused OUTPUT_POOL constants
      random: rather than entropy_store abstraction, use global
      random: remove unused extract_entropy() reserved argument
      random: remove incomplete last_data logic
      random: cleanup integer types
      random: cleanup poolinfo abstraction
      random: fix typo in comments
      lib/crypto: sha1: re-roll loops to reduce code size
      lib/crypto: blake2s: move hmac construction into wireguard
      lib/crypto: add prompts back to crypto libraries
    torvalds committed Jan 19, 2022
  6. Merge tag 'hwlock-v5.17' of git://git.kernel.org/pub/scm/linux/kernel…

    …/git/remoteproc/linux
    
    Pull hwspinlock updates from Bjorn Andersson:
     "This contains a change to the stm32 hwspinlock driver to ensure that
      the hardware is operational even without CONFIG_PM"
    
    * tag 'hwlock-v5.17' of git://git.kernel.org/pub/scm/linux/kernel/git/remoteproc/linux:
      hwspinlock: stm32: enable clock at probe
    torvalds committed Jan 19, 2022

Commits on Jan 18, 2022

  1. script/sorttable: Fix some initialization problems

    elf_mcount_loc and mcount_sort_thread definitions are not
    initialized immediately within the function, which can cause
    the judgment logic to use uninitialized values when the
    initialization logic of subsequent code fails.
    
    Link: https://lkml.kernel.org/r/20211212113358.34208-2-yinan@linux.alibaba.com
    Link: https://lkml.kernel.org/r/20220118065241.42364-1-yinan@linux.alibaba.com
    
    Fixes: 72b3942 ("scripts: ftrace - move the sort-processing in ftrace_init")
    Tested-by: Nathan Chancellor <nathan@kernel.org>
    Reviewed-by: Nathan Chancellor <nathan@kernel.org>
    Signed-off-by: Yinan Liu <yinan@linux.alibaba.com>
    Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
    Yinan Liu authored and rostedt committed Jan 18, 2022
  2. random: simplify arithmetic function flow in account()

    Now that have_bytes is never modified, we can simplify this function.
    First, we move the check for negative entropy_count to be first. That
    ensures that subsequent reads of this will be non-negative. Then,
    have_bytes and ibytes can be folded into their one use site in the
    min_t() function.
    
    Suggested-by: Dominik Brodowski <linux@dominikbrodowski.net>
    Reviewed-by: Dominik Brodowski <linux@dominikbrodowski.net>
    Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
    zx2c4 committed Jan 18, 2022
  3. random: selectively clang-format where it makes sense

    This is an old driver that has seen a lot of different eras of kernel
    coding style. In an effort to make it easier to code for, unify the
    coding style around the current norm, by accepting some of -- but
    certainly not all of -- the suggestions from clang-format. This should
    remove ambiguity in coding style, especially with regards to spacing,
    when code is being changed or amended. Consequently it also makes code
    review easier on the eyes, following one uniform style rather than
    several.
    
    Reviewed-by: Dominik Brodowski <linux@dominikbrodowski.net>
    Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
    zx2c4 committed Jan 18, 2022
  4. random: access input_pool_data directly rather than through pointer

    This gets rid of another abstraction we no longer need. It would be nice
    if we could instead make pool an array rather than a pointer, but the
    latent entropy plugin won't be able to do its magic in that case. So
    instead we put all accesses to the input pool's actual data through the
    input_pool_data array directly.
    
    Reviewed-by: Dominik Brodowski <linux@dominikbrodowski.net>
    Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
    zx2c4 committed Jan 18, 2022
  5. random: cleanup fractional entropy shift constants

    The entropy estimator is calculated in terms of 1/8 bits, which means
    there are various constants where things are shifted by 3. Move these
    into our pool info enum with the other relevant constants. While we're
    at it, move an English assertion about sizes into a proper BUILD_BUG_ON
    so that the compiler can ensure this invariant.
    
    Reviewed-by: Dominik Brodowski <linux@dominikbrodowski.net>
    Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
    zx2c4 committed Jan 18, 2022
  6. random: prepend remaining pool constants with POOL_

    The other pool constants are prepended with POOL_, but not these last
    ones. Rename them. This will then let us move them into the enum in the
    following commit.
    
    Reviewed-by: Dominik Brodowski <linux@dominikbrodowski.net>
    Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
    zx2c4 committed Jan 18, 2022
  7. random: de-duplicate INPUT_POOL constants

    We already had the POOL_* constants, so deduplicate the older INPUT_POOL
    ones. As well, fold EXTRACT_SIZE into the poolinfo enum, since it's
    related.
    
    Reviewed-by: Dominik Brodowski <linux@dominikbrodowski.net>
    Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
    zx2c4 committed Jan 18, 2022
  8. random: remove unused OUTPUT_POOL constants

    We no longer have an output pool. Rather, we have just a wakeup bits
    threshold for /dev/random reads, presumably so that processes don't
    hang. This value, random_write_wakeup_bits, is configurable anyway. So
    all the no longer usefully named OUTPUT_POOL constants were doing was
    setting a reasonable default for random_write_wakeup_bits. This commit
    gets rid of the constants and just puts it all in the default value of
    random_write_wakeup_bits.
    
    Reviewed-by: Dominik Brodowski <linux@dominikbrodowski.net>
    Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
    zx2c4 committed Jan 18, 2022
  9. random: rather than entropy_store abstraction, use global

    Originally, the RNG used several pools, so having things abstracted out
    over a generic entropy_store object made sense. These days, there's only
    one input pool, and then an uneven mix of usage via the abstraction and
    usage via &input_pool. Rather than this uneasy mixture, just get rid of
    the abstraction entirely and have things always use the global. This
    simplifies the code and makes reading it a bit easier.
    
    Reviewed-by: Dominik Brodowski <linux@dominikbrodowski.net>
    Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
    zx2c4 committed Jan 18, 2022
  10. random: remove unused extract_entropy() reserved argument

    This argument is always set to zero, as a result of us not caring about
    keeping a certain amount reserved in the pool these days. So just remove
    it and cleanup the function signatures.
    
    Reviewed-by: Dominik Brodowski <linux@dominikbrodowski.net>
    Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
    zx2c4 committed Jan 18, 2022
  11. random: remove incomplete last_data logic

    There were a few things added under the "if (fips_enabled)" banner,
    which never really got completed, and the FIPS people anyway are
    choosing a different direction. Rather than keep around this halfbaked
    code, get rid of it so that we can focus on a single design of the RNG
    rather than two designs.
    
    Reviewed-by: Dominik Brodowski <linux@dominikbrodowski.net>
    Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
    zx2c4 committed Jan 18, 2022
  12. random: cleanup integer types

    Rather than using the userspace type, __uXX, switch to using uXX. And
    rather than using variously chosen `char *` or `unsigned char *`, use
    `u8 *` uniformly for things that aren't strings, in the case where we
    are doing byte-by-byte traversal.
    
    Reviewed-by: Dominik Brodowski <linux@dominikbrodowski.net>
    Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
    zx2c4 committed Jan 18, 2022
  13. random: cleanup poolinfo abstraction

    Now that we're only using one polynomial, we can cleanup its
    representation into constants, instead of passing around pointers
    dynamically to select different polynomials. This improves the codegen
    and makes the code a bit more straightforward.
    
    Reviewed-by: Dominik Brodowski <linux@dominikbrodowski.net>
    Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
    zx2c4 committed Jan 18, 2022
  14. random: fix typo in comments

    s/or/for
    
    Signed-off-by: Schspa Shi <schspa@gmail.com>
    Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
    schspa authored and zx2c4 committed Jan 18, 2022
  15. lib/crypto: sha1: re-roll loops to reduce code size

    With SHA-1 no longer being used for anything performance oriented, and
    also soon to be phased out entirely, we can make up for the space added
    by unrolled BLAKE2s by simply re-rolling SHA-1. Since SHA-1 is so much
    more complex, re-rolling it more or less takes care of the code size
    added by BLAKE2s. And eventually, hopefully we'll see SHA-1 removed
    entirely from most small kernel builds.
    
    Cc: Herbert Xu <herbert@gondor.apana.org.au>
    Cc: Ard Biesheuvel <ardb@kernel.org>
    Tested-by: Geert Uytterhoeven <geert@linux-m68k.org>
    Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
    zx2c4 committed Jan 18, 2022
  16. lib/crypto: blake2s: move hmac construction into wireguard

    Basically nobody should use blake2s in an HMAC construction; it already
    has a keyed variant. But unfortunately for historical reasons, Noise,
    used by WireGuard, uses HKDF quite strictly, which means we have to use
    this. Because this really shouldn't be used by others, this commit moves
    it into wireguard's noise.c locally, so that kernels that aren't using
    WireGuard don't get this superfluous code baked in. On m68k systems,
    this shaves off ~314 bytes.
    
    Cc: Herbert Xu <herbert@gondor.apana.org.au>
    Tested-by: Geert Uytterhoeven <geert@linux-m68k.org>
    Acked-by: Ard Biesheuvel <ardb@kernel.org>
    Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
    zx2c4 committed Jan 18, 2022
  17. lib/crypto: add prompts back to crypto libraries

    Commit 6048fdc ("lib/crypto: blake2s: include as built-in") took
    away a number of prompt texts from other crypto libraries. This makes
    values flip from built-in to module when oldconfig runs, and causes
    problems when these crypto libs need to be built in for thingslike
    BIG_KEYS.
    
    Fixes: 6048fdc ("lib/crypto: blake2s: include as built-in")
    Cc: Herbert Xu <herbert@gondor.apana.org.au>
    Cc: linux-crypto@vger.kernel.org
    Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
    [Jason: - moved menu into submenu of lib/ instead of root menu
            - fixed chacha sub-dependencies for CONFIG_CRYPTO]
    Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
    jmflinuxtx authored and zx2c4 committed Jan 18, 2022
  18. Merge tag 'dmaengine-5.17-rc1' of git://git.kernel.org/pub/scm/linux/…

    …kernel/git/vkoul/dmaengine
    
    Pull dmaengine updates from Vinod Koul:
     "A bunch of new support and few updates to drivers:
    
      New support:
       - DMA_MEMCPY_SG support is bought back as we have a user in Xilinx
         driver
       - Support for TI J721S2 SoC in k3-udma driver
       - Support for Ingenic MDMA and BDMA in the JZ4760
       - Support for Renesas r8a779f0 dmac
    
      Updates:
       - We are finally getting rid of slave_id, so this brings in the
         changes across tree for that
       - updates for idxd driver
       - at_xdmac driver cleanup"
    
    * tag 'dmaengine-5.17-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/vkoul/dmaengine: (60 commits)
      dt-bindings: dma-controller: Split interrupt fields in example
      dmaengine: pch_dma: Remove usage of the deprecated "pci-dma-compat.h" API
      dmaengine: at_xdmac: Fix race over irq_status
      dmaengine: at_xdmac: Remove a level of indentation in at_xdmac_tasklet()
      dmaengine: at_xdmac: Fix at_xdmac_lld struct definition
      dmaengine: at_xdmac: Fix lld view setting
      dmaengine: at_xdmac: Remove a level of indentation in at_xdmac_advance_work()
      dmaengine: at_xdmac: Fix concurrency over xfers_list
      dmaengine: at_xdmac: Move the free desc to the tail of the desc list
      dmaengine: at_xdmac: Fix race for the tx desc callback
      dmaengine: at_xdmac: Fix concurrency over chan's completed_cookie
      dmaengine: at_xdmac: Print debug message after realeasing the lock
      dmaengine: at_xdmac: Start transfer for cyclic channels in issue_pending
      dmaengine: at_xdmac: Don't start transactions at tx_submit level
      dmaengine: idxd: deprecate token sysfs attributes for read buffers
      dmaengine: idxd: change bandwidth token to read buffers
      dmaengine: idxd: fix wq settings post wq disable
      dmaengine: idxd: change MSIX allocation based on per wq activation
      dmaengine: idxd: fix descriptor flushing locking
      dmaengine: idxd: embed irq_entry in idxd_wq struct
      ...
    torvalds committed Jan 18, 2022
  19. Merge tag 'ata-5.17-rc1' of git://git.kernel.org/pub/scm/linux/kernel…

    …/git/dlemoal/libata
    
    Pull ATA updates from Damien Le Moal:
     "A larger than usual set of changes for this cycle. The bulk of the
      changes are part of a rework of libata messages and debugging features
      from Hannes. In more detail, the changes are as follows.
    
       - Small code cleanups in the pata_ali driver (unnecessary variable
         initialization and simplified return statement, from Jason and
         Colin.
    
       - Switch to using struct_group() in the sata_fsl driver, from Kees.
    
       - Convert many sysfs attribute show functions to use sysfs_emit()
         instead of snprintf(), from me.
    
       - sata_dwc_460ex driver code cleanups, from Andy.
    
       - Improve DMA setup and remove superfluous error message in
         libahci_platform, from Andy
    
       - A small code cleanup in libata to use min() instead of open coding
         test, from Changcheng.
    
       - Rework of libata messages from Hannes. This is especially focused
         on replacing compile time defined debugging messages (DPRINTK() and
         VPRINTK()) with regular dynamic debugging messages (pr_debug()) and
         traceipoint events. Both libata-core and many drivers are updated
         to have a consistent debugging level control for all drivers.
    
       - Extend compile test support to as many drivers as possible in ATA
         Kconfig to improve compile test coverage, from me.
    
       - Fixes to avoid compile time warnings (W=1) and sparse warnings in
         sata_fsl and ahci_xgene drivers, from me.
    
       - Fix the interface of the read_id() port operation method to clarify
         that the data buffer passed as an argument is little endian. This
         avoids sparse warnings in the pata_netcell, pata_it821x,
         ahci_xgene, ahci_cevaxi and ahci_brcm drivers. From me.
    
       - Small code cleanup in the pata_octeon_cf driver, from Minghao.
    
       - Improved IRQ configuration code in pata_of_platform, from Lad.
    
       - Simplified implementation of __ata_scsi_queuecmd(), from Wenchao.
    
       - Debounce delay flag renaming, from Paul.
    
       - Add support for AMD A85 FCH (Hudson D4) AHCI adapters, from Paul"
    
    * tag 'ata-5.17-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/dlemoal/libata: (106 commits)
      ata: pata_ali: remove redundant return statement
      ata: ahci: Add support for AMD A85 FCH (Hudson D4)
      ata: libata: Rename link flag ATA_LFLAG_NO_DB_DELAY
      ata: libata-scsi: simplify __ata_scsi_queuecmd()
      ata: pata_of_platform: Use platform_get_irq_optional() to get the interrupt
      ata: pata_samsung_cf: add compile test support
      ata: pata_pxa: add compile test support
      ata: pata_imx: add compile test support
      ata: pata_ftide010: add compile test support
      ata: pata_cs5535: add compile test support
      ata: pata_octeon_cf: remove redundant val variable
      ata: fix read_id() ata port operation interface
      ata: ahci_xgene: use correct type for port mmio address
      ata: sata_fsl: fix cmdhdr_tbl_entry and prde struct definitions
      ata: sata_fsl: fix scsi host initialization
      ata: pata_bk3710: add compile test support
      ata: ahci_seattle: add compile test support
      ata: ahci_xgene: add compile test support
      ata: ahci_tegra: add compile test support
      ata: ahci_sunxi: add compile test support
      ...
    torvalds committed Jan 18, 2022
  20. Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/gi…

    …t/mst/vhost
    
    Pull virtio updates from Michael Tsirkin:
     "virtio,vdpa,qemu_fw_cfg: features, cleanups, and fixes.
    
       - partial support for < MAX_ORDER - 1 granularity for virtio-mem
    
       - driver_override for vdpa
    
       - sysfs ABI documentation for vdpa
    
       - multiqueue config support for mlx5 vdpa
    
       - and misc fixes, cleanups"
    
    * tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost: (42 commits)
      vdpa/mlx5: Fix tracking of current number of VQs
      vdpa/mlx5: Fix is_index_valid() to refer to features
      vdpa: Protect vdpa reset with cf_mutex
      vdpa: Avoid taking cf_mutex lock on get status
      vdpa/vdpa_sim_net: Report max device capabilities
      vdpa: Use BIT_ULL for bit operations
      vdpa/vdpa_sim: Configure max supported virtqueues
      vdpa/mlx5: Report max device capabilities
      vdpa: Support reporting max device capabilities
      vdpa/mlx5: Restore cur_num_vqs in case of failure in change_num_qps()
      vdpa: Add support for returning device configuration information
      vdpa/mlx5: Support configuring max data virtqueue
      vdpa/mlx5: Fix config_attr_mask assignment
      vdpa: Allow to configure max data virtqueues
      vdpa: Read device configuration only if FEATURES_OK
      vdpa: Sync calls set/get config/status with cf_mutex
      vdpa/mlx5: Distribute RX virtqueues in RQT object
      vdpa: Provide interface to read driver features
      vdpa: clean up get_config_size ret value handling
      virtio_ring: mark ring unused on error
      ...
    torvalds committed Jan 18, 2022
  21. Merge tag 'rproc-v5.17' of git://git.kernel.org/pub/scm/linux/kernel/…

    …git/remoteproc/linux
    
    Pull remoteproc updates from Bjorn Andersson:
     "This introduces support for controlling the Cortex R7 co-processor in
      Renesas Gen3, support for R5F clusters and C71x DSPs on TI J721S2 and
      compute, audio and modem subsystems on Qualcomm SM6350.
    
      It fixes a couple of sparse errors related to memcpy_to/fromio and
      corrects the kerneldoc spelling of "Return:".
    
      The stm32 driver no longer attempts to communicate with the remote
      after the firmware has crashed"
    
    * tag 'rproc-v5.17' of git://git.kernel.org/pub/scm/linux/kernel/git/remoteproc/linux: (22 commits)
      remoteproc: stm32: Improve crash recovery time
      remoteproc: rcar_rproc: Remove trailing semicolon
      remoteproc: rcar_rproc: Fix pm_runtime_get_sync error check
      remoteproc: qcom: pas: Add SM6350 CDSP support
      remoteproc: qcom: pas: Add SM6350 ADSP support
      remoteproc: qcom: pas: Add SM6350 MPSS support
      dt-bindings: remoteproc: qcom: pas: Add SM6350 adsp, cdsp & mpss
      remoteproc: qcom: pas: Add missing power-domain "mxc" for CDSP
      remoteproc: imx_rproc: correct firmware reload
      remoteproc: qcom: pil_info: Don't memcpy_toio more than is provided
      remoteproc: Add Renesas rcar driver
      dt-bindings: remoteproc: Add Renesas R-Car
      remoteproc: Fix remaining wrong return formatting in documentation
      MAINTAINERS: Removing Ohad from remoteproc/rpmsg maintenance
      remoteproc: ingenic: Request IRQ disabled
      remoteproc: k3-r5: Extend support for R5F clusters on J721S2 SoCs
      remoteproc: k3-dsp: Extend support for C71x DSPs on J721S2 SoCs
      dt-bindings: remoteproc: k3-dsp: Update bindings for J721S2 SoCs
      dt-bindings: remoteproc: k3-r5f: Update bindings for J721S2 SoCs
      remoteproc: coredump: Correct argument 2 type for memcpy_fromio
      ...
    torvalds committed Jan 18, 2022
  22. Merge tag 'rpmsg-v5.17' of git://git.kernel.org/pub/scm/linux/kernel/…

    …git/remoteproc/linux
    
    Pull rpmsg updates from Bjorn Andersson:
     "This adds pr_fmt for the rpmsg_char driver, fixes error handling in
      rpmsg_dev_probe() and corrects the spelling of "Return:" in various
      places, in order to fix kerneldoc"
    
    * tag 'rpmsg-v5.17' of git://git.kernel.org/pub/scm/linux/kernel/git/remoteproc/linux:
      rpmsg: core: Clean up resources on announce_create failure.
      rpmsg: Fix documentation return formatting
      rpmsg: char: Add pr_fmt() to prefix messages
    torvalds committed Jan 18, 2022
  23. vfs: fs_context: fix up param length parsing in legacy_parse_param

    The "PAGE_SIZE - 2 - size" calculation in legacy_parse_param() is an
    unsigned type so a large value of "size" results in a high positive
    value instead of a negative value as expected.  Fix this by getting rid
    of the subtraction.
    
    Signed-off-by: Jamie Hill-Daniel <jamie@hill-daniel.co.uk>
    Signed-off-by: William Liu <willsroot@protonmail.com>
    Tested-by: Salvatore Bonaccorso <carnil@debian.org>
    Tested-by: Thadeu Lima de Souza Cascardo <cascardo@canonical.com>
    Acked-by: Dan Carpenter <dan.carpenter@oracle.com>
    Acked-by: Al Viro <viro@zeniv.linux.org.uk>
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    clubby789 authored and torvalds committed Jan 18, 2022
  24. Merge tag 'pm-5.17-rc1-2' of git://git.kernel.org/pub/scm/linux/kerne…

    …l/git/rafael/linux-pm
    
    Pull more power management updates from Rafael Wysocki:
     "This is a continuation of the rework of device power management macros
      used for declaring device power management callbacks (Paul Cercueil)"
    
    * tag 'pm-5.17-rc1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
      iio: pressure: bmp280: Use new PM macros
      PM: runtime: Add EXPORT[_GPL]_RUNTIME_DEV_PM_OPS macros
      PM: runtime: Add DEFINE_RUNTIME_DEV_PM_OPS() macro
      PM: core: Add EXPORT[_GPL]_SIMPLE_DEV_PM_OPS macros
      PM: core: Remove static qualifier in DEFINE_SIMPLE_DEV_PM_OPS macro
      PM: core: Remove DEFINE_UNIVERSAL_DEV_PM_OPS() macro
    torvalds committed Jan 18, 2022
  25. Merge tag 'acpi-5.17-rc1-2' of git://git.kernel.org/pub/scm/linux/ker…

    …nel/git/rafael/linux-pm
    
    Pull more ACPI updates from Rafael Wysocki:
     "The most significant item here is the Platform Firmware Runtime Update
      and Telemetry (PFRUT) support designed to allow certain pieces of the
      platform firmware to be updated on the fly, among other things.
    
      Also important is the e820 handling change on x86 that should work
      around PCI BAR allocation issues on some systems shipping since 2019.
    
      The rest is just a handful of assorted fixes and cleanups on top of
      the ACPI material merged previously.
    
      Specifics:
    
       - Add support for the the Platform Firmware Runtime Update and
         Telemetry (PFRUT) interface based on ACPI to allow certain pieces
         of the platform firmware to be updated without restarting the
         system and to provide a mechanism for collecting platform firmware
         telemetry data (Chen Yu, Dan Carpenter, Yang Yingliang).
    
       - Ignore E820 reservations covering PCI host bridge windows on
         sufficiently recent x86 systems to avoid issues with allocating PCI
         BARs on systems where the E820 reservations cover the entire PCI
         host bridge memory window returned by the _CRS object in the
         system's ACPI tables (Hans de Goede).
    
       - Fix and clean up acpi_scan_init() (Rafael Wysocki).
    
       - Add more sanity checking to ACPI SPCR tables parsing (Mark
         Langsdorf).
    
       - Fix up ACPI APD (AMD Soc) driver initialization (Jiasheng Jiang).
    
       - Drop unnecessary "static" from the ACPI PCC address space handling
         driver added recently (kernel test robot)"
    
    * tag 'acpi-5.17-rc1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
      ACPI: PCC: pcc_ctx can be static
      ACPI: scan: Rename label in acpi_scan_init()
      ACPI: scan: Simplify initialization of power and sleep buttons
      ACPI: scan: Change acpi_scan_init() return value type to void
      ACPI: SPCR: check if table->serial_port.access_width is too wide
      ACPI: APD: Check for NULL pointer after calling devm_ioremap()
      x86/PCI: Ignore E820 reservations for bridge windows on newer systems
      ACPI: pfr_telemetry: Fix info leak in pfrt_log_ioctl()
      ACPI: pfr_update: Fix return value check in pfru_write()
      ACPI: tools: Introduce utility for firmware updates/telemetry
      ACPI: Introduce Platform Firmware Runtime Telemetry driver
      ACPI: Introduce Platform Firmware Runtime Update device driver
      efi: Introduce EFI_FIRMWARE_MANAGEMENT_CAPSULE_HEADER and corresponding structures
    torvalds committed Jan 18, 2022
  26. Merge tag 'slab-for-5.17-part2' of git://git.kernel.org/pub/scm/linux…

    …/kernel/git/vbabka/slab
    
    Pull more slab updates from Vlastimil Babka:
     "Finish the conversion to struct slab by removing slab-specific fields
      from struct page.
    
      The first slab update (see merge commit ca1a46d) did most of the
      conversion, but there was also series in iommu tree removing the
      iommu's usage of struct page 'freelist' field, blocking the final
      struct page cleanup.
    
      Now that the iommu changes have been merged, we can finish the job"
    
    * tag 'slab-for-5.17-part2' of git://git.kernel.org/pub/scm/linux/kernel/git/vbabka/slab:
      mm: Remove slab from struct page
    torvalds committed Jan 18, 2022
  27. Merge tag 'arc-5.17-rc1' of git://git.kernel.org/pub/scm/linux/kernel…

    …/git/vgupta/arc
    
    Pull ARC fixes from Vineet Gupta:
     "Nothing too exciting for now"
    
    * tag 'arc-5.17-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/vgupta/arc:
      arc: use swap() to make code cleaner
      arc: perf: Move static structs to where they're really used
      ARC: perf: fix misleading comment about pmu vs counter stop
      arc: Replace lkml.org links with lore
      ARC: perf: Remove redundant initialization of variable idx
      ARC: thread_info.h: correct two typos in a comment
    torvalds committed Jan 18, 2022
Older