freebsd-dev/sys
Andriy Gapon 4302208388 sound/hda: fix interrupt handler endless loop after r362294
Not all interrupt sources that affect CIS bit were acknowledged.
Specifically, bits in STATESTS (aka WAKESTS) were left set.

The fix is to disable WAKEEN and clear STATESTS bits before the HDA
interrupt is enabled.  This way we should never get any STATESTS bits.

I also added placeholders for all event bits that we currently do not
enable, do not handle and do not clear.  This might get useful when / if
we enable any of them.

Reported by:	kib (Apollo Lake hardware)
Tested by:	kib (earlier, different change)
MFC after:	2 weeks
X-MFC with:	r362294
2020-06-26 09:46:03 +00:00
..
amd64 bhyve(8): For prototyping, reattempt decode in userspace 2020-06-25 00:18:42 +00:00
arm Fix reboot command on the Raspberry Pi series. 2020-06-22 08:12:21 +00:00
arm64 arm64 armreg.h: fix TCR_TBI1 definition 2020-06-23 15:32:05 +00:00
bsm
cam
cddl MFOpenZFS: Add basic zfs ioc input nvpair validation 2020-06-23 06:42:39 +00:00
compat Implement an approximation of Linux MADV_DONTNEED semantics. 2020-06-25 20:30:30 +00:00
conf Add SCTP_SUPPORT to the default kernel options. 2020-06-25 19:12:27 +00:00
contrib
crypto Use zfree() instead of bzero() and free(). 2020-06-25 20:20:22 +00:00
ddb [PowerPC] More relocation fixes 2020-06-21 03:39:26 +00:00
dev sound/hda: fix interrupt handler endless loop after r362294 2020-06-26 09:46:03 +00:00
dts
fs Add a boolean argument to nfscl_reqstart() to indicate that ext_pgs mbufs 2020-06-26 03:11:54 +00:00
gdb
geom Use explicit_bzero() instead of bzero() for sensitive data. 2020-06-25 20:25:35 +00:00
gnu
i386 Adapt linuxulator syscalls.master files to the new layout. 2020-06-21 10:09:34 +00:00
isa
kern Use zfree() instead of explicit_bzero() and free(). 2020-06-25 20:17:34 +00:00
kgssapi
libkern
mips [PowerPC] More relocation fixes 2020-06-21 03:39:26 +00:00
modules ena: fix module build after r362530 2020-06-26 09:32:57 +00:00
net iflib: fix compilation issue introduced in r362621 2020-06-25 20:43:21 +00:00
net80211
netgraph
netinet Use zfree() instead of explicit_bzero() and free(). 2020-06-25 20:17:34 +00:00
netinet6
netipsec Simplify IPsec transform-specific teardown. 2020-06-25 23:59:16 +00:00
netpfil ipfw(4): make O_IPVER/ipversion match IPv4 or 6, not just IPv4. 2020-06-24 15:46:33 +00:00
netsmb
nfs
nfsclient
nfsserver
nlm
ofed
opencrypto Zero the temporary HMAC key in hmac_init_pad(). 2020-06-25 20:18:55 +00:00
powerpc [PowerPC] More relocation fixes 2020-06-21 03:39:26 +00:00
riscv Only invalidate the early DTB mapping if it exists 2020-06-24 15:21:12 +00:00
rpc
security
sys Bump the version since r362639 changed the internal API between the NFS 2020-06-26 03:14:30 +00:00
teken
tests
tools
ufs
vm Call swap_pager_freespace() from vm_object_page_remove(). 2020-06-25 15:21:21 +00:00
x86 Assume all TSCs are synchronized for AMD Family 17h processors and later 2020-06-22 20:42:58 +00:00
xdr
xen
Makefile