aboutsummaryrefslogtreecommitdiff
path: root/sys/modules
Commit message (Collapse)AuthorAgeFilesLines
* modules: mgb: need opt_platform.hKevin Lo12 hours1-1/+1
| | | | This fixes the standalone build.
* zfs: merge openzfs/zfs@17b2ae0b2 (master) into mainMartin Matuska44 hours3-3/+5
| | | | | | | | | | | | | | | | | | | Notable upstream pull request merges: #12766 Fix error propagation from lzc_send_redacted #12805 Updated the lz4 decompressor #12851 FreeBSD: Provide correct file generation number #12857 Verify dRAID empty sectors #12874 FreeBSD: Update argument types for VOP_READDIR #12896 Reduce number of arc_prune threads #12934 FreeBSD: Fix zvol_*_open() locking #12947 lz4: Cherrypick fix for CVE-2021-3520 #12961 FreeBSD: Fix leaked strings in libspl mnttab #12964 Fix handling of errors from dmu_write_uio_dbuf() on FreeBSD #12981 Introduce a flag to skip comparing the local mac when raw sending #12985 Avoid memory allocations in the ARC eviction thread Obtained from: OpenZFS OpenZFS commit: 17b2ae0b24d487fdda2ef1098ec26fa7f79a61f6
* powerpc: enable ice in GENERIC64LEPiotr Kubaj4 days1-1/+1
| | | | | Approved by: erj Differential Revision: https://reviews.freebsd.org/D33974
* crypto: Add a simple API for [X]ChaCha20-Poly1035 on flat buffers.John Baldwin6 days1-0/+1
| | | | | | | | | | | This is a synchronous software API which wraps the existing software implementation shared with OCF. Note that this will not currently use optimized backends (such as ossl(4)) but may be appropriate for operations on small buffers. Reviewed by: markj Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D33524
* linux: add sysctl to pass untranslated interface namesAlexander V. Chernikov7 days1-0/+1
| | | | | | Reviewed by: kib MFC after: 2 weeks Differential Revision: https://reviews.freebsd.org/D33792
* crypto.ko: Add hchacha20 from libsodium.John Baldwin13 days1-0/+3
| | | | | | | | | | This was added to 'device crypto' in the kernel in bbb7a2c7c329494e0148026f8568c0da4d8db085 but was missing from the module. Reviewed by: markj Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D33522
* neta: need clknode_if.hWarner Losh2022-01-041-1/+1
| | | | | | clknode_if.h is needed for this device on aarch64. Create it always. Sponsored by: Netflix
* mips: remove saf1761Warner Losh2022-01-042-50/+1
| | | | | | | | The saf1761 OTG support was only for mips targets (BERI?). Retire it. Sponsored by: Netflix Reviewed by: brooks Differential Revision: https://reviews.freebsd.org/D33706
* cxgbe(4): Update firmwares to 1.26.6.0.Navdeep Parhar2022-01-033-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ CHANGES ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Version : 1.26.6.0 Date : 01/03/2022 ================================================================================ Fixes ----- BASE: - Fixed one module eeprom read failure. - Fixed an issue with speed selection when 40G and 25G are advertised and supported. - Fixed a random traffic hang when T5 receives invalid ets BW in dcbx messages from a switch. - Fixed very long link up time with few switches. ================================================================================ Obtained from: Chelsio Communications MFC after: 2 weeks Sponsored by: Chelsio Communications
* iicbb: Always build ofw_bus_if.hWarner Losh2022-01-021-6/+1
| | | | | | | | | | Always make ofw_bus_if.h. While it's only used when option FDT is in the kernel, it can always be generated. In theory we could omit it if option FDT isn't present, but none of the rest of sys/modules does that. That fine-grained control likely won't be reliable w/o a redesign of the kernel/module config system. Sponsored by: Netflix
* netfpga10: mips only, removeWarner Losh2021-12-312-27/+0
| | | | Sponsored by: Netflix
* mips: Remove dtrace build supportWarner Losh2021-12-311-2/+0
| | | | Sponsored by: Netflix
* mips: Remove system module supportWarner Losh2021-12-311-16/+4
| | | | | | | Remove all mips .if conditionals. Since _sym was now set unconditionally, just add it to the right place w/o a variable. Sponsored by: Netflix
* iwlwifi: import correct firmware versions for select Intel iwlwifi/mvmBjoern A. Zeeb2021-12-313-3/+3
| | | | | | | | | | | The firmware files for 3160, 7260, and 7265 imported contain old versions no longer supported by the driver. Replace with latest versions from linux-firmware to possibly also support these chip revisions. Reported by: FreeBSD User (freebsd walstatt-de.de) on wireless (2021-12-30) Sponsored by: The FreeBSD Foundation MFC after: 3 days
* ar71xx: Remove atheros modulesWarner Losh2021-12-313-116/+0
| | | | | | These are mips only for the atheros MIPS-based SoCs. Sponsored by: Netflix
* hwpmc: deorbit mips supportWarner Losh2021-12-313-41/+0
| | | | Sponsored by: Netflix
* iwlwifi: attach to the buildBjoern A. Zeeb2021-12-271-0/+6
| | | | | | | Add iwlwifi and iwlwififw to the module builds. Sponsored by: The FreeBSD Foundation MFC after: 3 days
* iwlwifi: turn off broadcast filtering for nowBjoern A. Zeeb2021-12-271-1/+1
| | | | | | | | Turn off broadcast filtering in iwlwifi for now as it gives me or rather the firmware headaches. Sponsored by: The FreeBSD Foundation MFC after: 3 days
* iwlwifi: remove copyright and license from MakefilesBjoern A. Zeeb2021-12-273-90/+1
| | | | | | | | | | We do not generally protect the Makefiles like this. Remove the details and go with project style. Sponsored by: The FreeBSD Foundation MFC after: 3 days X-MFC with: bfcc09ddd422c95a1a2e4e794b63ee54c4902398 X-MFC with: f4c129f5fb1669b284d76a838b1e509f97c2d299
* LinuxKPI: add 802.11 compat codeBjoern A. Zeeb2021-12-272-0/+16
| | | | | | | | | | | | | Add 802.11 compat code for mac80211 and to a minimal degree cfg80211. This allows us to compile and use basic functionality of wireless drivers such as iwlwifi. This is a constant work in progress but having it in the tree will allow others to test and more easy to track changes and avoid having snapshots no longer applying to branches. Sponsored by: The FreeBSD Foundation MFC after: 3 days
* LinuxKPI: import beginning of a new version of netdevice.hBjoern A. Zeeb2021-12-271-0/+1
| | | | | | | | | | | | | | | | | | | Import a netdevice update complementing the last remaining bits of the old ifnet derived implementation. Along add a (for now) task based NAPI implementation. This is the minimal set of chnages which are needed for the initial support of wireless drivers. The NAPI implementation has an option to still switch to "direct dispatch" as it had been used by these drivers before not relying on a deferred context along with some printf tracing. This has been helpful in the last weeks for debugging and will be cleaned once we have had broader testing and are sure this is fine as-is. Should we need a more time-sensitive or load-sensitive response in the future we can always switch to something more sophisticated. Sponsored by: The FreeBSD Foundation MFC after: 3 days X-Differential Revision: D33075 (abandoned without feedback a while ago)
* LinuxKPI: add a work-in-progress skbuff implementationBjoern A. Zeeb2021-12-271-0/+1
| | | | | | | | | | | | | | | This is a work-in-progress implementation of sk_buff compat code used for wireless drivers only currently. Bring in this version of the code as it has proven to be good enough to have packets going for a few months. The current implementation has several drawbacks including the need for us to copy data between sk_buffs and mbufs. Do not rely on the internals of this implementation. They are highly likely to change as we will improve the integration to FreeBSD mbufs. Sponsored by: The FreeBSD Foundation MFC after: 3 days
* ipfilter: Move kernel bits to netpfilCy Schubert2021-12-201-2/+2
| | | | | | | | | | | | | | | | Through fixes and improvements our ipfilter sources have diverged enough to warrant move from contrib into sys/netpil. Now that I'm planning on implementing MSS clamping as in iptables it makes more sense to move ipfilter to netpfil. This is the first of three commits the ipfilter move. Suggested by glebius on two occaions. Suggested by and discussed with: glebius Reviewed by: glebius, kp (for #network) MFC after: 1 month Differential Revision: https://reviews.freebsd.org/D33510
* Sort libsodium sources by path in sys/modules/crypto/Makefile.John Baldwin2021-12-161-4/+4
| | | | | | | | | This matches the order used in sys/conf/files to make it easier to keep these two files in sync. Reviewed by: imp Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D33484
* zfs: merge openzfs/zfs@f291fa658 (master) into mainMartin Matuska2021-12-162-4/+25
| | | | | | | | | | | | | | Notable upstream pull request merges: #11711 Vdev Properties Feature #12717 VOP_RENAME fixes for FreeBSD #12746 Enable strict hole reporting by default #12770 ZFS send/recv with ashift 9->12 leads to data corruption #12828 FreeBSD: Add vop_standard_writecount_nomsyn #12828 zfs: Fix a deadlock between page busy and the teardown lock #12828 FreeBSD: Catch up with more VFS changes Obtained from: OpenZFS OpenZFS commit: f291fa658efd146540b03ce386133632bde237bf
* pccard: Remove more of the PC Card infrastructureWarner Losh2021-12-141-1/+1
| | | | | | | | Remove more of the pccard infrasturcture. CardBus Yenta driver (cbb) still references the remaining bits. It needs some additiona work to remove 16-bit support still, so it remains. Sponsored by: Netflix
* if_epair: fix module build outside of kernel build environmentEugene Grosbein2021-12-111-1/+1
| | | | MFC after: 3 days
* cxgbe(4): Update firmwares to 1.26.4.0Navdeep Parhar2021-12-093-3/+3
| | | | | | | | | | | | | | | | | | | | | | | (Rest is from the README that came with the firmware) Version : 1.26.4.0 Date : 12/02/2021 Fixes ----- BASE: - Fixed error on setting 25G speed on 100G copper with multiple FEC set in firmware commands. - Handle link of unknown optics modules by enabling module tx unconditionally. - Fixed link not coming up for 25G CRS phys. Firmware incorrectly tried to bring up the link in RS-FEC but as per IEEE spec, it must be BASER FEC. - Fixed an issue where firmware doesn't automatically retry next FEC if driver asks to bring up the link using RS-FEC and link doesn't come up. Obtained from: Chelsio Communications MFC after: 1 month Sponsored by: Chelsio Communications
* amd64: Only build aout.ko when COMPAT_FREEBSD32 is enabledKonstantin Belousov2021-12-071-0/+2
| | | | | | | | | | | | a.out.ko is useless without COMPAT_FREEBSD32, and since vdso support was added, it requires a header built during depend phase, from the COMPAT option. Reported by: glebius Reviewed by: emaste, markj Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D33311
* MAC/priority module for realtime privilege groupFlorian Walpen2021-12-042-0/+7
| | | | | | | | | | | | This is a MAC policy module that grants scheduling privileges based on group membership. Users or processes in the group realtime (gid 47) are allowed to run threads and processes with realtime scheduling priority. For timing-sensitive, low-latency software like audio/jack, running with realtime priority helps to avoid stutter and gaps. PR: 239125 MFC after: 2 weeks Differential revision: https://reviews.freebsd.org/D33191
* Revert "wpa: Import wpa_supplicant/hostapd commit 14ab4a816"Cy Schubert2021-12-021-1/+2
| | | | | | | | This reverts commit 266f97b5e9a7958e365e78288616a459b40d924a, reversing changes made to a10253cffea84c0c980a36ba6776b00ed96c3e3b. A mismerge of a merge to catch up to main resulted in files being committed which should not have been.
* wpa: Import wpa_supplicant/hostapd commit 14ab4a816Cy Schubert2021-12-021-2/+1
| | | | | | This is the November update to vendor/wpa committed upstream 2021-11-26. MFC after: 1 month
* TMP461: Add thermal sensor driverHubert Mazur2021-12-022-1/+9
| | | | | | | | | | | Add driver for TMP461 thermal sensor. Register new sysctl node of integer type for device. Read register and fill sysctl with valid temperature. Reviewed by: Sponsored by: Alstom Obtained from: Semihalf Differential revision: https://reviews.freebsd.org/D32818
* flex_spi: Support for FlexSPI Flash controller.Wojciech Macek2021-11-303-0/+26
| | | | | | | | | | | | | | | | NXP FlexSPI is a complex SPI controller which provides full offload for accessing NOR Flash. Create a Flash driver which attaches to existing FreeBSD infrastructure and exports generic READ and WRITE disk commands. The Flash has to be identified first to configure controller internals. For now, only one NOR Flash chip is supported. Future commits shall either increase number of known chips or implement SFDP mechanism which can be used by other Flash drivers. Sponsored by: Alstom Obtained from: Semihalf Differential revision: https://reviews.freebsd.org/D33117
* iwlwifi: import Intel's iwlwifi/mvm driver.Bjoern A. Zeeb2021-11-281-0/+90
| | | | | | | | | | | | | | | | | | | | | Over the past few months we published multiple snapshots for this Linux derived driver and it has become fairly stable in terms of minimal local changes needed for new updates. The current version is based on iwlwifi-next update at cbaa6aeedee5f92dafa5982eceea2a1f98ce4f7d with the addition of a hand full of files replaced for FreeBSD. Given the lack of full license texts on non-local files this is imported under the draft policy for handling SPDX files (D29226). [1] Do not yet hook this to the build until the remaining compat code is all in. Along with the firmware import this will make publishing the last bits and final testing a lot easier. Sponsored by: The FreeBSD Foundation Approved by: core (imp) [1] MFC after: 10 days
* iwlwifi: import firmware for Intel iwlwifi/mvm supported chipsets.Bjoern A. Zeeb2021-11-2824-0/+240
| | | | | | | | | | | | | | | | | Import the most recent versions of the firmware images for iwlwifi chipsets supported by the "mvm" sub-driver. This is based on linux-firmware at f5d519563ac9d2d1f382a817aae5ec5473811ac8. The license of the firmware matches the previous iwnfw(4) and iwmfw(4) firmware files and you can find a copy in sys/contrib/dev/iwlwififw/LICENCE.iwlwifi_firmware . Add build infrastructure to create the .ko files but do not yet hook it up to the build until all parts are in the tree. There is an open issue concerning kldxref that we need to resolve (D32383). Sponsored by: The FreeBSD Foundation MFC after: 10 days
* twa: RemoveWarner Losh2021-11-252-49/+0
| | | | | | | | | | Belatedly remove twa(4). It was supposed to go before 13.0, but was overlooked. Sponsored by: Netflix Relnotes: yes Reviewed by: scottl Differential Revision: https://reviews.freebsd.org/D33114
* esp: RemoveWarner Losh2021-11-252-10/+0
| | | | | | | | | Belatedly remove esp(4). It was tagged as gone in 13, but was overlooked until now. Sponsored by: Netflix Reviewed by: scottl Differential Revision: https://reviews.freebsd.org/D33115
* amr: removeWarner Losh2021-11-254-39/+0
| | | | | | | | | | Belatedly remove amr(4). It was slated to depart before 13.0 but was overlooked until now. Sponsored by: Netflix Relnotes: yes Reviewed by: scottl Differential Revision: https://reviews.freebsd.org/D33113
* iir: RemoveWarner Losh2021-11-252-11/+0
| | | | | | | | | | Belatedly remove iir(4). It was slated to go before 13, but was overlooked. Sponsored by: Netflix Relnotes: yes Reviewed by: scottl Differential Revision: https://reviews.freebsd.org/D33112
* mly: Remove.Warner Losh2021-11-252-15/+0
| | | | | | | | | | We'd said this was going away in 13, but was overlooked. Belatedly remove. Sponsored by: Netflix Relnotes: yes Reviewed by: scottl Differential Revision: https://reviews.freebsd.org/D33111
* iavf(4): Split source and update to 3.0.26-kEric Joyner2021-11-241-5/+6
| | | | | | | | | | | | | | | | | | The iavf(4) driver now uses a different source base from ixl(4), since it will be the standard VF driver for new Intel Ethernet products going forward, including ice(4). It continues to use the iflib framework for network drivers. Since it now uses a different source code base, this commit adds a new sys/dev/iavf entry, but it re-uses the existing module name so no configuration changes are necessary. Signed-off-by: Eric Joyner <erj@FreeBSD.org> Reviewed by: kbowling@ Tested by: lukasz.szczepaniak@intel.com Sponsored by: Intel Corporation Differential Revision: https://reviews.freebsd.org/D28636
* Pcf85063: Add RTC driverHubert Mazur2021-11-241-2/+2
| | | | | | | | | | Add driver for pcf85063 real time clock. Register set and get time methods. Parse data obtained from bus according to specification and fill kernel structures. Obtained from: Semihalf Sponsored by: Alstom Group Differential revision: https://reviews.freebsd.org/D32817
* Fix some modules to export more used symbolsKonstantin Belousov2021-11-1886-16/+174
| | | | | | | | | and remove non-present symbols that are now reported by kmod_syms.awk. Reviewed by: emaste Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D32878
* Export symbols from opensolaris.ko and dtrace.koMark Johnston2021-11-172-4/+2
| | | | | | | | Both modules provide many symbols used by various DTrace provider modules, so just export everything. MFC after: 1 week Sponsored by: The FreeBSD Foundation
* Fix ZFS module buildAllan Jude2021-11-171-0/+6
| | | | | | | | | | | | | resolves: link_elf_obj: symbol abd_checksum_edonr_native undefined The required module-build bits were originally identified in the upstream pull request: https://github.com/openzfs/zfs/pull/12735 But were missed when the code was imported (since they are not committed upstream). X-MFC-With: dae1713419a6, 09cd63416051 Submitted by: freqlabs Sponsored by: Klara Inc.
* zfs: merge openzfs/zfs@269b5dadc (master) into mainMartin Matuska2021-11-172-3/+3
| | | | | | | | | | | | Notable upstream pull request merges: #12285 Introduce a tunable to exclude special class buffers from L2ARC #12689 Check l2cache vdevs pending list inside the vdev_inuse() #12735 Enable edonr in FreeBSD #12743 FreeBSD: fix world build after de198f2 #12745 Restore dirty dnode detection logic Obtained from: OpenZFS OpenZFS commit: 269b5dadcfd1d5732cf763dddcd46009a332eae4
* modules: rockchip: Add a module for rk808 PMICEmmanuel Vadot2021-11-142-0/+22
| | | | Now that the drivers are split we need one for RK3399-based board.
* modules: rockchip: Fix rk805 modules after recent changesEmmanuel Vadot2021-11-141-1/+5
| | | | We need more files now.
* arm64: rockchip: Move rk805 pmic driver to dev/iicbus/pmic/rockchipEmmanuel Vadot2021-11-141-1/+1
| | | | Having all PMIC driver at the same place makes it easier.