r325949 gjb Nov. 17, 2017, 5:34 p.m.
Remove an unneeded UBLDR_LOADADDR from RPI3.conf.

Sponsored by:	The FreeBSD Foundation
r325948 gjb Nov. 17, 2017, 5:33 p.m.
Sponsored by:	The FreeBSD Foundation
r325947 asomers Nov. 17, 2017, 5:13 p.m.
In scsi_dev_advinfo(), if the physical path is being stored and there is a
malloc failure (malloc(9) is called with M_NOWAIT), we could wind up in a
situation where the device's physpath_len is set to the length the user
provided, but the physpath itself is NULL.

If another context then comes in to fetch the physical path value, we would
wind up trying to memcpy a NULL pointer into the caller's buffer.

So, set the physpath_len to 0 when we free the physpath on entry into the
store case for the physical path.  Reset the length to a non-zero value only
after we've successfully malloced a buffer to hold it.

Submitted by:	ken
Reviewed by:	asomers
MFC after:	3 weeks
Sponsored by:	Spectra Logic Corp
r325946 asomers Nov. 17, 2017, 4:04 p.m.
The old description has been inaccurate since at least 243271, if not

Submitted by:	will
Reviewed by:	kib
MFC after:	3 weeks
Sponsored by:	Spectra Logic Corp
Differential Revision:	https://reviews.freebsd.org/D13108
r325942 gordon Nov. 17, 2017, 3:46 p.m.
r325934 scottl Nov. 17, 2017, 1:12 p.m.
r325930 bapt Nov. 17, 2017, 9:33 a.m.
r325929 bapt Nov. 17, 2017, 9:29 a.m.
r325927 jhibbits Nov. 17, 2017, 4:29 a.m.
MFC after:	2 weeks
r325926 jhibbits Nov. 17, 2017, 4:10 a.m.
There's no need to special case 32-bit AIM to short circuit processing.
Some AIM CPUs can handle 36 bit addresses, and 64-bit CPUs can run 32-bit
OSes, so this will allow us to expand for that in the future if we desire.
r325925 mjg Nov. 17, 2017, 2:59 a.m.
Fixes build breakage.
r325924 mjg Nov. 17, 2017, 2:45 a.m.
This avoids jumps in the common case of the kernel not being panicked.
r325923 mjg Nov. 17, 2017, 2:29 a.m.
r325922 mjg Nov. 17, 2017, 2:27 a.m.
No functional changes.
r325921 mjg Nov. 17, 2017, 2:26 a.m.
While here perform a minor cleanup of the unlock path.