aboutsummaryrefslogtreecommitdiff
path: root/sys/modules
Commit message (Collapse)AuthorAgeFilesLines
* ipfilter: Disable ipfs(8) by defaultCy Schubert2026-01-051-0/+6
| | | | | | | | | | | | | | | At the moment ipfs(8) is a tool that can be easily abused. Though the concept is sound the implementation needs some work. ipfs(8) should be considered experimental at the moment. This commit also makes ipfs support in the kernel optional. Reviewed by: emaste, glebius MFC after: 1 week Differential revision: https://reviews.freebsd.org/D53787 (cherry picked from commit 0ff0c19e7f70bc4d3f98196a8ad43de635cf13e5)
* agp: Export intel_gtt_read_pte, required by i915kmsEd Maste2025-12-151-0/+1
| | | | | | | | | | | | | | This isn't used by modern cards, but is needed for i915kms to load on a system that has agp as a module not compiled into the kernel. PR: 291214 Reviewed by: cy Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D53906 (cherry picked from commit a87c1e2dd8fc997d6ee603c252c543afe8a4d2a4) (cherry picked from commit 8befd2d2b6a0c5d54fa53246a89ae09009007799) (cherry picked from commit ae1f6fd47c4584d1abe5ecf26f291d282e6f6a67)
* ice_ddp: Update to 1.3.41.0Eric Joyner2025-07-241-1/+1
| | | | | | | | | | | | | | Primarily adds support for E830 devices, unlocking all of their functionality. As well, update the README and remove the non-FreeBSD sections from it. Signed-off-by: Eric Joyner <erj@FreeBSD.org> Sponsored by: Intel Corporation (cherry picked from commit f68513e7a446b4b0598b7f3d1b3e13f592b85d92)
* ng_sppp: Build only on i386 and amd64Zhenlei Huang2025-02-031-1/+5
| | | | | | | This module depends on sppp(4) which is only enabled on i386 and amd64. This is a direct commit to stable/13 as ng_sppp(4) no longer exists in -current and stable/14.
* ena: Update license signatures to 2024Osama Abboud2024-10-311-1/+1
| | | | | | | | | This commit updates all the license signatures to 2024. Approved by: cperciva (mentor) Sponsored by: Amazon, Inc. (cherry picked from commit 8d6806cd08c093fc001db1f94cf122368b8d1549)
* ice_ddp: Update package to 1.3.36.0Eric Joyner2024-07-311-1/+1
| | | | | | | | | | | | This is intended to be used with the upcoming ice 1.39.13-k driver update, but is still backwards compatible with previous versions of the driver. Signed-off-by: Eric Joyner <erj@FreeBSD.org> Sponsored by: Intel Corporation (cherry picked from commit 768329961dc0c041f7647f1c4549944a2ca168aa)
* ice_ddp: Update to 1.3.35.0Eric Joyner2024-07-311-1/+1
| | | | | | | | | | | This is intended to be used with the upcoming updated ice(4) version 1.38.16-k. Signed-off-by: Eric Joyner <erj@FreeBSD.org> Sponsored by: Intel Corporation (cherry picked from commit e04c4b4a369df3f1dcbebbdf726193f02af60801)
* MFC: linux: Make module standalone-buildableWarner Losh2024-07-031-0/+2
| | | | | | Add opt_inet.h and opt_usb.h to make linux module buildable standalone. (cherry picked from commit c5f906d32d2bc8e37f1e1911382e27af7e6240ff)
* tau32-ddk.c: suppress warning about ignored attributesDimitry Andric2024-04-201-0/+1
| | | | | | | | | | | | | | This driver is heavily obfuscated, and causes a -Werror warning with clang 18 now: sys/dev/ce/tau32-ddk.c:358:10: error: 'const' attribute on function returning 'void'; attribute ignored [-Werror,-Wignored-attributes] 358 | ((const))nvqbt(void){__asm __volatile("repe; nop; repe; nop;" | ^ Supress the warning since the driver can never be fixed. Direct commit to stable/13, since the driver has been removed in 14.x and later. PR: 276104
* zfs: merge openzfs/zfs@fb6d53206 (zfs-2.1-release) into stable/13Martin Matuska2024-03-012-4/+61
| | | | | | | | | | | | | | | | | Notable upstream pull request merges: #13976 3ad882658 Avoid calling rw_destroy() on uninitialized rwlock #15243 11574a793 Add zfs_prepare_disk script for disk firmware install #15331 e1bc32f71 Report ashift of L2ARC devices in zdb #15675 12a031a3f spa: make read/write queues configurable #15719 b4481996b spa: Fix FreeBSD sysctl handlers #15719 8e5298f0a spa: Let spa_taskq_param_get()'s addition of a newline be optional #15769 dfece78a4 Add 'zpool status -e' flag to see unhealthy vdevs #15847 d1ee3d611 LUA: Backport CVE-2020-24370's patch Obtained from: OpenZFS OpenZFS commit: fb6d532066f23458f768a97ae94b158c42cbe484 OpenZFS tag: zfs-2.1.15
* iwlwifi: add the d3 (PM) bits to the Makefile (disabled)Bjoern A. Zeeb2024-02-191-2/+6
| | | | | | | | | | | | | Add the logic to conditionally enable PM for iwlwifi. This should help suspend/resume in the future. For now leave it disabled until other preconditional problems are sorted. Sponsored by: The FreeBSD Foundation (2023) Reviewed by: cc Differential Revision: https://reviews.freebsd.org/D43647 (cherry picked from commit 8f7c32a41a6a6d88e36ce2f588489274193c2c9a)
* iwlwififw: add firmware for the Bz/B200 chipsetBjoern A. Zeeb2024-02-193-0/+15
| | | | | | | | | | | | | | | The iwlwifi driver already supports the chipset as "Bz TBD" (also in 14.0). Add the firmware for it. Successfully tested for 0x8086/0x272b/0x8086/0x00f4 on arm64 thanks to donated hardware [1]. Firmware was obtained from linux-firmware at 9552083a783e5e48b90de674d4e3bf23bb855ab0 . Sponsored by: The FreeBSD Foundation Sponsored by: Martin Hoehne / minipci.biz (B200 card) [1] (cherry picked from commit b647615ede46af66cd0c8bd5a321d4a2cccdabe0)
* add allwinner overlays for enabling additional USB portsAndriy Gapon2024-02-171-1/+3
| | | | | | | For instance, on NanoPi NEO two additional ports are available via a GPIO header. (cherry picked from commit 197944948e6229f625306f38403737ed723e544e)
* ispfw(4): Update and add firmwareJoerg Pulz2024-01-194-0/+108
| | | | | | | | | | | | | | | | | Update 25xx firmware: version 8.8.207 Add 26xx firmware: version 8.8.231 Add 27xx firmware: version 9.12.0 Add 28xx firmware: version 9.12.1 Remove BUGS section from manpage as we now have firmware for all supported controllers. PR: 273263 MFC after: 1 month Pull Request: https://github.com/freebsd/freebsd-src/pull/877 Sponsored by: Technical University of Munich (cherry picked from commit b0c6b06836351b3908ba5b2a847c89c42d1a46c3)
* ena: Update the license dating to 2023Osama Abboud2024-01-141-1/+1
| | | | | | | | | | | Some of the files are using outdated linceses. Update the license to be 2023. Approved by: cperciva (mentor) MFC after: 2 weeks Sponsored by: Amazon, Inc. (cherry picked from commit 246aa273244e91a30d70997a3be790a29f9eb29c)
* cxgbe(4): Update firmwares to 1.27.5.0Navdeep Parhar2024-01-113-3/+3
| | | | | | | | | | | | | | | | | Version : 1.27.5.0 Date : 10/10/2023 ===================== Fixes ----- BASE: - Fixed handling the Remote Fault with AN, causing the link failure. ===================== Obtained from: Chelsio Communications Sponsored by: Chelsio Communications (cherry picked from commit b1e82d33193b83d86d46483b4ddfe295becd80c4)
* cxgbe(4): Update firmwares to 1.27.4.0Navdeep Parhar2024-01-113-3/+3
| | | | | | | | | | | | | | | | | | | | | This is the list of changes since last release, taken from the release notes of Chelsio Unified Wire 3.18.0.1. Version : 1.27.4.0 Date : 07/05/2023 ======================================= Fixes ----- BASE: - Handle 40G to 100G cable change. - Avoid unnecessary i2c read. ======================================= Obtained from: Chelsio Communications Sponsored by: Chelsio Communications (cherry picked from commit 8a2e880ab07f3cd04a0f458809fba5d4eacf75f1)
* cxgbe(4): Update firmwares to version 1.27.3.0Navdeep Parhar2024-01-113-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These are the changes since the last update (copy-pasted from the release notes for Chelsio Unified Wire v3.18.0.0): ==================== Version : 1.27.3.0 Date : 04/07/2023 Fixes ----- BASE: - Fixed a hang if module eeprom reads gives invalid data. - KR backlplane no-fec link problem fixed. OFLD: - iscsi ddp errors fixed. - iwarp connection abort in rare cases causing NIC traffic hang fixed. ENHANCEMENTS ------------ BASE: - Cisco GLC-TE 1G modules support added. ==================== Version : 1.27.1.0 Date : 12/02/2022 Fixes ----- BASE: - memwrite dsgl cannot be used for T5. OFLD: - Enabled FCoE in SO adapters. - TOE-TLS crash fixed. - iscsi hang fixed. Sponsored by: Chelsio Communications (cherry picked from commit ca5391bd8579fd404dc31880b4d8744f43d22adb)
* zfs: merge openzfs/zfs@d99134be8 (zfs-2.1-release) into stable/13Martin Matuska2023-12-022-4/+4
| | | | | | | | | | | | | OpenZFS release 2.1.14 Notable upstream pull request merges: #15395 1ca531971 Zpool can start allocating from metaslab before TRIMs have completed #15571 77b0c6f04 dnode_is_dirty: check dnode and its data for dirtiness Obtained from: OpenZFS OpenZFS tag: zfs-2.1.14 OpenZFS commit: d99134be83753266b5f7a79738aeab5b08db1e35
* iwlwifi/rtw88: re-attach to build after updatesBjoern A. Zeeb2023-11-291-2/+2
| | | | | | | | | | | | | While the build-breaking changes were only in the window of the two commits, further updates were easier to merge and restored some functionality as well. Now that we are done, add iwlwifi/rtw88 back to the build. This reverts commit b75d1ce6c10652fc4bfbf509deeae0e05c3d1356. Sponsored by: The FreeBSD Foundation (cherry picked from commit af6aaa90057d75644c41527acc903082104e4114)
* iwlwifi firmware: update up-to -83 / updated -77 for othersBjoern A. Zeeb2023-11-2915-15/+15
| | | | | | | | | Firmware was obtained from linux-firmware at dfa11466cf000120d1551146fd5bf78c44941eda. Sponsored by: The FreeBSD Foundation (cherry picked from commit 027768a21217499dd85aba8608715a5bf66a7857)
* iwlwifi: update driver from upstreamBjoern A. Zeeb2023-11-291-0/+4
| | | | | | | | | | | | This is a combined versions of updates of the iwlwifi driver based on wireless-testing (wt-2023-05-11) 711dca0ca3d77414f8f346e564e9c8640147f40d (after v6.4-rc1). (wt-2023-06-09) 7bd20e011626ccc3ad53e57873452b1716fcfaaa (after v6.4-rc5). (wt-2023-07-24) 62e409149b62a285e89018e49b2e115757fb9022 (after v6.5-rc3). Sponsored by: The FreeBSD Foundation (cherry picked from commit 9af1bba44e1ce9b0296ae56760b564d67ab7a1cf)
* iwlwifi/rtw88: temporary disable build for updatesBjoern A. Zeeb2023-11-291-3/+2
| | | | | | | | | | Disconnect iwlwifi/rtw88 from the build for a few commits which, due to incompatible LinuxKPI 802.11 changes would break the build for a revision. It will be re-enabled "instantly". Sponsored by: The FreeBSD Foundation (cherry picked from commit b75d1ce6c10652fc4bfbf509deeae0e05c3d1356)
* veriexec: Correctly export symbolsZhenlei Huang2023-10-231-1/+1
| | | | | | | | | | | | There's no symbol named 'mac_veriexec_get_executable_flags', the right one should be the function 'mac_veriexec_metadata_get_executable_flags()'. Reviewed by: stevek MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D42133 (cherry picked from commit f34c9c4e3bdc2b8bffae4ac26897e0e847e9f76f) (cherry picked from commit d8aaf09792338fae07b9618665ea9612b7b92a6e)
* zfs: merge openzfs/zfs@eb62221ff (zfs-2.1-release) into stable/13Martin Matuska2023-09-302-5/+32
| | | | | | | | | | | | | | | | | | | | | OpenZFS release 2.1.13 Notable upstream pull request merges: #14828 d91778e31 Remove duplicate code in l2arc_evict() #14939 425f7895d Fix the L2ARC write size calculating logic #14954 c12b5829e Fix the L2ARC write size calculating logic (2) #14963 f28cd347c Store the L2ARC device ashift in the vdev label #14981 ef2156c66 Shorten arcstat_quiescence sleep time #14987 cb549c742 Fix memory leak in zil_parse() #15000 6e79bcd35 Fix remount when setting multiple properties #15039 e01e3a4e1 Fix raw receive with different indirect block size #15084 846a4cc08 zed: Fix zed ASSERT on slot power cycle #15094 1abf68b7a zed: Reduce log noise for large JBODs Obtained from: OpenZFS OpenZFS tag: zfs-2.1.13 OpenZFS commit: eb62221ff0f9efbc2ab826ec6f1388c5f05fb664 Relnotes: yes
* irdma(4): upgrade to 1.2.17-kBartosz Sobczak2023-09-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Update Intel irdma driver to version 1.2.17-k Notable changes: - pf-reset handling improvements, including fixes in communication with if_ice(4) - avoid racing when handling various events - adding sw stats sysctls - hand over pe_criterr handling from ice(4) to irdma(4) - debug prints adjustments - fix crash after changes in irdma_add_mqh_ifa_cb Additional fixes in stable/13 but not in original cherry-picked commit: - code appearance improvements - bug fixes in fbsd_kcompat.c - avoid waiting procedures under lock in irdma_add_mqh_ifa_cb - busy wait for manage_qhash - stats don't need to be RDTUN, RD is enough Signed-off-by: Bartosz Sobczak <bartosz.sobczak@intel.com> Signed-off-by: Eric Joyner <erj@FreeBSD.org> Reviewed by: erj@ Sponsored by: Intel Corporation Differential Revision: https://reviews.freebsd.org/D41425 (cherry picked from commit 01fbb86991d524288a785b544c29d9c5ea1b61fb)
* sys: Remove $FreeBSD$: one-line sh patternWarner Losh2023-08-231072-1088/+0
| | | | | | | Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/ Similar commit in current: (cherry picked from commit 031beb4e239b)
* sys: Remove $FreeBSD$: one-line .h patternWarner Losh2023-08-232-2/+0
| | | | | | | Remove /^\s*\*+\s*\$FreeBSD\$.*$\n/ Similar commit in current: (cherry picked from commit 2ff63af9b88c)
* sys: Remove $FreeBSD$: two-line .h patternWarner Losh2023-08-231-2/+0
| | | | | | | Remove /^\s*\*\n \*\s+\$FreeBSD\$$\n/ Similar commit in current: (cherry picked from commit 95ee2897e98f)
* gve: Fix build on i386 and enable LINT builds.Xin LI2023-08-181-4/+1
| | | | | | | Reviewed-by: imp Differential Revision: https://reviews.freebsd.org/D40419 (cherry picked from commit 4d779448adb32ef6424abb781dab87065964d42f)
* Add gve, the driver for Google Virtual NIC (gVNIC)Shailend Chand2023-08-182-0/+42
| | | | | | | | | | | | | | | | | | gVNIC is a virtual network interface designed specifically for Google Compute Engine (GCE). It is required to support per-VM Tier_1 networking performance, and for using certain VM shapes on GCE. The NIC supports TSO, Rx and Tx checksum offloads, and RSS. It does not currently do hardware LRO, and thus the software-LRO in the host is used instead. It also supports jumbo frames. For each queue, the driver negotiates a set of pages with the NIC to serve as a fixed bounce buffer, this precludes the use of iflib. Reviewed-by: markj Differential Revision: https://reviews.freebsd.org/D39873 (cherry picked from commit 54dfc97b0bd99f1c3bcbb37357cf28cd81a7cf00)
* base: Remove support for the VTOC8 partitioning schemeMarius Strobl2023-08-062-12/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The removal of the sparc64 support in February 2020 obsoleted the VTOC8 partitioning scheme as no other FreeBSD platform makes use of it. Moreover, the code is bitrotting as nothing defines e. g. LOADER_VTOC8_SUPPORT any more and, thus, should go now, too. With this change, the following commits are reverted as far as VTOC8 is concerned and parts haven't already previously been deleted along with prior sparc64 removals: 094fcb157d4c98211899cf09d06e2cf19149b7e0 a7d366e9589c95feda6f3bc78c59c6355d51f126 ba8d50d08b9df4e8213f9a6997ff6792ecebcd9b The alignment example d9711c28efc4ec89ba5ea11f8fd63e9d0a7fc81b added to the VTOC8 section of gpart.8 is folded into the MBR one. This should finally conclude the deorbit of sparc64-specific bits. We had joy, we had fun we ran Unix on a Sun. But that source and the song of FreeBSD have all gone. Credits to Michael Bueker for the original "Unix on a Sun" and Rod McKuen for the "Seasons in the Sun" lyrics. (cherry picked from commit 4ef1c6f75d25ba0c264ab274a1b449467a6ee817)
* spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSDWarner Losh2023-07-251-1/+1
| | | | | | | | | | | The SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catch up to that fact and revert to their recommended match of BSD-2-Clause. Discussed with: pfg MFC After: 3 days Sponsored by: Netflix (cherry picked from commit 4d846d260e2b9a3d4d0a701462568268cbfe7a5b)
* ath10k: ath11k: add specific LinuxKPI supportBjoern A. Zeeb2023-06-261-0/+3
| | | | | | | | | | | Add files needed by ath1?k drivers to linuxkpi/linuxkpi_wlan. This contain (skeleton) implementations of what is needed to compile but specifically mhi/qmi/qrtr will need more work for ath11k. (cherry picked from commit 06a1103fe38677ba6213cae321255f53e9476dcd) (cherry picked from commit 047298203fc3bc2b290f44b9531a7b7d553fe9b7) (cherry picked from commit bee50f894b9e0b51668c83e24bf2ec7c275725eb)
* iwlwifi: rtw88: rtw89: fix gcc warningsBjoern A. Zeeb2023-06-261-3/+0
| | | | | | | | | | | | Fix -Wno-format and unused variables warnings with gcc by adopting (to|the) FreeBSD-specific code. Reported by: jhb Sponsored by: The FreeBSD Foundation Reviewed by: jhb Differential Revision: https://reviews.freebsd.org/D39673 (cherry picked from commit f621b087c00776de713944ae6561e44f83e7b541)
* dpaa2: add console support for FDT based systemsBjoern A. Zeeb2023-06-261-0/+2
| | | | | | | | | | | | | | | | Add DPAA2 console support for MC and AIOP (latter untested) for FDT systems. ACPI systems are prepared but need some proper bus function in order to get the address from MC (and likely a file splitup then). This will come at a later stage once other ACPI/FDT bus parts are cleared up. The work was originally done in July 2022 and finally switched to bus_space[1] lately to be ready for main. Suggested by: andrew [1] Reviewed by: dsl Differential Revision: https://reviews.freebsd.org/D38592 (cherry picked from commit 72ef722b2a34b8f94fd639b05881242686480f05)
* ipmi: add Block Transfer interface supportAndrey V. Elsukov2023-06-251-1/+1
| | | | | | | | | Reviewed by: ambrisko Obtained from: Yandex LLC Sponsored by: Yandex LLC Differential Revision: https://reviews.freebsd.org/D40421 (cherry picked from commit 1f166509895dd90fcaaa08b557f9bc106e3f7e71)
* zfs: merge openzfs/zfs@86783d7d9 (zfs-2.1-release) into stable/13Martin Matuska2023-06-172-6/+69
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | OpenZFS release 2.1.12 Notable upstream pull requeset merges: #14145 Storage device expansion "silently" fails on degraded vdev #14358 Wait for txg sync if the last DRR_FREEOBJECTS might result in a hole #14410 Improve resilver ETAs #14428 Resilver performance tuning #14501 FreeBSD: don't verify recycled vnode for zfs control directory #14524 Ignore too large stack in case of dsl_deadlist_merge #14659 Allow MMP to bypass waiting for other threads #14722 Fix "Detach spare vdev in case if resilvering does not happen" #14774 FreeBSD .zfs fixups #14776 FreeBSD: make zfs_vfs_held() definition consistent with declaration #14788 FreeBSD: add missing vop_fplookup assignments #14794 zpool import -m also removing spare and cache when log device is missing #14795 Fix positive ABD size assertion in abd_verify() #14798 Mark TX_COMMIT transaction with TXG_NOTHROTTLE #14811 Refine special_small_blocks property validation #14816 Fix two abd_gang_add_gang() issues #14819 Add dmu_tx_hold_append() interface #14823 Remove single parent assertion from zio_nowait() #14853 zil: Don't expect zio_shrink() to succeed #14861 Probe vdevs before marking removed #14873 Add the ability to uninitialize a zpool #14892 Fix concurrent resilvers initiated at same time #14903 Fix NULL pointer dereference when doing concurrent 'send' operations #14910 ZIL: Allow to replay blocks of any size Obtained from: OpenZFS OpenZFS tag: zfs-2.1.12 OpenZFS commit: 86783d7d92cf7a859464719a917fdff845b9a9e1 Relnotes: yes
* Revert "LinuxKPI: Make FPU sections thread-safe and use the NOCTX flag."John Baldwin2023-05-271-2/+1
| | | | | | | | This broke part of the KBI used by drm-kmod. This reverts commit 8ca78eb03fd4b3c9f514ea6c075fc44dc9c02d27. Reported by: manu
* acpi_ged: New driver to ACPI generic event deviceTakanori Watanabe2023-05-162-1/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | New driver to ACPI generic event device, defined in ACPI spec. Some ACPI power button may not work without this. In qemu arm64 with "virt" machine, with ACPI firmware, enable devd check devd message by and invoke following command in qemu monitor (qemu) system_powerdown and make sure some power button input event appear. (setting sysctl hw.acpi.power_button_state=S5 is not work, because ACPI tree does not have \_S5 object.) Reviewed by: andrew, hrs Differential Revision: https://reviews.freebsd.org/D37032 (cherry-picked from a9880bfe1181b7a32d026339bae113f24300e5e1) acpi_ged: fix build, as module and non INTRNG case. Reviewed-by: cy Differential Revision: https://reviews.freebsd.org/D37104 (cherry-picked from 9cf5db63698b3c73edd632412bf68735d3c20d37) acpi_ged: fix build with ACPI_DEBUG (cherry-picked from ba23f762ece54a86f64b8ef62bbfc9c73c98762c) Make it compile for 13-stable.
* dtrace: expose dtrace_instr_size() to userland and implement it for riscvChristos Margiolis2023-05-071-0/+4
| | | | | | | | | | | | dtrace_instr_size() is needed by the forthcoming RISC-V port of kinst, as well as by libdtrace in D38825 for both amd64 and RISC-V. Reviewed by: markj, mhorne MFC after: 1 week Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D39489 (cherry picked from commit 080e56a6c98c7e7a241a4260d4c19d3cad5b22af)
* sys: Retire OPENZFS_CWARNFLAGS now that it is empty.John Baldwin2023-05-0315-16/+1
| | | | | | | Reviewed by: markj, emaste Differential Revision: https://reviews.freebsd.org/D39217 (cherry picked from commit dddb1aec4d54ba949201f4a2e3146cfab4a5870f)
* Fix spelling of NO_WINFINITE_RECURSION.John Baldwin2023-05-031-1/+1
| | | | | | | Reported by: dim Fixes: 2e08e4b75ea1 zfs: Fix build with GCC 12. (cherry picked from commit 3266131908914b3a359571dae75194fe6d330c1d)
* zfs: Fix build with GCC 12.John Baldwin2023-05-031-1/+2
| | | | | | | | | | Silence -Winfinite-recursion for ldo.c in lua and -Wstringop-overread for nvpair.c. Reviewed by: mm Differential Revision: https://reviews.freebsd.org/D37631 (cherry picked from commit 2e08e4b75ea1080c224a33baf62199d893dc322d)
* sys: Stop enabling -Wnested-externs.John Baldwin2023-05-031-1/+0
| | | | | | | | | | | | | | clang doesn't implement this warning, so violations are only caught by GCC. It is also no longer a common practice to use this as it was in the original BSD code, so the need for the warning is not as important as when it was used to do cleanups 20 years ago. A recent commit (c3179891f897d840f578a5139839fcacb587c96d) triggers this warning on GCC, but that commit uses nested externs purposefully. Reviewed by: markj, emaste Differential Revision: https://reviews.freebsd.org/D39214 (cherry picked from commit 4ffeb3b88ed228e72e13abe1be888c77c6ede95d)
* mlx5: Implement diagostic counters as sysctl(8) nodes.Hans Petter Selasky2023-04-301-0/+1
| | | | | | Sponsored by: NVIDIA Networking (cherry picked from commit aa7bbdabde890676d54a22eeec3af9b7681d19b7)
* zfs: merge openzfs/zfs@e25f9131d (zfs-2.1-release) into stable/13Martin Matuska2023-04-232-6/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | OpenZFS release 2.1.11 Notable upstream pull requeset merges: #13368 ZFS_IOC_COUNT_FILLED does unnecessary txg_wait_synced() (reverted) #13758 Allow mounting snapshots in .zfs/snapshot as a regular user #13816 Fix a race condition in dsl_dataset_sync() when activating features #14039 Optimize microzaps #14196 Remove atomics from zh_refcount #14198 Switch dnode stats to wmsums #14199 Remove few pointer dereferences in dbuf_read() #14200 Micro-optimize zrl_remove() #14218 Avoid a null pointer dereference in zfs_mount() on FreeBSD #14293 Turn default_bs and default_ibs into ZFS_MODULE_PARAMs #14317 Pack zrlock_t by 8 bytes #14402 Prefetch on deadlists merge #14418 Introduce minimal ZIL block commit delay #14448 Fix console progress reporting for recursive send #14454 Improve arc_read() error reporting #14502 Partially revert f806306ce0 "Activate filesystem features only in syncing context" #14516 System-wide speculative prefetch limit #14523 Move dmu_buf_rele() after dsl_dataset_sync_done() #14563 Optimize the is_l2cacheable functions #14573 Add missing increment to dsl_deadlist_move_bpobj() #14621 Colorize patchset #14639 FreeBSD: Remove extra arc_reduce_target_size() call #14641 Additional limits on hole reporting #14653 Update vdev state for spare vdev #14712 Fix "Add colored output to zfs list" #14761 Revert "ZFS_IOC_COUNT_FILLED does unnecessary txg_wait_synced()" Obtained from: OpenZFS OpenZFS tag: zfs-2.1.11 OpenZFS commit: e25f9131d679692704c11dc0c1df6d4585b70c35 Relnotes: yes
* tmpfs: MFC: unbreak module build outside of kernel build environmentEugene Grosbein2023-04-181-1/+2
| | | | (cherry picked from commit 5ee1c90e50ce8832c79aa61c8c2bbb71bd097799)
* imgact_binmisc: MFC: unbreak module build outside of kernel build environmentEugene Grosbein2023-04-141-1/+1
| | | | (cherry picked from commit 37f4cb29bdafa33ec46f505fb5b769bafddcac74)
* MFC: bcm5874: Add opt_usb.h for module dependencyWarner Losh2023-04-111-1/+1
| | | | (cherry picked from commit 56cc89585d392d8c8f120b2e4b8faa7df236b4ea)