opnsense-src/sys
Kevin Bowling fb68099015 e1000: Handle I354 internal memory errors
The Atom C2000 integrated GbE programming reference documents the I354
internal memory error architecture.  It shares the I350 PEIND and
ICR.FER routing, DMA and packet-buffer status, LAN parity status, and
required reset recovery.

Extend the existing I350 recovery and corrected error accounting paths
to I354.  Keep the PCIe corrected error mask family-specific.  C2000
PCIEECCSTS ends at the transmit write-data indication in bit 4 and does
not implement the I350 retry buffer indication in bit 5.  Do not expose
the corresponding retry counter on I354.

The PRM overview says a PCIe region failure requires a system reboot,
while the individual PCIEERRSTS fields prescribe CTRL.RST followed by
port reinitialization.  Use the register specific recovery, matching the
existing I350 path; failed reinitialization still leaves the port down.

This follows sections 5.6 and 6.21 of the Intel Atom Processor C2000
Product Family Integrated GbE Controller Programmer's Reference Manual,
document 537426 revision 1.5.

Sponsored by:	BBOX.io

(cherry picked from commit 5b4a7fd9378abba882a87330af31351c6353aea7)
2026-09-13 13:49:21 +02:00
..
amd64 Revert "amd64 GENERIC: Switch uart hints from "isa" to "acpi"" 2026-06-19 09:47:29 +02:00
arm Fix xhci detection on Raspberry Pi 400 2026-04-24 15:44:33 -06:00
arm64 sys/arm64: fix return values of freebsd32_{set,swap}context() 2026-07-06 10:29:17 +02:00
bsm
cam cam (scsi): silence "Medium not present" SCSI sense logging for removable media 2026-04-22 12:48:35 -04:00
cddl dtrace: Improve dmesg kernel message prefix 2026-05-07 15:16:38 -07:00
compat linuxkpi 802.11: Free entire mbuf chain on failure 2026-07-10 08:12:58 +02:00
conf Add UPDATING entries and bump version 2026-08-26 10:16:59 +02:00
contrib zvol: Fix uses of uninitialized variables in zvol_rename_minors_impl() 2026-08-11 07:43:48 +02:00
crypto crypto/openssl: update artifacts to match 3.5.7 release 2026-07-06 11:08:04 +02:00
ddb
dev e1000: Handle I354 internal memory errors 2026-09-13 13:49:21 +02:00
dts
fs p9fs: Remove the "cancel" transport method 2026-07-09 08:58:45 +02:00
gdb
geom glabel(8): Fix debug message for already existing labels 2026-04-22 11:30:27 +02:00
gnu
i386 padlock: Restore padlock_rng to the amd64 build 2026-05-28 15:15:46 -07:00
isa isa_common: allow multiple device instances 2026-03-04 21:57:46 +08:00
kern posixshm: Fix a TOCTOU race in the FIOSSHMLPGCNF handler 2026-08-26 10:16:56 +02:00
kgssapi kgss: de-virtualize kgss_gssd_handle 2026-04-27 09:11:51 -07:00
libkern libkern: Add libcalls for ffs and __ffsdi2 2026-04-24 11:26:39 -04:00
modules irdma(4): update irdma to version 1.3.56-k 2026-07-06 11:06:25 +02:00
net net: Add ifmedia support for 10GBase-BX BiDi 2026-09-11 11:08:32 +02:00
net80211 net80211: radiotap: add more VHT flags, and struct 2026-04-22 20:57:07 +00:00
netgraph bluetooth: remove redundant 0x0bda entries from ng_ubt_rtl, rtlbtfw 2026-04-28 05:25:47 +03:00
netinet route/fib_algo: Free leaked radix_masks in radix_lockless 2026-09-11 09:41:11 +02:00
netinet6 route/fib_algo: Free leaked radix_masks in radix_lockless 2026-09-11 09:41:11 +02:00
netipsec netipsec: Implement pr_disconnect for PF_KEY sockets 2026-09-11 09:43:09 +02:00
netlink Revert "sys/socket.h: Fix AF_MAX" 2026-08-12 19:25:57 +02:00
netpfil pf: fix securelevel off-by-one 2026-09-11 09:33:57 +02:00
netsmb
nfs nfs_diskless: Fix handling of nfsuserd case for NFSv4 2026-04-13 20:26:32 -07:00
nfsclient
nfsserver
nlm
ofed RDMA: Fix link active_speed size 2026-07-06 11:07:12 +02:00
opencrypto OCF: Add a fail point to inject EBADMSG decryption errors 2026-08-03 12:53:17 +02:00
powerpc powerpc: remove dead code call into x86 perfmon 2026-04-27 13:17:46 -04:00
riscv sys: Declare 'end' as an extern char[] 2026-04-24 11:43:38 -04:00
rpc rpcsec_tls: Avoid a socket reference underflow in rpctls_server() 2026-07-06 10:29:20 +02:00
security mac_seeotheruids: allow specificgid to be a list of groups 2026-04-28 23:17:06 -05:00
sys posixshm: Fix a TOCTOU race in the FIOSSHMLPGCNF handler 2026-08-26 10:16:56 +02:00
teken
tests
tools sound: Retire unused emu10k1-mkalsa.sh 2026-03-31 11:54:44 +02:00
ufs renameat2(2): implement AT_RENAME_NOREPLACE flag 2026-03-10 13:41:31 +02:00
vm posixshm: Fix handling of sendfile() with largepage objects 2026-07-06 10:29:39 +02:00
x86 ucode: Fix validation on Intel platforms 2026-08-26 10:16:37 +02:00
xdr
xen
Makefile
README.md

FreeBSD Kernel Source:

This directory contains the source files and build glue that make up the FreeBSD kernel and its modules, including both original and contributed software.

Kernel configuration files are located in the conf/ subdirectory of each architecture. GENERIC is the configuration used in release builds. NOTES contains documentation of all possible entries. LINT is a compile-only configuration used to maximize build coverage and detect regressions.

Documentation:

Source code documentation is maintained in a set of man pages, under section 9. These pages are located in share/man/man9, from the top-level of the src tree. Consult intro(9) for an overview of existing pages.

Some additional high-level documentation of the kernel is maintained in the Architecture Handbook.

Source Roadmap:

Directory Description
amd64 AMD64 (64-bit x86) architecture support
arm 32-bit ARM architecture support
arm64 64-bit ARM (AArch64) architecture support
cam Common Access Method storage subsystem - cam(4) and ctl(4)
cddl CDDL-licensed optional sources such as DTrace
conf kernel build glue
compat Linux compatibility layer, FreeBSD 32-bit compatibility
contrib 3rd-party imported software such as OpenZFS
crypto crypto drivers
ddb interactive kernel debugger - ddb(4)
fs most filesystems, excluding UFS, NFS, and ZFS
dev device drivers and other arch independent code
gdb kernel remote GDB stub - gdb(4)
geom GEOM framework - geom(4)
i386 i386 (32-bit x86) architecture support
kern main part of the kernel
libkern libc-like and other support functions for kernel use
modules kernel module infrastructure
net core networking code
net80211 wireless networking (IEEE 802.11) - net80211(4)
netgraph graph-based networking subsystem - netgraph(4)
netinet IPv4 protocol implementation - inet(4)
netinet6 IPv6 protocol implementation - inet6(4)
netipsec IPsec protocol implementation - ipsec(4)
netpfil packet filters - ipfw(4), pf(4), and ipfilter(4)
opencrypto OpenCrypto framework - crypto(7)
powerpc PowerPC/POWER (32 and 64-bit) architecture support
riscv 64-bit RISC-V architecture support
security security facilities - audit(4) and mac(4)
sys kernel headers
tests kernel unit tests
ufs Unix File System - ffs(4)
vm virtual memory system
x86 code shared by AMD64 and i386 architectures