1. 04 Jul, 2022 5 commits
  2. 03 Jul, 2022 19 commits
  3. 02 Jul, 2022 8 commits
  4. 01 Jul, 2022 8 commits
    • Dimitry Andric's avatar
      Apply llvm fix for assertion/crash building archivers/c-blosc2 · 836d47d3
      Dimitry Andric authored
      Merge commit 88ce403c6aab from llvm git (by Florian Hahn):
      
        [LV] Add new block to place recurrence splice, if needed.
      
        In some cases, a recurrence splice instructions needs to be inserted
        between to regions, for example if the regions get re-arranged during
        sinking.
      
        Fixes #56146.
      
      PR:		264979
      Reported by:	Robert Clausecker <fuz@fuz.su>
      MFC after:	3 days
      836d47d3
    • Rick Macklem's avatar
      mount_nfs: Warn that intr, soft are not safe for NFSv4 · c0d14b02
      Rick Macklem authored
      If the "intr" and/or "soft" mount options are used for
      NFSv4 mounts, the protocol can be broken when the
      operation returns without waiting for the RPC reply.
      The likelyhood of failure increases for NFSv4.1/4.2
      mounts, since the session slot will be broken when
      an RPC reply is not processed.
      
      This is mentioned in the BUGS section of "man mount_nfs",
      but more needs to be done.  This patch adds code that
      generates a warning message when the mount is done.
      
      PR: 260011
      Reviewed by:	emaste
      MFC after:	2 weeks
      Differential Revision:	https://reviews.freebsd.org/D35407
      c0d14b02
    • Warner Losh's avatar
      MIMIMAL: add uart · ea5b2d62
      Warner Losh authored
      While uart could be detected completely through plug and play means, add
      it here for two reasons. First, we don't do that from the loader, so
      it's not available as a console. Second, even if we did do it from the
      loader, there's a limitation in the system today that console drivers
      must be compiled into the kernel because the console is selected before
      external modules are linked into the kernel. Adding it only increases
      the kernel size by ~14k as well.
      
      Sponsored by:		Netflix
      Idea liked by:		des, rpokala, brooks, jhb
      ea5b2d62
    • Mark Johnston's avatar
      crypto: Validate return values from CRYPTODEV_PROCESS() · 99df9148
      Mark Johnston authored
      Errors are always handled by the completion callback, so we should check
      that they're not also passed back to the caller.
      
      No functional change intended.
      
      Reviewed by:	kp, mav, jhb
      MFC after:	2 weeks
      Sponsored by:	The FreeBSD Foundation
      Differential Revision:	https://reviews.freebsd.org/D35382
      99df9148
    • Mark Johnston's avatar
      crypto: Fix the NULL_HMAC finalizer · 8179db52
      Mark Johnston authored
      The current implementation leaves the digest buffer partially
      uninitialized.
      
      Reported by:	syzkaller
      Reviewed by:	jhb
      MFC after:	1 week
      Sponsored by:	The FreeBSD Foundation
      Differential Revision:	https://reviews.freebsd.org/D35547
      8179db52
    • Mark Johnston's avatar
      ena: Make first_interrupt a uint8_t · b72f1f45
      Mark Johnston authored
      We do not have atomic(9) routines for bools, and it is not guaranteed
      that sizeof(bool) is 1.
      
      This fixes the KASAN and KMSAN kernel builds, which fail because the
      compiler refuses to silently cast a _Bool * to a uint8_t * when calling
      the atomic(9) sanitizer interceptors.
      
      Reviewed by:	Dawid Górecki <dgr@semihalf.com>
      MFC after:	2 weeks
      Fixes:	0ac122c3 ("ena: Use atomic_load/store functions for first_interrupt variable")
      Differential Revision:	https://reviews.freebsd.org/D35683
      b72f1f45
    • Bjoern A. Zeeb's avatar
      Revert "rtw88: split driver up into a core and pci part" · 17732dd8
      Bjoern A. Zeeb authored
      After some discussion, for now, simply revert the change to split
      the driver up into if_rtw88_core.ko and if_rtw88_pci.ko as we do
      not have an if_rtw88.ko anymore.  We do have code trying to
      auto-load modules, e.g. ifconfig, based on if_xxx.ko.
      
      We could, based on Makefile magic or further code, generate a
      if_rtw88.ko module with proper dependencies and keep this but for
      simplicity stay with the one slightly larger module for now.
      Should code appear to do this "properly" we can revisit this once
      USB support has landed.
      
      Slightly update the module Makefile to keep the separation of files
      between core and pci bits visible and maintainable for the future.
      
      This reverts commit 0f7b9777.
      17732dd8
    • Alfredo Dal'Ava Junior's avatar
      loader: fix powerpc* ofw loader · 5d48fb3b
      Alfredo Dal'Ava Junior authored
      With the introduction of llvm14, the powerpc* loader used on ofw/pseries
      for 32 and 64 bit architectures puts the .data.rel.ro section after
      .data section. This caused a crash kernel didn't boot. Bisect pointed to
      change https://reviews.llvm.org/D111717 but problem could be fixed by
      adding a section description to make it appear in the expected order.
      
      This patch is based on discussion at:
              https://github.com/llvm/llvm-project/issues/56306
      
      MFC after:	1 day
      Sponsored by:	Instituto de Pesquisas Eldorado (eldorado.org.br)
      5d48fb3b