aboutsummaryrefslogtreecommitdiff
path: root/sys/modules
Commit message (Collapse)AuthorAgeFilesLines
* Make non-debug kernels installable.Nathan Whitehorn2020-12-171-2/+0
| | | | | | | | Setting DEBUG_FLAGS results in make installkernel trying to install debug information that doesn't exist if the kernel was built without it. Notes: svn path=/head/; revision=368718
* zfs: quiet gcc -Wmissing-include-dirsRyan Libby2020-12-111-1/+0
| | | | | | | | | | | Don't tell it to look for headers in a non-existent directory. Reviewed by: imp, mmacy Sponsored by: Dell EMC Isilon Differential Revision: https://reviews.freebsd.org/D27565 Notes: svn path=/head/; revision=368567
* if_wg: appease gccRyan Libby2020-12-111-1/+0
| | | | | | | | | | | | - remove -ferror-limit option - quiet -Wredundant-decls Reviewed by: mmacy Sponsored by: Dell EMC Isilon Differential Revision: https://reviews.freebsd.org/D27559 Notes: svn path=/head/; revision=368566
* hme(4): Remove as previous announcedBrooks Davis2020-12-112-10/+0
| | | | | | | | | | | | The hme (Happy Meal Ethernet) driver was the onboard NIC in most supported sparc64 platforms. A few PCI NICs do exist, but we have seen no evidence of use on non-sparc systems. Reviewed by: imp, emaste, bcr Sponsored by: DARPA Notes: svn path=/head/; revision=368559
* New Netgraph module ng_macfilter:Nick Hibma2020-12-082-0/+10
| | | | | | | | | | | | | | | Macfilter to route packets through different hooks based on sender MAC address. Based on ng_macfilter written by Pekka Nikander Sponsered by Retina b.v. Reviewed by: afedorov MFC after: 2 weeks Differential Revision: https://reviews.freebsd.org/D27268 Notes: svn path=/head/; revision=368443
* if_em.ko: fix module build outside of kernel build environmentEugene Grosbein2020-12-061-1/+1
| | | | | | | MFC after: 3 days Notes: svn path=/head/; revision=368391
* Fix i386 linux module after r367395.Tijl Coosemans2020-12-051-2/+2
| | | | | | | | | | | | | In r367395 parts of machine dependent linux_dummy.c were moved to a new machine independent file sys/compat/linux/linux_dummy.c and the existing linux_dummy.c was renamed to linux_dummy_machdep.c. Add linux_dummy_machdep.c to the linux module for i386. Rename sys/amd64/linux32/linux_dummy.c for consistency. Add the new linux_dummy.c to the linux module for i386. Notes: svn path=/head/; revision=368372
* Connect DTB files based on LX2160A SoC to build.Michal Meloun2020-12-051-0/+8
| | | | | | | Mainly LX2K Honeycomb and ClearFog-CX boards. Notes: svn path=/head/; revision=368367
* Also build DTB files for Asus Tinker board (RK3288 based).Michal Meloun2020-12-051-0/+7
| | | | Notes: svn path=/head/; revision=368362
* ossl: port to arm64Mitchell Horne2020-12-042-1/+13
| | | | | | | | | | | | | | Enable in-kernel acceleration of SHA1 and SHA2 operations on arm64 by adding support for the ossl(4) crypto driver. This uses OpenSSL's assembly routines under the hood, which will detect and use SHA intrinsics if they are supported by the CPU. Reviewed by: jhb Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D27390 Notes: svn path=/head/; revision=368350
* ossl: split out x86 bits to x86/ossl_cpuid.cMitchell Horne2020-12-041-2/+4
| | | | | | | | | | | | Make room for adding arm64 support to this driver by moving the x86-specific feature parsing to a separate file. Reviewed by: jhb Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D27388 Notes: svn path=/head/; revision=368349
* qat: Fix firmware module autoloadingMark Johnston2020-11-305-5/+5
| | | | | | | | | | | | | | | | | | | | If firmware_get() fails to find a loaded firmware image, it searches for candidate KLDs to load. It will search for a KLD containing a module with the same name as the requested image, and failing that, will load a KLD with the same basename as the requested image. The module name given by fw_stub.awk is simply "<mangled KLD name>_fw". QAT firmware modules contain two images, neither of which match either of the names used during lookup, so automatic loading of firmware images after mountroot does not work. Work around this by using the same string for the first image name and for the KLD basename. MFC after: 3 days Sponsored by: Rubicon Communications, LLC (Netgate) Notes: svn path=/head/; revision=368193
* Import kernel WireGuard supportMatt Macy2020-11-292-0/+42
| | | | | | | | | | | | | Data path largely shared with the OpenBSD implementation by Matt Dunwoodie <ncon@nconroy.net> Reviewed by: grehan@freebsd.org MFC after: 1 month Sponsored by: Rubicon LLC, (Netgate) Differential Revision: https://reviews.freebsd.org/D26137 Notes: svn path=/head/; revision=368163
* Add watchdog(9) driver for the Fintek F81803 SuperIO chipPoul-Henning Kamp2020-11-282-0/+11
| | | | Notes: svn path=/head/; revision=368130
* Convert the imx6_snvs RTC driver to access registers via the syscon device.Ian Lepore2020-11-251-0/+1
| | | | | | | This is required for it to work correctly in the GENERIC kernel. Notes: svn path=/head/; revision=368029
* dtb: allwinner: Add pineh64 to the buildEmmanuel Vadot2020-11-251-1/+3
| | | | Notes: svn path=/head/; revision=368018
* Port rtsx(4) driver for Realtek SD card reader from OpenBSD.Jung-uk Kim2020-11-242-0/+10
| | | | | | | | | | | | | | | This driver provides support for Realtek PCI SD card readers. It attaches mmc(4) bus on card insertion and detaches it on card removal. It has been tested with RTS5209, RTS5227, RTS5229, RTS522A, RTS525A and RTL8411B. It should also work with RTS5249, RTL8402 and RTL8411. PR: 204521 Submitted by: Henri Hennebert (hlh at restart dot be) Reviewed by: imp, jkim Differential Revision: https://reviews.freebsd.org/D26435 Notes: svn path=/head/; revision=367998
* Remove parallel SCSI and 1/2Gb FC support from isp(4).Alexander Motin2020-11-209-295/+0
| | | | | | | | | | | | | | | | | | | | | This removes 288KB (36%) of the driver code and zillions of hacks and workarounds, making single driver uniformly support several different generations of hardware interfaces, not counting minor card variations. After years of the hopeless fight, I don't think it worth to continue support for hardware obsolete for 15-20 years. Instead much cleaner now code should allow to move forward toward better locking, multiple queues and other cool features. All the remaining Qlogic cards starting from 4Gb 24xx to 32Gb 27xx use the same hardware/firmware interface with minor incremental improvements, so it seems to be a good new starting point. Except one PCI-X model all all of them are PCIe and so still usable in modern systems. Discussed with: ken, scottl, jpaetzel, imp Relnotes: yes Notes: svn path=/head/; revision=367857
* Add SPDX license tag to the ENA driver filesMarcin Wojtas2020-11-181-2/+2
| | | | | | | | | | | | | | | | | | Refering to guide: https://wiki.freebsd.org/SPDX the SPDX tag should not replace the standard license text, however it should be added over the standard license text to make the automation easier. Because of that, the old license was kept, but the SPDX tag was added on top of every ENA driver file. Submited by: Michal Krawczyk <mk@semihalf.com> Obtained from: Semihalf Sponsored by: Amazon, Inc MFC after: 1 week Differential revision: https://reviews.freebsd.org/D27117 Notes: svn path=/head/; revision=367801
* Add missing header file when building the LinuxKPI module separately.Hans Petter Selasky2020-11-181-1/+1
| | | | | | | | MFC after: 1 week Sponsored by: Mellanox Technologies // NVIDIA Networking Notes: svn path=/head/; revision=367788
* LinuxKPI: Implement ACPI bits required by drm-kmod in base systemEmmanuel Vadot2020-11-091-0/+5
| | | | | | | | | | | | | | | It includes: ACPI_HANDLE() implementation. AC and VIDEO ACPI events notification support. Replacement of hand-rolled GPLed _DSM method evaluation helpers with in-base ones. Submitted by: wulf Differential Revision: https://reviews.freebsd.org/D26603 Notes: svn path=/head/; revision=367521
* cxgbe(4): Update firmwares to 1.25.0.40.Navdeep Parhar2020-11-063-3/+3
| | | | | | | | | | | | This fixes a potential crash in firmware 1.25.0.0 on the passive open side during TOE operation. Obtained from: Chelsio Communications MFC after: 1 week Sponsored by: Chelsio Communications Notes: svn path=/head/; revision=367428
* linux(4): Deduplicate unimpl/dummy syscall handlersConrad Meyer2020-11-053-2/+14
| | | | | | | | | | No functional change. Reviewed by: emaste, trasz Differential Revision: https://reviews.freebsd.org/D27099 Notes: svn path=/head/; revision=367395
* [PowerPC] hwpmc: add support for POWER8/9 PMCsLeandro Lupori2020-11-051-1/+2
| | | | | | | | | | | | | | | This change adds support for POWER8 and POWER9 PMCs (bare metal and pseries). All PowerISA 2.07B non-random events are supported. Implementation was based on that of PPC970. Reviewed by: jhibbits Sponsored by: Eldorado Research Institute (eldorado.org.br) Differential Revision: https://reviews.freebsd.org/D26110 Notes: svn path=/head/; revision=367390
* Add firmware modules for qat(4)Mark Johnston2020-11-057-0/+66
| | | | | | | | MFC after: 3 days Sponsored by: Rubicon Communications, LLC (Netgate) Notes: svn path=/head/; revision=367387
* Add qat(4)Mark Johnston2020-11-052-0/+21
| | | | | | | | | | | | | | | | | | | This provides an OpenCrypto driver for Intel QuickAssist devices. The driver was initially ported from NetBSD and comes with a few improvements: - support for GMAC/AES-GCM, AES-CTR and AES-XTS, and support for SHA/HMAC-authenticated encryption - support for detaching the driver - various bug fixes - DH895X support Discussed with: jhb MFC after: 3 days Sponsored by: Rubicon Communications, LLC (Netgate) Differential Revision: https://reviews.freebsd.org/D26963 Notes: svn path=/head/; revision=367386
* dtb/rockchip: Add rockpi-4 to the buildEmmanuel Vadot2020-11-041-0/+1
| | | | | | | | | We boot on this board to add the dtb to the build. Requested by: Daniel Engberg <daniel.engberg.lists@pyret.net> Notes: svn path=/head/; revision=367340
* Make linux_errtbl[] static.Edward Tomasz Napierala2020-11-031-1/+0
| | | | | | | | | MFC after: 2 weeks Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D27004 Notes: svn path=/head/; revision=367301
* Factor out generic IP over infiniband, IPoIB, definitions and codeHans Petter Selasky2020-10-222-0/+11
| | | | | | | | | | | | | into net/if_infiniband.c and net/infiniband.h . No functional change intended. Differential Revision: https://reviews.freebsd.org/D26254 Reviewed by: melifaro@ MFC after: 1 week Sponsored by: Mellanox Technologies // NVIDIA Networking Notes: svn path=/head/; revision=366930
* Add a kernel crypto driver using assembly routines from OpenSSL.John Baldwin2020-10-202-0/+28
| | | | | | | | | | | | | | | | | | Currently, this supports SHA1 and SHA2-{224,256,384,512} both as plain hashes and in HMAC mode on both amd64 and i386. It uses the SHA intrinsics when present similar to aesni(4), but uses SSE/AVX instructions when they are not. Note that some files from OpenSSL that normally wrap the assembly routines have been adapted to export methods usable by 'struct auth_xform' as is used by existing software crypto routines. Reviewed by: gallatin, jkim, delphij, gnn Sponsored by: Netflix Differential Revision: https://reviews.freebsd.org/D26821 Notes: svn path=/head/; revision=366901
* build vmware modules on arm64Ed Maste2020-10-192-3/+5
| | | | | | | | | | | | pvscsi and vmxnet3 build and work. Exclude vmci for now as it contains x86-specific assembly. Reported by: Vincent Milum Jr MFC after: 2 weeks Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=366861
* Update OpenZFS to 2.0.0-rc3-gfc5966Matt Macy2020-10-171-1/+1
| | | | | | | | | | | - fix panic due to tqid overflow - Improve libzfs_error_init messages - Expose zfetch_max_idistance tunable - Make dbufstat work on FreeBSD - Fix EIO after resuming receive of new dataset over an existing one Notes: svn path=/head/; revision=366780
* Don't build the malo module with clang 10Alex Richardson2020-10-141-1/+7
| | | | | | | | | | Compiling it with LLVM 10 triggers https://bugs.llvm.org/show_bug.cgi?id=44351 While LLVM 11 is the default compiler, I regularly build with CROSS_TOOLCHAIN=llvm10 or use system packages for clang on Linux/macOS and those have not been updated to 11 yet. Notes: svn path=/head/; revision=366698
* 10Gigabit Ethernet driver for AMD SoCEmmanuel Vadot2020-10-114-0/+34
| | | | | | | | | | | | | | | | This patch has the driver for 10Gigabit Ethernet controller in AMD SoC. This driver is written compatible to the Iflib framework. The existing driver is for the old version of hardware. The submitted driver here is for the recent versions of the hardware where the Ethernet controller is PCI-E based. Submitted by: Rajesh Kumar <rajesh1.kumar@amd.com> MFC after: 1 month Relnotes: yes Differential Revision: https://reviews.freebsd.org/D25793 Notes: svn path=/head/; revision=366628
* modules/crypto: reenable assembly optimized skein implementationEd Maste2020-10-101-8/+12
| | | | | | | | | | | | | | r366344 corrected the optimized amd64 skein assembly implementation, so we can now enable it again. Also add a dependency on this Makefile for the skein_block object, so that it will be rebuit (similar to r366362). PR: 248221 Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=366596
* Remove apm screen saver.Warner Losh2020-10-082-14/+1
| | | | | | | | APM BIOS support is about to be removed. Remove the apm screen saver and its module. They are about to be irrelevant. Notes: svn path=/head/; revision=366545
* Remove apm moduleWarner Losh2020-10-082-14/+0
| | | | | | | | The apm code is about to be removed. Remove the module since it's about to be useless. Notes: svn path=/head/; revision=366544
* pwm_backlight: Add regnode_if.h to SRCSEmmanuel Vadot2020-10-031-0/+1
| | | | | | | | | | If the kernel config doesn't have this pseudo device it will not be generated and then the module will fail to compile. Reported by: mjg Notes: svn path=/head/; revision=366397
* pwm_backlight: Restrict module to armv7 and aarch64Emmanuel Vadot2020-10-021-0/+2
| | | | | | | | | Both powerpc64 and riscv uses fdt but don't use EXT_RESOURCES. Reported by: jenkins Notes: svn path=/head/; revision=366381
* linuxkpi: Add dmi_* functionEmmanuel Vadot2020-10-021-0/+1
| | | | | | | | | | | | dmi function are used to get smbios values. The DRM subsystem and drivers use it to enabled (or not) quirks. Reviewed by: hselasky Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D26046 Notes: svn path=/head/; revision=366373
* Add pwm_backlightEmmanuel Vadot2020-10-022-1/+20
| | | | | | | | | | | Driver for pwm-backlight compatible device. Relnotes: yes Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D26252 Notes: svn path=/head/; revision=366371
* Add backlight subsystemEmmanuel Vadot2020-10-022-0/+14
| | | | | | | | | | | | | This is a simple subsystem that allow drivers to register as a backlight. Each backlight creates a device node under /dev/backlight/backlightX and an alias based on the name provided. Relnotes: yes Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D26250 Notes: svn path=/head/; revision=366369
* Don't define _STANDALONE when building kernel modules.Warner Losh2020-09-241-1/+1
| | | | | | | | | _STANDALONE is only for the bootloader, not kernel modules. Remove it from the build. This was harmless before, but sys/malloc.h now does different things for the standalone environment, triggering the issue. Notes: svn path=/head/; revision=366104
* [PowerPC64LE] Set up powerpc.powerpc64le architectureBrandon Bergren2020-09-221-1/+1
| | | | | | | | | | | | | | | | | | This is the initial set up for PowerPC64LE. The current plan is for this arch to remain experimental for FreeBSD 13. This started as a weekend learning project for me and kinda snowballed from there. (More to follow momentarily.) Reviewed by: imp (earlier version), emaste Sponsored by: Tag1 Consulting, Inc. Differential Revision: https://reviews.freebsd.org/D26399 Notes: svn path=/head/; revision=366032
* cxgbe(4): Update T4/5/6 firmwares to 1.25.0.0.Navdeep Parhar2020-09-173-3/+3
| | | | | | | | | Obtained from: Chelsio Communications MFC after: 3 days Sponsored by: Chelsio Communications Notes: svn path=/head/; revision=365861
* Add dtb/sifive moduleMitchell Horne2020-09-171-0/+6
| | | | | | | | | | This allows building the HiFive Unleashed device tree blob. Reviewed by: manu Differential Revision: https://reviews.freebsd.org/D26459 Notes: svn path=/head/; revision=365835
* [PowerPC64LE] Ensure nvram is built on powerpc64le.Brandon Bergren2020-09-131-1/+1
| | | | | | | | | | Fix some cases where conditionals that were trying to exclude powerpcspe were also excluding powerpc64le. Sponsored by: Tag1 Consulting, Inc. Notes: svn path=/head/; revision=365694
* A major update to the ure driver.John-Mark Gurney2020-09-121-1/+1
| | | | | | | | | | | | | | | | | | | This update adds support for: HW VLAN tagging HW checksum offload for IPv4 and IPv6 tx and rx aggreegation (for full gige speeds) multiple transactions In my testing, I am able to get 900-950Mbps depending upon TCP or UDP, which is a significant improvement over the previous 91Mbps (~8kint/sec*1500bytes/packet*1packet/int). Reviewed by: hselasky MFC after: 2 months Differential Revision: https://reviews.freebsd.org/D25809 Notes: svn path=/head/; revision=365648
* ZFS: remove some extra definesMatt Macy2020-09-081-11/+2
| | | | | | | | | | When merging a number of defines that are needed in the standalone build made it in to the module makefile. Reported by: markj@ Notes: svn path=/head/; revision=365466
* Stop setting DEBUG_FLAGS in the zfs.ko Makefile.Mark Johnston2020-09-041-2/+0
| | | | | | | | | | Rely on system settings to decide whether or not to build with debug symbols and extract them to a separate file. Reported and tested by: rm Notes: svn path=/head/; revision=365336