Commit Graph

243026 Commits

Author SHA1 Message Date
mlelstv 44d00f8ce2 Add missing mutex_exit(). 2016-06-05 06:19:59 +00:00
mlelstv 3e2f1d8997 ensure that timeout counter is cleared when ccb is (re-)used. 2016-06-05 05:41:53 +00:00
mlelstv aba29f3a78 Whitespace, braces. 2016-06-05 05:40:29 +00:00
mlelstv 334be04930 Replace the simple tag counter with the command tag coming down from scsipi.
Also set attributes according to tag types.
2016-06-05 05:36:57 +00:00
mlelstv 530dbb3782 No need to acquire KERNEL_LOCK when entering network code.
Also use the socket callbacks.
2016-06-05 05:31:43 +00:00
mlelstv 36dadbea16 Keep 1 CCB free for private use. This avoids frequent recovery in scsipi when
resources appear to be exhausted.
2016-06-05 05:29:01 +00:00
mlelstv 68dc548575 Make PDU init routines record serial number in CCB too. 2016-06-05 05:25:59 +00:00
mlelstv aac72e4bc4 Fix locking for pdu flags here, in particular PDUF_INQUEUE. 2016-06-05 05:18:58 +00:00
mlelstv febd01647c Handle ExpCmdSN and MaxCmdSN updates as specified. Don't compare
serial numbers as integers.
2016-06-05 05:11:57 +00:00
mlelstv d5741a228e Fix serial number check and account for commands in flight to avoid
unnecessary recovery actions.
2016-06-05 05:07:23 +00:00
mlelstv cac97d38f5 Tear down sysctls only after detaching children. This lets you enable
debugging while detaching hangs.
2016-06-05 04:53:22 +00:00
mlelstv 015cdd4666 ignore invalid ITT 2016-06-05 04:51:57 +00:00
mlelstv 64fa3c070d Whitespace 2016-06-05 04:50:23 +00:00
mlelstv 026739d4d4 When stopping a callout, wait until the cleanup thread has processed them. 2016-06-05 04:48:17 +00:00
mlelstv fb85db7754 More debugging output, changed debug levels for some. 2016-06-05 04:36:05 +00:00
christos fcb395931a NUL terminate. 2016-06-05 01:39:17 +00:00
christos 1d47ba93e2 Add libubsan 2016-06-05 01:31:03 +00:00
christos 739a312465 conditionalize 2016-06-05 01:23:58 +00:00
christos 4b11f6f5bb add ubsan 2016-06-05 01:20:58 +00:00
christos d10a0033d8 add ubsan to the build 2016-06-05 01:17:57 +00:00
sjg 35fa3446c5 Avoid breaking !NetBSD build 2016-06-05 00:48:58 +00:00
joerg 70b825c3b6 Make older GCC and Clang happy and use weak references to the elements,
not declared as arrays.
2016-06-05 00:43:39 +00:00
sjg ec729b232b meta_oodate even when missing-meta is true, we do not make a target in
.CURDIR out of date just because of a missing meta file.

Also we can only be missing filemon data if we had a meta file.
2016-06-04 22:17:14 +00:00
palle 3221c3ec32 Update TODO: note that TRAP_SETUP() is stil sun4u-specific 2016-06-04 21:26:26 +00:00
palle 209fb3911a sun4v: rtf_user now uses macros GET_MMU_CONTEXTID and SET_MMU_CONTEXTID. Tested on sun4u (QEMU) and sun4v (T2000). Parts from OpenBSD. 2016-06-04 21:24:41 +00:00
palle 3958153370 Added missing "it" to comment in start_init() 2016-06-04 21:10:56 +00:00
joerg 0eed2a9437 Mark dead functions. 2016-06-04 20:59:49 +00:00
christos 22cce15d1f revert, everything coredumps with this change. 2016-06-04 18:22:45 +00:00
nonaka cae3c2f471 nvmectl(8): Added NVM Express control utility.
Ported from FreeBSD nvmecontrol(8).
2016-06-04 16:29:35 +00:00
christos 8511b0d02a PR/50773: Rin Okuyama: Fix single stepping on dynamically linked binaries
by skipping dynamic linker calls (from OpenBSD)
2016-06-04 16:14:29 +00:00
nonaka e7c0cc5d9a Add NVMe command passthrough support. 2016-06-04 16:11:50 +00:00
agc 3f81b60716 Following positive feedback on tech-userlevel, move the sys_info
script from othersrc to usr.bin/sys_info

	The sys_info script is a small script which will show the version
	information for installed utilities.  It also works on the kernel, and
	on most libraries.

	Its use is as follow:

		[19:41:13] agc@netbsd-002 ...external/bsd/sys_info [4568] > ./sys_info -a
		awk-20121220
		bind-9.10.3pl3
		bzip2-1.0.6
		calendar-20160601
		ftpd-20110904
		g++-4.8.5
		gcc-4.8.5
		grep-2.5.1anb1
		gzip-20150113
		bozohttpd-20151231
		NetBSD-7.99.26
		netpgp-3.99.17
		netpgpverify-20160214
		ntp-4.2.8pl5
		openssl-1.0.1r
		sqlite3-3.12.2
		openssh-7.1
		opensshd-7.1
		tcsh-6.19.00
		xz-5.2.1
		[19:41:20] agc@netbsd-002 ...external/bsd/sys_info [4569] > ./sys_info ntp ssh netpgp
		ntp-4.2.8pl5
		openssh-7.1
		netpgp-3.99.17
		[19:41:31] agc@netbsd-002 ...external/bsd/sys_info [4570] > ./sys_info ntp ssh netbsd
		ntp-4.2.8pl5
		openssh-7.1
		NetBSD-7.99.26
		[19:41:38] agc@netbsd-002 ...external/bsd/sys_info [4571] >

	The -a option can be given to the script to print out the information
	on all known components.

	The sys_info script also works on libraries, returning their
	"versions" as given by the shared object version numbers.

		[19:45:06] agc@netbsd-002 ...external/bsd/sys_info [4572] > ./sys_info libevent libXfont libc netbsd
		libevent-4.0
		libXfont-3.0
		libc-12.200
		NetBSD-7.99.26
		[19:45:27] agc@netbsd-002 ...external/bsd/sys_info [4573] >

	Alistair Crooks
	Wed Jun  1 19:44:01 PDT 2016
2016-06-04 15:27:11 +00:00
joerg bfeb1114e7 Drop CSU entry. 2016-06-04 11:25:43 +00:00
maxv 60bc3a8b92 The ISA I/O MEM does not need to be executable. Remove the X permission
on it.
2016-06-04 10:48:11 +00:00
maxv 0722661d6d Use the same instruction layout to map the ISA I/O. No functional
change.

The comment is still wrong: we are not on (4), we are actually below
the kernel area in physical memory. I'll fix that later.
2016-06-04 10:19:09 +00:00
maxv 6edc87f466 Define and use fillkpt_blank on i386, like amd64. The PAE case is
included in fillkpt_blank, since PDE_SIZE is either 4 or 8 bytes.
2016-06-04 10:02:12 +00:00
maxv 88f946c096 Initialize cpuid_level at compile-time, not run-time. Same as amd64. 2016-06-04 09:52:41 +00:00
maxv bd1d809d21 Reorder some definitions. Reduces the diff between amd64 and i386. 2016-06-04 09:45:57 +00:00
christos d433114464 sanitizer for all. 2016-06-04 02:06:46 +00:00
christos bbba7d645f Asan is back 2016-06-04 00:11:01 +00:00
christos 0762ef8b4d Add bsd_signal as required by POSIX (from GSoC 2016, Charles Cui) 2016-06-03 23:57:37 +00:00
joerg 56a6d73206 Install new header and fix rump to include the corresponding source as
well.
2016-06-03 21:55:50 +00:00
christos 8d74196e94 new ntp 2016-06-03 20:41:04 +00:00
christos 717847f56d resolve conflicts 2016-06-03 20:39:02 +00:00
christos 42c2944020 Import ntp 4.2.8p8 2016-06-03 20:19:08 +00:00
christos 08cb3c9559 Fix compilation on non-x86 2016-06-03 15:53:18 +00:00
joerg 02a86ed763 Give Clang a bit more room in the miniroot. 2016-06-03 15:44:50 +00:00
joerg 78fd5ce7d6 Regenerate to use .ctor. 2016-06-03 15:42:15 +00:00
joerg 80379e533e Replace init sections with the simpler .ctor sections. 2016-06-03 15:41:57 +00:00
christos 5b93a3dc8f add extents. 2016-06-03 15:37:16 +00:00