255375 Commits

Author SHA1 Message Date
hannken
a59aeb0cc1 Pass residual back to b_resid for persistent snapshots. 2017-12-21 15:51:39 +00:00
hannken
daec163d65 Bounds check against media size for non-persistent snapshots. 2017-12-21 15:51:07 +00:00
hannken
2449af78f2 Treat partial read from backing store as I/O error. 2017-12-21 15:50:33 +00:00
maxv
11d5756319 Remove unused macros. 2017-12-21 14:32:06 +00:00
maxv
556958a38c Make sure we're loading a relocatable binary, to give the user a chance to
correct the kernel name if he mistakenly typed pkboot on a static kernel,
without having to reboot the machine (currently the prekern sees it's a
static kernel and panics).
2017-12-21 14:28:39 +00:00
wiz
ae3489c219 Add width arguments to tagget lists. 2017-12-21 12:25:03 +00:00
martin
77d8e0d59e Don't KASSERT that we are MPSAFE if ! DWCGMAC_MPSAFE 2017-12-21 12:09:43 +00:00
nat
9d022699c0 The reset bit for the analog portion of the codec is bit 28. As per
Allwinner H3 datasheet.

Ok jmcneill@.
2017-12-21 11:52:00 +00:00
kamil
1432f3fc87 t_ptrace_wait*: Disable suspend* tests
These tests can hang the system. These interfaces will be improved and
temporarily disable them.
2017-12-21 09:56:47 +00:00
knakahara
19e3ef90e3 remove duplicated null ckeck 2017-12-21 09:35:38 +00:00
plunky
42f8a9c2e1 for Read_Local_Version, print also the HCI revision 2017-12-21 09:31:22 +00:00
plunky
4fe8989f00 add HCI_SPEC_50 2017-12-21 09:30:30 +00:00
msaitoh
29438a0e19 - If MSI can't be used on some environment, fallback to INTx correctly.
- Use single vector MSI when number of CPU is 1 to save interrupt slot.
2017-12-21 09:24:45 +00:00
plunky
666f6884ad consistent style: connect(2), socket(2) and setsockopt(2) return -1
for error so check for this specifically rather than < 0
2017-12-21 09:04:34 +00:00
plunky
655a736e6f fix width of .Bl list 2017-12-21 09:02:47 +00:00
plunky
1bf21e871d fix width/indent of list 2017-12-21 09:00:19 +00:00
plunky
25d91cf46c fix width of list 2017-12-21 08:59:58 +00:00
plunky
516fe55a41 fix offset/indent of list 2017-12-21 08:59:27 +00:00
skrll
2faacd7e6f Remove unnecessary #include 2017-12-21 08:28:55 +00:00
msaitoh
9305b98e86 Fix panic when only link interrupt can't be established. 2017-12-21 06:49:26 +00:00
msaitoh
a13fe566ca Don't panic when resource shortage occured. Like ixgbe.c rev. 1.116.
- Move location of {ixgbe,ixv}_setup_interface() call at a position that
   any error don't occur. One of the reason is that it should be. Another
   reason is that it's hard to call ether_ifdetach() and if_detach() when
   cold == 1 (because of pserialize_perform, xc_wait, timing of domaininit
   and maybe more).
2017-12-21 06:43:17 +00:00
christos
1abf1d7802 Fix broken test: we can't assume that the current schedule priority range
will overlap with the requested scheduler range, so get the new scheduler
range, and then try to find a different priority. If that fails (to find
a different scheduling range), give up here.
2017-12-21 03:31:43 +00:00
skrll
305714948e One copy of the generic timer register defines is enough for anyone. The
ARM_ prefixed copies are prefered (at this point) and the comments from
the non-ARM_ prefixed versions are copied over.
2017-12-20 15:22:14 +00:00
skrll
6c21b77e87 Correct ARM_CNTKCTL_PL0[VP]CTEN values. NFC as nothing uses them. 2017-12-20 15:12:04 +00:00
skrll
31ae2838fd Trailing whitespace 2017-12-20 14:58:08 +00:00
skrll
cd5e140374 G/C 2017-12-20 14:51:40 +00:00
skrll
4fa3951c55 G/C 2017-12-20 14:35:12 +00:00
wiz
d00a8be0d1 Fix xref. Remove unnecessary Tn. 2017-12-20 10:01:38 +00:00
wiz
9045582bde Fix xref, remove trailing comma and whitespace. 2017-12-20 09:58:36 +00:00
msaitoh
d914ba985a Don't panic when resource shortage occured. Fixes PR#52820 reported by
kardel@:
 - Don't use if_free() because ixgbe(4) don't use if_alloc().
 - Move location of {ixgbe,ixv}_setup_interface() call at a position that
   any error don't occur. One of the reason is that it should be. Another
   reason is that it's hard to call ether_ifdetach() and if_detach() when
   cold == 1 (because of pserialize_perform, xc_wait, timing of domaininit
   and maybe more).
2017-12-20 08:51:42 +00:00
skrll
90f156933a Fix the logic around TT Hub Slot ID, TT Port Number and Multi-TT in
xhci_setup_tthub.  TT Hub/Port need to reference the upstream HS hub and
Multi-TT needs to reflect the capabilities of a HS hub itself or the same
upstream HS hub.
2017-12-20 08:21:11 +00:00
rin
a39a50f8ad Disable compat stuffs that are accidentally accidentally added to rev 1.33.
Now INSTALL kernel fits within 5MB again.
2017-12-20 08:10:13 +00:00
msaitoh
32acce79ea rt_init() in a comment must be rh_init(). Fix it. 2017-12-20 05:27:06 +00:00
maya
854802fe20 Pass LDFLAGS to ld.
Without this, mips64-ld thinks we want to link our n64 objects with the
default ABI, n32.
2017-12-20 04:46:19 +00:00
pgoyette
5c1f1a6d42 Provide the real width of the MODULE_CLASS_xxx table's first column. 2017-12-20 03:24:56 +00:00
kamil
bd67a18891 Try to correct removal of <sys/vadvise.h> 2017-12-20 00:07:55 +00:00
kamil
0dc35e09f1 Document SYS_vadvise removal in doc/CHANGES
ovadvise: Remove the old vadvise syscall

Sponsored by <The NetBSD Foundation>
2017-12-19 19:58:37 +00:00
kamil
102875f88e Drop SYS_vadvise
The (o)vadvise syscall is dummy since the beginning of NetBSD.

It is an obsolete remnant from the old UNIX.

Sponsored by <The NetBSD Foundation>
2017-12-19 19:40:03 +00:00
kamil
c7fbece140 compat/ultrix: Drop SYS_vadvise
The (o)vadvise syscall is dummy since the beginning of NetBSD.

Sponsored by <The NetBSD Foundation>
2017-12-19 19:20:30 +00:00
kamil
3805245bdb compat/sunos32: Drop SYS_vadvise
The (o)vadvise syscall is dummy since the beginning of NetBSD.

Sponsored by <The NetBSD Foundation>
2017-12-19 19:19:50 +00:00
kamil
7c821851a7 compat/sunos: Drop SYS_vadvise
The (o)vadvise syscall is dummy since the beginning of NetBSD.

Sponsored by <The NetBSD Foundation>
2017-12-19 19:19:16 +00:00
kamil
124aa7a756 compat/freebsd: Drop SYS_vadvise
The (o)vadvise syscall is dummy since the beginning of NetBSD.

Sponsored by <The NetBSD Foundation>
2017-12-19 19:18:18 +00:00
kamil
146ecadb3f compat/aoutm68k: Drop SYS_vadvise
The (o)vadvise syscall is dummy since the beginning of NetBSD.

Sponsored by <The NetBSD Foundation>
2017-12-19 19:17:17 +00:00
kamil
14e08b00f3 Deregister (o)vadvise from gdb & gdb.org: ppc/emul_netbsd
The (o)vadvise syscall is dummy since the beginning of NetBSD.

Sponsored by <The NetBSD Foundation>
2017-12-19 19:13:30 +00:00
kamil
e7cd85e5b1 Drop <sys/vadvise.h>
The (o)vadvise syscall is dummy since the beginning of NetBSD.

Sponsored by <The NetBSD Foundation>
2017-12-19 19:10:13 +00:00
kamil
b70c7b15bc Drop share/man/tools/missing
This is a remnant from the 4.4BSD-Lite2 import (1992).

It notes old tools: vadvise(2) obsolete syscall.
vplot(1) & vsort(1) were never implemented on NetBSD.

Sponsored by <The NetBSD Foundation>
2017-12-19 19:04:12 +00:00
kamil
789df53213 Deregister TR_VADVISE from sys/sys/trace.h
The (o)vadvise syscall is dummy since the beginning of NetBSD.

Sponsored by <The NetBSD Foundation>
2017-12-19 18:47:58 +00:00
kamil
8a69d50880 Deregister vadvise.S from lib/libc/sys/Makefile.inc
Such file was never registered since the inception of NetBSD.
The (o)vadvise is dummy since the beginning of NetBSD.

Sponsored by <The NetBSD Foundation>
2017-12-19 18:43:42 +00:00
kamil
72ca44af92 Document SYS_sbrk removal in doc/CHANGES
sbrk: Remove the "data section size change" syscall

Sponsored by <The NetBSD Foundation>
2017-12-19 18:37:39 +00:00
kamil
885229d011 Drop SYS_sbrk
sbrk - change data segment size

This syscall is dummy since the inception of the project.

Sponsored by <The NetBSD Foundation>
2017-12-19 18:34:47 +00:00