aboutsummaryrefslogtreecommitdiff
path: root/sys/modules
Commit message (Collapse)AuthorAgeFilesLines
...
* Remove: sys/dts/arm/overlays/spigen-rpi-b.dtsoOskar Holmlund2025-12-121-1/+0
| | | | | | | Remove SPIGEN device tree overlay used with rpi-b (BCM2835/armv6) Approved by: manu (mentor) Differential revision: https://reviews.freebsd.org/D54188
* sys/dts: Remove i.MX5 device treeOskar Holmlund2025-12-111-5/+0
| | | | | | | | | | | | | | IMX51 is already EOL and IMX53 is going to be EOL in Feb 2026. See NXP product longevity site Remove Digi ConnectCore Wi-i.MX53 Genesi Efika MX FreeBSD own DTSI for imx51 and imx53 sys/modules/dtb/imx5 for i.MX53 quick start board. Approved by: manu (mentor) Differential revision: https://reviews.freebsd.org/D53888
* nvd: Connect nvme_if methodsWarner Losh2025-12-101-1/+1
| | | | | | | | Conenct methods to manage namespaces explicitly to replace the old consumer interface. Sponsored by: Netflix Differential Revision: https://reviews.freebsd.org/D51388
* nvme_sim: Connect to events broadcast with nvme_ifWarner Losh2025-12-101-0/+1
| | | | | | | | | Connect up the nvme_ns_* events. Copy code from old ways, as needed, and refactor a little. Sponsored by: Netflix Reviewed by: dab Differential Revision: https://reviews.freebsd.org/D51387
* zfs: Reuse ZINCDIR variable from kmod.mkJohn Baldwin2025-12-091-6/+5
| | | | | Reviewed by: brooks, imp Differential Revision: https://reviews.freebsd.org/D54147
* linux: separate all ifnet(9) related code into linux_ifnet.cGleb Smirnoff2025-12-081-2/+1
| | | | | | | | Remove linux_use_real_ifname(). It is no longer used outside of the file since 3ab3c9c29cf0. There is no functional change. Reviewed by: melifaro, dchagin Differential Revision: https://reviews.freebsd.org/D54076
* ipfilter: Disable ipfs(8) by defaultCy Schubert2025-12-081-0/+7
| | | | | | | | | | | | | 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
* zfs: world changes after 89f729dcc mergeMartin Matuska2025-12-071-2/+2
| | | | | Remove, unbind and obsolete libuutil and libtpool Update zfs_configh and zfs_gitrev.h
* ath11k: add new files to module MakefileBjoern A. Zeeb2025-12-061-0/+1
| | | | Add the new files to the module Makefile as well, so they do not get lost.
* LinuxKPI: ath10k: adjust for led changes to keep ath10k compilingBjoern A. Zeeb2025-12-061-0/+6
| | | | | | | | | Add the conditional compile time option defaulting to off as we do not support leds in LinuxKPI to ath10k for the new file. Add empty struct gpio_led to LinuxKPI. MFC after: 3 days
* Update path for TI Am335x device treesOskar Holmlund2025-12-051-7/+7
| | | | | | | | Since Linux DTS has been starting to using vendor subdirs we need to update this aswell. Approved by: manu (mentor) Differential revision: https://reviews.freebsd.org/D53890
* mt76: set appropriate CONFIG options for the module buildBjoern A. Zeeb2025-12-031-0/+9
| | | | | | | | | Always set CONFIG_ARCH_DMA_ADDR_T_64BIT as it is true for all architectures we support. Add an option for CONFIG_NET_MEDIATEK_SOC_WED, which we currently do not yet support. Sponsored by: The FreeBSD Foundation MFC after: 3 days
* Fintek F81232 USB to serial driverDiane Bruce2025-12-021-0/+37
| | | | | | | | | Driver for Feature Integration Technology Inc. (aka Fintek) F81232 USB to serial driver. Reviewed by: thj,adrian,UB Approved by: adrian Differential Revision: https://reviews.freebsd.org/D53893
* cxgbe(4): Delete leftovers from $FreeBSD$ removalNavdeep Parhar2025-11-2811-34/+0
| | | | | | | No functional change. MFC after: 1 week Sponsored by: Chelsio Communications
* Export t4_tom's symbols for other offload modulesNavdeep Parhar2025-11-281-0/+2
| | | | | | | | | | This allows iw_cxgbe.ko, cxgbei.ko, nvmf_che.ko, etc. to be loaded when debug.link_elf_leak_locals and debug.link_elf_obj_leak_locals are disabled. PR: 291250 MFC after: 1 week Sponsored by: Chelsio Communications
* mqueuefs: Export another symbol required by linux.koEd Maste2025-11-261-1/+2
| | | | | Fixes: e00a781c216c ("mqueue: Export kern_kmq_* symbols from kernel module") Sponsored by: The FreeBSD Foundation
* mqueue: Export kern_kmq_* symbols from kernel moduleEd Maste2025-11-261-0/+7
| | | | | | | | | | | | linux.ko supports POSIX message queues using these symbols, so they need to be exported rather than relying on the kernel linker's misfeature of linking against debug or local symbols (which will soon be disabled by default). Reported by: mav Reviewed by: zlei Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D53907
* agp: Export intel_gtt_read_pte, required by i915kmsEd Maste2025-11-251-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
* zfs: fix aarch64 build after openzfs/zfs@e63d026b9Martin Matuska2025-11-171-2/+0
|
* zfs: fix build after openzfs/zfs@e63d026b9Martin Matuska2025-11-172-3/+3
| | | | | Fix Makefiles Update zfs_config.h and zfs_gitrev.h
* tpm: fix the conditional for the arm64 buildKyle Evans2025-11-151-1/+1
| | | | | | | | The intention was clearly that these ACPI bits would be included for arm64, but MACHINE_ARCH there is aarch64 -- correct the minor typo to build everything that should be there. Fixes: c2e9c5bbf0229 ("tpm: Refactor TIS and add a SPI attachment")
* cxgbe(4): fix nvmf_che module buildDavid E. O'Brien2025-11-131-2/+6
| | | | Fixes: ec0cd28
* arm64: Add Arm SPE supportZachary Leaf2025-11-122-0/+29
| | | | | | | | | | | | | | | | | | | Add support for the Arm Statistical Profiling Extension (SPE). This is an optional extension added in Armv8.1 to provide profiling of software using randomised instruction sampling. This adds the initial driver, and attached it to the hardware tracing framework, hwt(4), in CPU mode to allow tracing of all threads on a given CPU. (commit message by andrew@) Co-authored-by: Sarah Walker <sarah.walker2@arm.com> Co-authored-by: Andrew Turner <andrew@FreeBSD.org> Reviewed by: andrew Sponsored by: Arm Ltd Sponsored by: The FreeBSD Foundation (early driver) Differential Revision: https://reviews.freebsd.org/D46241
* nvmf_che: NVMe-TCP offload support for Chelsio T7 adaptersJohn Baldwin2025-11-102-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This provides an alternative NVMe over TCP transport which uses PDU offload for TOE connections on a T7. Similar to iSCSI offload via cxgbei.ko, nvmf_che uses DDP when possible to enable the NIC to DMA received data directly into I/O data buffers (pages from a struct bio on the host side, pages from a CTL I/O requests on the controller side) to avoid copying data on the host CPU. nvmf_che is also able to receive a stream of C2H or H2C PDUs for a single data transfer when using DDP without processing the header of each PDU. Unlike cxgbei, nvmf_che aims to be mostly transparent to end users. Notably, neither nvmecontrol or ctld have to be explicitly asked to use an offload. Instead, TCP queue pairs are claimed by this driver whenever they are eligible (e.g., using TOE). The main restriction of nvmf_che compared to the software TCP transport is that Chelsio adapters have a restriction on the largest PDU that can be sent and received. When sending data, nvmf_che is able to split large C2H or H2C data requests across multiple PDUs without affecting nvmf(4) or nvmft(4). To avoid overly large PDUs when using nvmf(4), nvmf_che reports a data transfer limit that is honored by nvmf(4). This ensures that the remote controller's PDUs will never be too large (since the command transfer size is limited to one PDU) and also ensures that nvmf(4) will never to try to send a command PDU with ICD that is too large. For nvmft(4), overly large command PDUs due to ICD are avoided by clamping the size of the reported IOCCSZ in the controller data. However, to ensure that H2C PDUs are sufficiently small, nvmf_che will only claim queue pairs which advertised a suitable MAXH2CDATA parameter during queue negotiation. For ctld(8), this can be achieved by setting the MAXH2CDATA option in a transport-group, e.g. for T7: transport-group tg0 { discovery-auth-group no-authentication listen tcp 0.0.0.0 listen tcp [::] listen discovery-tcp 0.0.0.0 listen discovery-tcp [::] option MAXH2CDATA 32488 } Sponsored by: Chelsio Communications
* iwlwifi: fix the gcc buildEnji Cooper2025-11-061-2/+2
| | | | | | | | | | | | | | | - Only apply the previously added CWARNFLAGS to `drv.c` instead of the whole module. - Only apply `-Wno-initializer-overrides` to CWARNFLAGS in the clang scenario as it's not supported with gcc. This fixes building the module with gcc and avoids accidentally introducing tech debt with the module, in the event other issues are accidentally introduced. MFC after: 3 days Fixes: 6b627f8858 ("iwlwifi: update Intel's mvm/mld drivers") Differential Revision: https://reviews.freebsd.org/D53591
* random: remove hifn(4)David E. O'Brien2025-10-282-13/+0
| | | | | | | | | | | | | | | | | The Hifn 7955 & 7956 only supports deprecated & NIST disallowed algorithms (NIST SP800-224idp): SHA1 and SHA1-HMAC. Furthermore the entropy RNG of the Hifn 7751, 7951, 7811, 7955, and 7956 has no NIST Entropy Source Validation (ESV) certificate and cannot be used in a FIPS-140-3 nor Common Criteara environment. Furthermore the most prolific instance for FreeBSD was the Soekris Engineering vpn1201, vpn1211, vpn1401, and vpn1411 offerings. These are all 32-bit only processors. The i386 kernel was de-supported in 15.0. Reviewed by: jhb Differential Revision: https://reviews.freebsd.org/D53182
* ipfw: Retire obsolete compat codeEd Maste2025-10-271-2/+1
| | | | | | | | | | | | | The current IPFW version 3 dates to 2010 (commit cc4d3c30ea28, "Bring in the most recent version of ipfw and dummynet, developed"). The compat code for FreeBSD 8 and earlier has a number of issues and is no longer needed, so remove it. Reported by: Ilja Van Sprundel <ivansprundel@ioactive.com> Reviewed by: ae, glebius Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D53343
* thunderbolt: Fix stale symlink for opt_acpi_wmi.hAymeric Wibo2025-10-261-1/+1
| | | | | Reported by: wosch Sponsored by: The FreeBSD Foundation
* zfs: merge openzfs/zfs@0455150f1Martin Matuska2025-10-252-3/+16
| | | | | | | | | | | | Notable upstream pull request merges: #17836 adacf020c Fix return value for setting zvol threading #17839 44704616b zpool: fix conflict with -v and -o options #17851 3a55e76b8 FreeBSD: zfs_getpages: Don't zero freshly allocated pages #17863 0455150f1 FreeBSD zio_crypt.c: initialize uio variables before access Obtained from: OpenZFS OpenZFS commit: 0455150f1160dd7089ab31fefcfc58bfa548ab81
* sys: move sys/kern/md[45].c to sys/cryptoRobert Clausecker2025-10-241-2/+2
| | | | | | | | | | | | | | Both files are used by kernel and userspace. Move them to sys/crypto where they belong. No functional changes intended. In preparation of D45670. Reviewed by: markj Approved by: markj (mentor) MFC after: 1 month Differential Revision: https://reviews.freebsd.org/D52909
* padlock(4)/nehemiah: move i386-only entropy source to MD filesDavid E. O'Brien2025-10-231-1/+3
| | | | | Reviewed by: khng Differential Revision: https://reviews.freebsd.org/D53309
* mt76: update Mediatek's mt76 driverBjoern A. Zeeb2025-10-231-0/+1
| | | | | | | | This version is based on git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git e5f0a698b34ed76002dc5cff3804a61c80233a7a ( tag: v6.17 ). MFC after: 3 days
* rtw89: update Realtek's rtw89 driverBjoern A. Zeeb2025-10-231-2/+6
| | | | | | | | This version is based on git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git e5f0a698b34ed76002dc5cff3804a61c80233a7a ( tag: v6.17 ). MFC after: 3 days
* rtw88: update Realtek's rtw88 driverBjoern A. Zeeb2025-10-231-1/+4
| | | | | | | | This version is based on git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git e5f0a698b34ed76002dc5cff3804a61c80233a7a ( tag: v6.17 ). MFC after: 3 days
* iwlwifi: update Intel's mvm/mld driversBjoern A. Zeeb2025-10-231-24/+44
| | | | | | | | | | | | | | | | | | | | | | | This version is based on git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git e5f0a698b34ed76002dc5cff3804a61c80233a7a ( tag: v6.17 ). Some of the changes we reported upstream got incorporated in this (or the v6.16) release. This also includes a change from iwlwifi-next.git::next for missing symbols iwl_mvm_v3_rate_from_fw() and iwl_mvm_v3_rate_to_fw() were originally comitted to mvm/rs.[ch] which we do not have. That left us with unresolved symbols. For the never comitted v6.16 driver update I had started to piece these together but they have been migrated out to utils.c so take them from there until the next release hopefully ships this change. Obtained from: git://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi/iwlwifi-next.git branch next, 1b49af228594452206d5c50a33b6a341428edb63 MFC after: 3 days
* modules/dtb: Add the ARM dtb moduleAndrew Turner2025-10-231-0/+6
| | | | | | | | | fvp-base-revc.dtb works with the kernel now interrupt-maps are supported in more cases. Reviewed by: mhorne Sponsored by: Arm Ltd Differential Revision: https://reviews.freebsd.org/D51258
* modules/allwinner: add nvmem_if.h to SRCSMitchell Horne2025-10-222-2/+4
| | | | | | | | | Ensure the header is generated; it is a dependency for these drivers. This fixes standalone module builds and riscv LINT. Reported by: zlei Sponsored by: The FreeBSD Foundation Fixes: 5522519731b7 ("modules: enable allwinner kmods on riscv")
* random: add RDSEED as a provably unique entropy sourceDavid E. O'Brien2025-10-223-5/+11
| | | | | | | | | | | | | | | | | | | | | | | NIST SP800-90B allows for only a single entropy source to be claimed in a FIPS-140-3 certificate. In addition, only hardware sources that have a NIST Entropy Source Validation (ESV) certificate, backed by a SP800-90B Entropy Assessment Report, are usable. Intel has obtained ESV certificates for several of their processors, so RDSEED is a FIPS-140-3 suitable entropy source. However, even though RDRAND is seeded by RDSEED internally, RDRAND would need a RBG certificate and CAVP testing run on the DRBG in order to use it for FIPS-140-3 (SP800-90B) purposes. So we need to know down in the CSPRNG-subsystem which source the entropy came from. In light of the potential issues surrounding AMD Zen 5 CPU's RDSEED implementation[*], allow RDSEED to be disabled in loader.conf. [*] https://www.phoronix.com/news/AMD-EPYC-Turin-RDSEED-Bug Reviewed by: cem MFC after: 3 days Sponsored by: Juniper Networks Differential Revision: https://reviews.freebsd.org/D53150
* modules: fix some riscv module logicMitchell Horne2025-10-201-9/+3
| | | | | | | | | | | | The change which enabled the sdhci_fdt module build on riscv inadvertently enabled the neta module as well. This driver is not needed on this platform. Move each entry to a respective identical conditional blocks. MFC after: 3 days Sponsored by: The FreeBSD Foundation Fixes: e9dd9f95f82f ("riscv: Add the sdhci_fdt driver to the build")
* arm: tweak imx module build logicMitchell Horne2025-10-201-0/+5
| | | | | | | | | Add the subdirectory in the Makefile, not the config. No functional change intended. MFC after: 3 days Sponsored by: The FreeBSD Foundation
* modules: enable allwinner kmods on riscvMitchell Horne2025-10-201-1/+1
| | | | | | | | | While here, standardize the place they are enabled in the Makefile. For armv7 the module subdirectory was added explicitly in the config file, but this is not idiomatic. MFC after: 3 days Sponsored by: The FreeBSD Foundation
* riscv: build allwinner DTBsMitchell Horne2025-10-201-1/+6
| | | | | | | | | | These are known to work if loaded manually by loader(8) (for the Nezha board at least). If nothing else, it is useful to provide a DTB closely tied to the kernel version. MFC after: 3 days Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D53118
* riscv: build starfive JH7110 DTBsMitchell Horne2025-10-201-0/+7
| | | | | | | | | | These are known to work if loaded manually by loader(8) (for VF2 at least). If nothing else, it is useful to provide a DTB closely tied to the kernel version. MFC after: 3 days Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D53117
* zfs: merge openzfs/zfs@6ae99d269Martin Matuska2025-10-202-3/+3
| | | | | | | | | | | | Notable upstream pull request merges: #17750 6e5b836e9 FreeBSD: Correct _PC_MIN_HOLE_SIZE #17803 1861a329f zvol: verify IO type is supported #17826 51de2d76f Explicit set ashift for non-leaf vdevs #17830 f4276479c Suppress some ashift warnings #17843 6ae99d269 mmap_seek: print error code and text on failure Obtained from: OpenZFS OpenZFS commit: 6ae99d26924decb5f618b596ec7663e6a26d2e5f
* igc(4): also build module on aarch64Bjoern A. Zeeb2025-10-171-1/+1
| | | | | | | | igc(4) seems to work fine on arm64 for as much as I could test with a 2.5Gbit/s interface on a mPCIe card. Enable the module build so it is available. MFC after: 3 days
* tcp: Initial ktest for HPTSNick Banks2025-10-132-1/+15
| | | | | | Reviewed by: rrs, tuexen Sponsored by: Netflix, Inc. Differential Revision: https://reviews.freebsd.org/D52979
* modules: Simplify some expressionsWarner Losh2025-10-109-20/+8
| | | | | | | When we only use SYSDIR once or twice, expand it and don't define it. Minor other consistency changes. Sponsored by: Netflix
* kern: Remove needless kern.opts.mkWarner Losh2025-10-1024-63/+1
| | | | | | | | We don't need kern.opts.mk in any of these places. None of these Makefiles reference any MK_ options. Some don't even need SYSDIR, but leave that defined in the ones that do. Sponsored by: Netflix
* zfs: merge openzfs/zfs@5605a6d79Martin Matuska2025-10-052-4/+4
| | | | | | | | | | | | | | | | | | | Notable upstream pull request merges: #16025 26b0f561b dnode_next_offset: backtrack if lower level does not match #17758 c722bf881 Add interface to interface spa_get_worst_case_min_alloc() function #17765 8d4c3ee9e zvol: Fix blk-mq sync #17787 8869caae5 zinject: Introduce ready delay fault injection #17780 b2196fbed Fix 'zpool add' safety check corner cases #17783 5c38029f4 zdb: add ZFS_KEYFORMAT_RAW support for -K option #17786 f0a95e897 zpool iostat: refresh pool list every interval #17807 -multiple zpool iostat: fix regressions in "all pools" mode after #17786 #17793 -multiple ddt prune: Add SCL_ZIO deadlock workaround #17799 ac2d8c80b Make mount/share errors non-fatal for zfs create/clone Obtained from: OpenZFS OpenZFS commit: 5605a6d79b3582296208ac391f93a5faf729fa92
* cxgbe: Support for NIC KTLS transmit on T7 adapters.John Baldwin2025-09-291-0/+1
| | | | | | | | | | | | | | | | | | | Unlike NIC KTLS support on T6, T7 is able to reuse the existing TSO functionality directly, including trimming the output of the crypto engine before it is passed on to TSO. This is much simpler and does not require the use of bypass pseudo-connections in the TOE engine. Among other things this permits arbitrary TCP options (including the full range of possible TCP timestamp values) while also avoiding various edge cases where parts of a requested TCP packet could not always be transmitted (e.g. partial trailers). This implementation also permits NIC KTLS to be used in parallel with TOE. This version does not yet support connections over a VF (specifically the ktls_tunnel_packet function needs to handle the VF work request), nor does it support VxLAN offload. MFC after: 3 days Sponsored by: Chelsio Communications