freebsd-dev/sys
Hans Petter Selasky a26871e7ff Fix startup race initialising ACPI CM battery structures on MacBookPro.
During acpi_cmbat_attach() the acpi_cmbat_init_battery() notification
handler is registered. It has been observed this notification handler
can be called instantly, before the attach routine has returned. In
the notification handler there is a call to device_is_attached() which
returns false. Because the softc is set we know an attach is in
progress and the fix is simply to wait and try again in this case.

Reviewed by:		avg @
MFC after:		1 week
2017-02-27 08:36:51 +00:00
..
amd64 Regen for r314312 (Linux epoll_pwait). 2017-02-26 19:59:28 +00:00
arm Add clkng driver for Allwinner SoC 2017-02-26 16:00:20 +00:00
arm64 Load the new sp_el0 with interrupts disabled in fork_trampoline. If an 2017-02-15 14:56:47 +00:00
boot Remove unused macro from common/drv.c. 2017-02-25 18:14:32 +00:00
bsm
cam Add support for SIMs without autosense. 2017-02-26 19:23:03 +00:00
cddl MFV 314276 2017-02-25 20:01:17 +00:00
compat Return EINVAL in case when an invalid size of signal mask specified. 2017-02-26 20:01:58 +00:00
conf Move inclusion of opt_printf.h around so that we can compile all the 2017-02-25 22:11:10 +00:00
contrib Add 7265D firmware. 2017-02-22 04:42:02 +00:00
crypto Remove pc98 support completely. 2017-01-28 02:22:15 +00:00
ddb Revert crap accidentally committed 2017-01-28 16:31:23 +00:00
dev Fix startup race initialising ACPI CM battery structures on MacBookPro. 2017-02-27 08:36:51 +00:00
fs Do not leak mount references for dying threads. 2017-02-25 10:38:18 +00:00
gdb
geom - Allow different slicers for different flash types to be registered 2017-02-22 10:21:39 +00:00
gnu
i386 Regen for r314312 (Linux epoll_pwait). 2017-02-26 19:59:28 +00:00
isa Remove pc98 support completely. 2017-01-28 02:22:15 +00:00
kern Do not leak mount references for dying threads. 2017-02-25 10:38:18 +00:00
kgssapi
libkern sys: Replace zero with NULL for pointers. 2017-02-22 02:35:59 +00:00
mips Include pcib_private.h for prototypes. 2017-02-26 21:33:18 +00:00
modules Move inclusion of opt_printf.h around so that we can compile all the 2017-02-25 22:11:10 +00:00
net Do some minimal work to better conform to the 802.3ad (LACP) standard. 2017-02-26 00:19:02 +00:00
net80211 [net80211] validate VHT IEs. 2017-02-20 04:04:59 +00:00
netgraph mppc - Finish pluging NETGRAPH_MPPC_COMPRESSION. 2017-01-20 00:02:11 +00:00
netinet TCP window updates are only sent if the window can be increased by at 2017-02-23 18:14:36 +00:00
netinet6 Remove IPsec related PCB code from SCTP. 2017-02-13 11:37:52 +00:00
netipsec For translated packets do not adjust UDP checksum if it is zero. 2017-02-18 19:53:37 +00:00
netnatm
netpfil sys: Replace zero with NULL for pointers. 2017-02-22 02:35:59 +00:00
netsmb
nfs
nfsclient
nfsserver
nlm
ofed Avoid NULL dereference in a couple of sysctl handlers in ibcore. 2017-02-23 07:48:58 +00:00
opencrypto
powerpc Include pcib_private.h for prototypes. 2017-02-26 21:33:18 +00:00
riscv Implement atomic_fcmpset_*() for RISC-V. 2017-02-05 00:32:12 +00:00
rpc add svcpool_close to handle killed nfsd threads 2017-02-14 17:49:08 +00:00
security
sparc64 Include pcib_private.h for prototypes. 2017-02-26 21:33:18 +00:00
sys Implement timerfd family syscalls. 2017-02-26 09:48:18 +00:00
teken
tests
tools Replace using of objdump with elfdump 2017-01-10 18:46:40 +00:00
ufs Do not leak mount references for dying threads. 2017-02-25 10:38:18 +00:00
vm call vm_lowmem hook in uma_reclaim_worker 2017-02-25 16:39:21 +00:00
x86 Fix the acpi idle support on i386 which was broken by r312910. 2017-02-26 13:25:56 +00:00
xdr
xen "Buses" is the preferred plural of "bus" 2017-01-15 17:54:01 +00:00
Makefile Remove pc98 support completely. 2017-01-28 02:22:15 +00:00