1. 20 Jan, 2022 9 commits
  2. 19 Jan, 2022 11 commits
    • Alexandre Ghiti's avatar
      riscv: Get rid of MAXPHYSMEM configs · db1503d3
      Alexandre Ghiti authored
      CONFIG_MAXPHYSMEM_* are actually never used, even the nommu defconfigs
      selecting the MAXPHYSMEM_2GB had no effects on PAGE_OFFSET since it was
      preempted by !MMU case right before.
      
      In addition, the move of the kernel mapping at the end of the address
      space broke the use of MAXPHYSMEM_2G with MMU since it defines PAGE_OFFSET
      at the same address as the kernel mapping.
      Reported-by: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
      Fixes: 2bfc6cd8 ("riscv: Move kernel mapping outside of linear mapping")
      Signed-off-by: default avatarAlexandre Ghiti <alexandre.ghiti@canonical.com>
      Tested-by: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
      Tested-by: default avatarConor Dooley <Conor.Dooley@microchip.com>
      Cc: stable@vger.kernel.org
      Signed-off-by: default avatarPalmer Dabbelt <palmer@rivosinc.com>
      db1503d3
    • Jisheng Zhang's avatar
      riscv: bpf: Fix eBPF's exception tables · fc839c6d
      Jisheng Zhang authored
      eBPF's exception tables needs to be modified to relative synchronously.
      Suggested-by: default avatarTong Tiangen <tongtiangen@huawei.com>
      Signed-off-by: default avatarJisheng Zhang <jszhang@kernel.org>
      Fixes: 1f77ed94 ("riscv: switch to relative extable and other improvements")
      Signed-off-by: default avatarPalmer Dabbelt <palmer@rivosinc.com>
      fc839c6d
    • Jisheng Zhang's avatar
      riscv: mm: init: try best to remove #ifdef CONFIG_XIP_KERNEL usage · 805a3ebe
      Jisheng Zhang authored
      Currently, the #ifdef CONFIG_XIP_KERNEL usage can be divided into the
      following three types:
      
      The first one is for functions/declarations only used in XIP case.
      
      The second one is for XIP_FIXUP case. Something as below:
      |foo_type foo;
      |#ifdef CONFIG_XIP_KERNEL
      |#define foo    (*(foo_type *)XIP_FIXUP(&foo))
      |#endif
      
      Usually, it's better to let the foo macro sit with the foo var
      together. But if various foos are defined adjacently, we can
      save some #ifdef CONFIG_XIP_KERNEL usage by grouping them together.
      
      The third one is for different implementations for XIP, usually, this
      is a #ifdef...#else...#endif case.
      
      This patch moves the pt_ops macro to adjacent #ifdef CONFIG_XIP_KERNEL
      and group first type usage cases into one.
      Signed-off-by: default avatarJisheng Zhang <jszhang@kernel.org>
      Reviewed-by: default avatarAlexandre Ghiti <alex@ghiti.fr>
      Signed-off-by: default avatarPalmer Dabbelt <palmer@rivosinc.com>
      805a3ebe
    • Jisheng Zhang's avatar
      riscv: mm: init: try IS_ENABLED(CONFIG_XIP_KERNEL) instead of #ifdef · fe036db7
      Jisheng Zhang authored
      Try our best to replace the conditional compilation using
      "#ifdef CONFIG_XIP_KERNEL" with "IS_ENABLED(CONFIG_XIP_KERNEL)", to
      simplify the code and to increase compile coverage.
      Signed-off-by: default avatarJisheng Zhang <jszhang@kernel.org>
      Reviewed-by: default avatarAlexandre Ghiti <alex@ghiti.fr>
      Signed-off-by: default avatarPalmer Dabbelt <palmer@rivosinc.com>
      fe036db7
    • Jisheng Zhang's avatar
      riscv: mm: init: remove _pt_ops and use pt_ops directly · 3274a6ef
      Jisheng Zhang authored
      Except "pt_ops", other global vars when CONFIG_XIP_KERNEL=y is defined
      as below:
      
      |foo_type foo;
      |#ifdef CONFIG_XIP_KERNEL
      |#define foo	(*(foo_type *)XIP_FIXUP(&foo))
      |#endif
      
      Follow the same way for pt_ops to unify the style and to simplify code.
      Signed-off-by: default avatarJisheng Zhang <jszhang@kernel.org>
      Reviewed-by: default avatarAlexandre Ghiti <alex@ghiti.fr>
      Signed-off-by: default avatarPalmer Dabbelt <palmer@rivosinc.com>
      3274a6ef
    • Jisheng Zhang's avatar
      riscv: mm: init: try best to use IS_ENABLED(CONFIG_64BIT) instead of #ifdef · 07aabe8f
      Jisheng Zhang authored
      Try our best to replace the conditional compilation using
      "#ifdef CONFIG_64BIT" by a check for "IS_ENABLED(CONFIG_64BIT)", to
      simplify the code and to increase compile coverage.
      
      Now we can also remove the __maybe_unused used in max_mapped_addr
      declaration.
      
      We also remove the BUG_ON check of mapping the last 4K bytes of the
      addressable memory since this is always true for every kernel actually.
      Signed-off-by: default avatarJisheng Zhang <jszhang@kernel.org>
      Reviewed-by: default avatarAlexandre Ghiti <alex@ghiti.fr>
      Signed-off-by: default avatarPalmer Dabbelt <palmer@rivosinc.com>
      07aabe8f
    • Jisheng Zhang's avatar
      riscv: mm: init: remove unnecessary "#ifdef CONFIG_CRASH_DUMP" · 902d6364
      Jisheng Zhang authored
      The is_kdump_kernel() returns false for !CRASH_DUMP case, so we don't
      need the #ifdef CONFIG_CRASH_DUMP for is_kdump_kernel() checking.
      Signed-off-by: default avatarJisheng Zhang <jszhang@kernel.org>
      Reviewed-by: default avatarAlexandre Ghiti <alex@ghiti.fr>
      Signed-off-by: default avatarPalmer Dabbelt <palmer@rivosinc.com>
      902d6364
    • Linus Torvalds's avatar
      Merge tag 'riscv-for-linus-5.17-mw0' of git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux · f1b744f6
      Linus Torvalds authored
      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
        ...
      f1b744f6
    • Linus Torvalds's avatar
      Merge tag 'kbuild-v5.17' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild · fd6f57bf
      Linus Torvalds authored
      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
        ...
      fd6f57bf
    • Linus Torvalds's avatar
      Merge branch 'random-5.17-rc1-for-linus' of... · 0ed90597
      Linus Torvalds authored
      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
      0ed90597
    • Linus Torvalds's avatar
      Merge tag 'hwlock-v5.17' of git://git.kernel.org/pub/scm/linux/kernel/git/remoteproc/linux · 39b419ea
      Linus Torvalds authored
      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
      39b419ea
  3. 18 Jan, 2022 20 commits
    • Jason A. Donenfeld's avatar
      random: simplify arithmetic function flow in account() · a254a0e4
      Jason A. Donenfeld authored
      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: default avatarDominik Brodowski <linux@dominikbrodowski.net>
      Reviewed-by: default avatarDominik Brodowski <linux@dominikbrodowski.net>
      Signed-off-by: default avatarJason A. Donenfeld <Jason@zx2c4.com>
      a254a0e4
    • Jason A. Donenfeld's avatar
      random: selectively clang-format where it makes sense · 248045b8
      Jason A. Donenfeld authored
      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: default avatarDominik Brodowski <linux@dominikbrodowski.net>
      Signed-off-by: default avatarJason A. Donenfeld <Jason@zx2c4.com>
      248045b8
    • Jason A. Donenfeld's avatar
      random: access input_pool_data directly rather than through pointer · 6c0eace6
      Jason A. Donenfeld authored
      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: default avatarDominik Brodowski <linux@dominikbrodowski.net>
      Signed-off-by: default avatarJason A. Donenfeld <Jason@zx2c4.com>
      6c0eace6
    • Jason A. Donenfeld's avatar
      random: cleanup fractional entropy shift constants · 18263c4e
      Jason A. Donenfeld authored
      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: default avatarDominik Brodowski <linux@dominikbrodowski.net>
      Signed-off-by: default avatarJason A. Donenfeld <Jason@zx2c4.com>
      18263c4e
    • Jason A. Donenfeld's avatar
      random: prepend remaining pool constants with POOL_ · b3d51c1f
      Jason A. Donenfeld authored
      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: default avatarDominik Brodowski <linux@dominikbrodowski.net>
      Signed-off-by: default avatarJason A. Donenfeld <Jason@zx2c4.com>
      b3d51c1f
    • Jason A. Donenfeld's avatar
      random: de-duplicate INPUT_POOL constants · 5b87adf3
      Jason A. Donenfeld authored
      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: default avatarDominik Brodowski <linux@dominikbrodowski.net>
      Signed-off-by: default avatarJason A. Donenfeld <Jason@zx2c4.com>
      5b87adf3
    • Jason A. Donenfeld's avatar
      random: remove unused OUTPUT_POOL constants · 0f637027
      Jason A. Donenfeld authored
      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: default avatarDominik Brodowski <linux@dominikbrodowski.net>
      Signed-off-by: default avatarJason A. Donenfeld <Jason@zx2c4.com>
      0f637027
    • Jason A. Donenfeld's avatar
      random: rather than entropy_store abstraction, use global · 90ed1e67
      Jason A. Donenfeld authored
      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: default avatarDominik Brodowski <linux@dominikbrodowski.net>
      Signed-off-by: default avatarJason A. Donenfeld <Jason@zx2c4.com>
      90ed1e67
    • Jason A. Donenfeld's avatar
      random: remove unused extract_entropy() reserved argument · 8b2d953b
      Jason A. Donenfeld authored
      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: default avatarDominik Brodowski <linux@dominikbrodowski.net>
      Signed-off-by: default avatarJason A. Donenfeld <Jason@zx2c4.com>
      8b2d953b
    • Jason A. Donenfeld's avatar
      random: remove incomplete last_data logic · a4bfa9b3
      Jason A. Donenfeld authored
      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: default avatarDominik Brodowski <linux@dominikbrodowski.net>
      Signed-off-by: default avatarJason A. Donenfeld <Jason@zx2c4.com>
      a4bfa9b3
    • Jason A. Donenfeld's avatar
      random: cleanup integer types · d38bb085
      Jason A. Donenfeld authored
      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: default avatarDominik Brodowski <linux@dominikbrodowski.net>
      Signed-off-by: default avatarJason A. Donenfeld <Jason@zx2c4.com>
      d38bb085
    • Jason A. Donenfeld's avatar
      random: cleanup poolinfo abstraction · 91ec0fe1
      Jason A. Donenfeld authored
      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: default avatarDominik Brodowski <linux@dominikbrodowski.net>
      Signed-off-by: default avatarJason A. Donenfeld <Jason@zx2c4.com>
      91ec0fe1
    • Schspa Shi's avatar
      random: fix typo in comments · c0a8a61e
      Schspa Shi authored
      s/or/for
      Signed-off-by: default avatarSchspa Shi <schspa@gmail.com>
      Signed-off-by: default avatarJason A. Donenfeld <Jason@zx2c4.com>
      c0a8a61e
    • Jason A. Donenfeld's avatar
      lib/crypto: sha1: re-roll loops to reduce code size · 9a1536b0
      Jason A. Donenfeld authored
      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: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
      Signed-off-by: default avatarJason A. Donenfeld <Jason@zx2c4.com>
      9a1536b0
    • Jason A. Donenfeld's avatar
      lib/crypto: blake2s: move hmac construction into wireguard · d8d83d8a
      Jason A. Donenfeld authored
      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: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
      Acked-by: default avatarArd Biesheuvel <ardb@kernel.org>
      Signed-off-by: default avatarJason A. Donenfeld <Jason@zx2c4.com>
      d8d83d8a
    • Justin M. Forbes's avatar
      lib/crypto: add prompts back to crypto libraries · e56e1898
      Justin M. Forbes authored
      Commit 6048fdcc ("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: 6048fdcc ("lib/crypto: blake2s: include as built-in")
      Cc: Herbert Xu <herbert@gondor.apana.org.au>
      Cc: linux-crypto@vger.kernel.org
      Signed-off-by: default avatarJustin 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: default avatarJason A. Donenfeld <Jason@zx2c4.com>
      e56e1898
    • Linus Torvalds's avatar
      Merge tag 'dmaengine-5.17-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/vkoul/dmaengine · 99613159
      Linus Torvalds authored
      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
        ...
      99613159
    • Linus Torvalds's avatar
      Merge tag 'ata-5.17-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/dlemoal/libata · fe81ba13
      Linus Torvalds authored
      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
        ...
      fe81ba13
    • Linus Torvalds's avatar
      Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost · 3bf6a9e3
      Linus Torvalds authored
      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
        ...
      3bf6a9e3
    • Linus Torvalds's avatar
      Merge tag 'rproc-v5.17' of git://git.kernel.org/pub/scm/linux/kernel/git/remoteproc/linux · 46a10fc3
      Linus Torvalds authored
      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
        ...
      46a10fc3