opnsense-src/sys/conf
Alexander Motin 1d8cda26ca vmd(4): Major driver refactoring
- Re-implement pcib interface to use standard pci bus driver on top of
vmd(4) instead of custom one.
 - Re-implement memory/bus resource allocation to properly handle even
complicated configurations.
 - Re-implement interrupt handling to evenly distribute children's MSI/
MSI-X interrupts between available vmd(4) MSI-X vectors and setup them
to be handled by standard OS mechanisms with minimal overhead, except
sharing when unavoidable.

Successfully tested on Dell XPS 13 laptop with Core i7-1185G7 CPU (VMD
device ID 0x9a0b) and single NVMe SSD, dual-booting with Windows 10.

Successfully tested on Supermicro X11DPI-NT motherboard with Xeon(R)
Gold 6242R CPUs (VMD device ID 0x201d), simultaneously handling NVMe
SSD on one PCIe port and PLX bridge with 3 NVMe and 1 AHCI SSDs on
another.  Handles SSD hot-plug (except Optane 905p for some reason,
which are not detected until manual bus rescan) and enabled IOMMU
(directly connected SSDs work, but ones connected to the PLX fail
without errors from IOMMU).

MFC after:	2 weeks
Sponsored by:	iXsystems, Inc.
Differential revision:	https://reviews.freebsd.org/D31762

(cherry picked from commit 7af4475a6e)
2021-09-12 18:44:13 -04:00
..
config.mk Add SCTP_SUPPORT handling to config.mk. 2020-06-25 15:25:00 +00:00
dtb.build.mk Switch to the new device-tree vendor tree 2021-01-15 20:08:39 +01:00
dtb.mk Allow kernel config to specify DTS/DTSO to build, and out-of-tree support 2019-03-26 02:45:23 +00:00
files MFC 517904de5c: igc(4): Introduce new driver for the Intel I225 Ethernet controller. 2021-08-15 20:33:54 +10:00
files.amd64 vmd(4): Major driver refactoring 2021-09-12 18:44:13 -04:00
files.arm arm: replace byte-by-byte memcmp with an already existing asm variant 2021-07-19 09:54:18 +00:00
files.arm64 arm64: allwinner: Add r_intc driver 2021-07-22 19:30:21 +02:00
files.i386 vmd(4): Major driver refactoring 2021-09-12 18:44:13 -04:00
files.mips amd64: implement strlen in assembly, take 2 2021-04-10 13:53:46 +00:00
files.powerpc amd64: implement strlen in assembly, take 2 2021-04-10 13:53:46 +00:00
files.riscv fu740_pci_dw: Add SiFive FU740 PCIe controller driver 2021-09-07 13:07:31 +01:00
files.x86 gdb: allow setting/removing hardware watchpoints 2021-04-21 10:20:33 -03:00
kern.mk Don't error out on unused but set variables with clang 13 2021-09-02 23:53:18 +02:00
kern.opts.mk WITH_OFED build option: fix 2021-02-05 03:27:33 +02:00
kern.post.mk Use a template assembly file to generate the embedded MFS. 2020-10-20 16:48:45 +00:00
kern.pre.mk Don't add -Winline for WARNS=6 2021-04-22 10:44:51 +01:00
kmod.mk conf/kern.mk: save some work by using realpath instead of cd ; pwd 2021-02-01 12:39:17 +00:00
kmod.opts.mk Add a kmod.opts.mk. 2019-11-21 18:14:26 +00:00
kmod_syms.awk
kmod_syms_prefix.awk Add the infrastructure to support loading multiple versions of TCP 2017-06-08 20:41:28 +00:00
ldscript.amd64 amd64: do not assume that kernel is loaded at 2M physical 2021-08-24 02:21:13 +03:00
ldscript.arm Eliminate the generated ldscript for arm and arm64, and strip $a/$d marker 2019-12-29 18:17:12 +00:00
ldscript.arm64 More the arm64 early page tables and stack to .bss 2020-12-23 13:10:23 +00:00
ldscript.i386 Expose the kernel's build-ID through sysctl 2019-06-04 13:07:10 +00:00
ldscript.kmod.amd64 Move PLTs to the beginning of amd64 kernel modules. 2020-09-16 13:51:47 +00:00
ldscript.kmod.i386 Formalize the use of linker scripts for kernel modules. 2019-10-16 22:19:56 +00:00
ldscript.mips Expose the kernel's build-ID through sysctl 2019-06-04 13:07:10 +00:00
ldscript.mips.cfe Expose the kernel's build-ID through sysctl 2019-06-04 13:07:10 +00:00
ldscript.mips.mips64 Expose the kernel's build-ID through sysctl 2019-06-04 13:07:10 +00:00
ldscript.mips.octeon1 Fix linking OCTEON1 kernel with LLD 2020-03-22 22:18:00 +00:00
ldscript.powerpc [PowerPC] kernel ifunc support for powerpc*, fix ppc64 relocation oddities. 2020-05-07 19:32:49 +00:00
ldscript.powerpc64 [PowerPC] Fix build-id note on powerpc64 kernel 2020-06-01 19:40:59 +00:00
ldscript.powerpc64le [PowerPC64LE] Set up powerpc.powerpc64le architecture 2020-09-22 23:49:30 +00:00
ldscript.powerpcspe [PowerPC] kernel ifunc support for powerpc*, fix ppc64 relocation oddities. 2020-05-07 19:32:49 +00:00
ldscript.riscv Set the LMA of the riscv kernel to the OpenSBI jump target by default 2020-02-04 00:06:16 +00:00
Makefile.amd64 Don't try ctfconvert on file without debug info. 2020-04-28 16:09:25 +00:00
Makefile.arm Switch to the new device-tree vendor tree 2021-01-15 20:08:39 +01:00
Makefile.arm64 arm64: Check dtb version against the one we're expecting to find 2021-08-16 18:07:53 +02:00
Makefile.i386 Retire CLANG_NO_IAS34 2018-11-01 23:11:47 +00:00
Makefile.mips mips: Add the device-tree path to the include paths 2021-01-16 11:33:37 +01:00
Makefile.powerpc Remove tests for obsolete compilers in the build system 2020-05-12 15:22:40 +00:00
Makefile.riscv riscv: Add the device-tree path to the include path 2021-01-16 11:31:17 +01:00
newvers.sh newvers.sh: add newline at EOF in generated vers.c 2021-03-05 12:46:12 -05:00
NOTES Delete dead CLUSTERDEBUG config option. 2021-02-28 02:42:35 +02:00
options kern: add an option for preserving the early kenv 2021-08-26 01:35:30 -05:00
options.amd64 Initial support for bhyve save and restore. 2020-05-05 00:02:04 +00:00
options.arm Remove unused options. 2020-11-29 17:42:32 +00:00
options.arm64 arm64: Add a SOC_BRCM_NS2 option 2021-02-19 19:03:56 +01:00
options.i386 hyperv: Fix vmbus after the i386 4/4 split 2021-06-21 21:09:17 -04:00
options.mips Remove remaning definition of GFB_<foo> options. 2020-12-05 19:44:00 +00:00
options.powerpc Remove remaning definition of GFB_<foo> options. 2020-12-05 19:44:00 +00:00
options.riscv o Add driver for PLIC (Platform-Level Interrupt Controller) device. 2018-06-12 17:45:15 +00:00
std.nodebug Split out the NODEBUG options to a common file 2021-01-14 16:57:53 +00:00
sysent.mk Rebuild sysent when capabilities.conf is updated. 2020-07-07 16:35:52 +00:00
systags.sh Fix kernel-tags target. 2020-01-23 13:56:12 +00:00
WITHOUT_SOURCELESS Move WITHOUT_SOURCELESS_* files to sys/conf/ in order to avoid "universe" 2012-02-12 14:55:27 +00:00
WITHOUT_SOURCELESS_HOST Retire the nve(4) driver; nfe(4) has been the default driver for NVIDIA 2014-02-16 12:22:43 +00:00
WITHOUT_SOURCELESS_UCODE retire cx,ctau drivers 2020-03-20 16:50:19 +00:00