freebsd-src/sys
Reid Linnemann f0c9703301 sys/dev/ichsmb: Silence unhandled SMBALERT device_printfs
The ichsmb driver does not actually handle SMBALERT, other than by logging the
first 16 occurences of the ICH_HST_STA_SMBALERT_STS_SMBALERT status
flag. Because the SMBALERT is not acknowledged by the host, clearing it in the
host status register does not appear to work as long as some slave device is
pulling the SMBALERT line low, at least for C2000 chips. As a result, if a slave
device does pull SMBALERT low the interrupt handler will always loop its maximum
of 16 times attempting to clear all status register flags and device_printf the
status register. The result is the kernel message buffer is littered with these
device_printfs at every interrupt.

To remedy the problem, the ICH_HST_STA_SMBALERT_STS flag is zeroed in the read
host status register value, just as with ICH_HST_STA_INUSE_STS and
ICH_HST_STA_HOST_BUSY. This allows the loop to break when no other flags that
must be handled are set in the host status register. Additionally, because the
SMBALERT is not actually handled the SMBALERT logging is omitted as it has no
actual function at this time.

Reviewed by:	imp
Sponsored by:	Rubicon Communications, LLC ("Netgate")
Differential Revision:	https://reviews.freebsd.org/D39966
2023-06-26 10:29:34 +02:00
..
amd64 amd64 pmap: Tidy up pmap_promote_pde() calls 2023-06-24 13:09:04 -05:00
arm fix qcom_cpu_kpssv2 compile on ASUS_AC1300 2023-06-12 08:30:15 -06:00
arm64 arm64: improve KTR_TRAP trace entries 2023-06-24 08:23:14 +03:00
bsm
cam scsi_all.c: Update to latest asc-num.txt at T10 2023-06-22 20:51:30 -06:00
cddl dtrace/arm64: Fix user memory access routines 2023-06-15 12:39:21 -04:00
compat LinuxKPI: cast jiffies_to_msecs() result 2023-06-26 07:54:24 +00:00
conf arm64: Enable the Hyper-V keyboard driver 2023-06-21 13:17:40 +01:00
contrib zfs: merge openzfs/zfs@8e8acabdc 2023-06-25 10:32:42 +02:00
crypto ossl: Don't try to initialize the cipher for Chacha20+Poly1305. 2023-06-20 07:53:50 -07:00
ddb
dev sys/dev/ichsmb: Silence unhandled SMBALERT device_printfs 2023-06-26 10:29:34 +02:00
dts
fs pseudofs: Fix a potential out-of-bounds access in pfs_lookup() 2023-06-23 09:54:39 -04:00
gdb
geom
gnu
i386
isa
kern radix_trie: simplify trimkey functions 2023-06-25 12:49:15 -05:00
kgssapi
libkern
modules zfs: merge openzfs/zfs@8e8acabdc 2023-06-25 10:32:42 +02:00
net pf: Fix usage of pf tags with syncookies 2023-06-19 12:03:55 +02:00
net80211
netgraph
netinet tcp: Disallow connecting a disconnected socket 2023-06-23 10:00:52 -04:00
netinet6 netinet6: Implement in6_cksum_partial() using m_apply() 2023-06-23 09:55:43 -04:00
netipsec tcp: fix TCP MD5 digest computation for TCP over UDP 2023-06-21 22:48:12 +02:00
netlink netlink: convert to IfAPI. 2023-06-16 15:59:34 +00:00
netpfil pf: Add code to enable filtering for locally delivered packets 2023-06-20 15:34:01 +01:00
netsmb
nfs
nfsclient
nfsserver
nlm
ofed
opencrypto crypto: Advance the correct pointer in crypto_cursor_copydata() 2023-06-12 12:52:24 -04:00
powerpc
riscv riscv: improve KTR_TRAP trace entries 2023-06-20 11:54:14 -03:00
rpc
security
sys Bump __FreeBSD_version for OpenSSL 3.0 update 2023-06-23 22:16:34 -04:00
teken
tests ktest: make ktest work with Netlink loaded as a module. 2023-06-13 06:04:14 +00:00
tools
ufs Write out corrected superblock when creating a UFS/FFS snapshot. 2023-06-13 00:22:13 -07:00
vm radix_trie: simplify trimkey functions 2023-06-25 12:49:15 -05:00
x86 x86: Add defines for a couple of thermal and PM bits 2023-06-19 13:32:22 -04: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.

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(7)
vm virtual memory system
x86 code shared by AMD64 and i386 architectures