Commit Graph

248028 Commits

Author SHA1 Message Date
msaitoh
0550741baf Reduce diff against FreeBSD. No functional change. 2017-01-19 06:56:33 +00:00
riastradh
1bb116aef4 Add and tweak some cryptography entries. 2017-01-19 03:39:16 +00:00
riastradh
1ec482895b NFCI no functional change intended
(Not to be taken literally about this commit!)
2017-01-19 03:25:34 +00:00
maya
58dc54ad55 use a bounded copy. NFCI 2017-01-19 00:44:40 +00:00
abhinav
b11187186d Fix couple of typos:
s/intractible/intractable
	s/contiuously/continuously
2017-01-18 22:38:00 +00:00
abhinav
fc37131283 Fix typo: s/forwared/forwarded
Also remove full stop from the date.
2017-01-18 22:07:25 +00:00
macallan
a54bdd15c3 be more specific when identifying SuperSPARC CPUs 2017-01-18 21:33:25 +00:00
skrll
8e8c8cde38 Remove xhci... It exists. It works (ymmv). It can be improved, but it
doesn't needed an entry here.
2017-01-18 18:39:56 +00:00
dholland
03b44d3b7e Withdraw the 36-bit port item. While there's always interest in it
when the idea comes up on the list, there's also a feeling that
quixotic and/or crazy projects shouldn't be on roadmaps. Which seems
reasonable.
2017-01-18 18:22:13 +00:00
riastradh
e733120912 DNFT: do not feed troll 2017-01-18 17:29:52 +00:00
kamil
a9f3841b89 Fix bug with swapped event type and register that fired in hw watchpoints
Swap bits for DR_EVENT_MASK and DR_REGISTER_MASK.

Sponsored by <The NetBSD Foundation>
2017-01-18 12:15:21 +00:00
msaitoh
a4e39c40a5 Now we can use multiqueue. It's default on ixg(4). Not yet for ixv(4). 2017-01-18 10:22:09 +00:00
msaitoh
2762144f22 Fix sysctl stuff. Make the top sysctl node and keep the pointer. 2017-01-18 10:18:40 +00:00
msaitoh
54d6c9b3dd Use 64bit DMA tag. If not, a lot of bounce buffer is allocated.
Fixes PR#49968 reported by Hauke.

XXX pullup-[67].
2017-01-18 08:23:03 +00:00
msaitoh
0247a69087 Call ixgbe_free_transmit_buffers instead of ixgbe_free_transmit_structures()
in ixgbe_allocate_transmit_buffers()...
2017-01-18 08:15:22 +00:00
msaitoh
17c7589339 - Move __DDR4_VALUE()'s comment to the correct position.
- s/ftp/ftb/. No functional change.
2017-01-18 06:02:50 +00:00
kamil
c8f1c6f9bd Remove assert that Debug Registers are not mixed with Debug Trap Flag
New code is designed to mix them.

Sponsored by <The NetBSD Foundation>
2017-01-18 05:48:16 +00:00
kamil
3a94491317 Use siginfo_t to validate tests/kernel/arch/amd64/t_ptrace_wait*
This change makes sure that the fired expected watchpoint with expected
property. It's done with PT_GET_SIGINFO and checking SIGTRAP codes.

Sponsored by <The NetBSD Foundation>
2017-01-18 05:14:34 +00:00
kamil
ec5d7d9cb0 Embed hardware trap and its type that fired (x86), information for tracers
Now x86 throws SIGTRAP on hardware exception with:
 - si_code TRAP_HWWPT - dedicated for hw assisted watchpoint interface
 - si_trap - unchanged (T_TRCTRAP)
 - si_trap2 - watchpoint number that fired
 - si_trap3 - watchpoint specific event description

x86 returns in si_trap3 one of the field from <x86/dbregs.h>
 - X86_HW_WATCHPOINT_EVENT_FIRED - watchpoint fired
 - X86_HW_WATCHPOINT_EVENT_FIRED_AND_SSTEP - watchpoint fired under PT_STEP

Othe changes:
 - restrict more code from <x86/dbregs.h> to _KERNEL

Sponsored bt <The NetBSD Foundation>
2017-01-18 05:11:59 +00:00
matt
2f6f26dc42 Resort _MKVARS.no 2017-01-18 02:33:25 +00:00
maya
c5ec162c1e use ULL so this doesn't break on 32bit builds... sorry 2017-01-17 15:28:34 +00:00
maya
7fdafde935 define constants as being wider than int when needed, instead of casting
them at use. makes compilers happier.
2017-01-17 13:13:07 +00:00
christos
e145362bfe use the full attribute syntax 2017-01-17 12:49:26 +00:00
christos
0133d15da2 use the full attribute syntax. 2017-01-17 12:48:39 +00:00
rin
e74052dd12 avoid conversion warnings 2017-01-17 11:09:36 +00:00
joerg
86b4c819bd Don't randomly break the build and restrict -Wsystem-headers to gcc. 2017-01-17 11:09:10 +00:00
rin
b31d312c15 remove unnecessary cast, KNF 2017-01-17 11:08:50 +00:00
nonaka
bddf7a6879 show NVM channel flags when AB_DEBUG is set. 2017-01-17 08:47:32 +00:00
nonaka
63c8577cf9 more acknowledge interrupts from iwn(4). 2017-01-17 08:44:31 +00:00
nonaka
e03f4ee532 only bus_dmamap_sync(9) once for ICT region. 2017-01-17 08:35:16 +00:00
ozaki-r
d1f021a6c8 Fix build (undefined reference to `rumpns_pfil_init' on usr.sbin/puffs/rump_nfs) 2017-01-17 08:10:37 +00:00
ozaki-r
6e752b2732 Fix typo in comments 2017-01-17 07:53:06 +00:00
christos
e925f9654a call pfil_init() here. 2017-01-17 02:03:09 +00:00
christos
978ea67b20 pfile_init earlier (not here) 2017-01-17 02:02:27 +00:00
ozaki-r
7774af0520 Fix unlocking in vioif_rx_filter 2017-01-17 01:25:21 +00:00
ozaki-r
fc198510fe Fix build w/ SCTP and w/o SCTP_DEBUG 2017-01-17 01:24:44 +00:00
snj
e85ee5b10c expat 2.2.0 is out 2017-01-16 23:22:19 +00:00
kamil
4e1719ea5b Refactor ptrace_watchpoint structure to allow extensions
Add new field pw_type in the ptrace_watchpoint structure.

amd64 and i386 offer the current set of watchpoints as
PTRACE_PW_TYPE_DBREGS.

On other archs than x86, there are readily available different types of
hardware assisted watchpoints like for code-only or data-only registers on
ARM. Also in future there is an option to implement MMU-based watchpoints
and future per-port or per-cpu extensions.

Next step is to alter this interface on x86 to generate SIGTRAP with
si_code TRAP_HWWTRAP with additional information on occurred event:
 - which watchpoint fired,
 - additional watchpoint-type specific information, like on amd64 with
   PTRACE_PW_TYPE_DBREGS.:
   * only watchpoint fired
   * watchpoint fired and single step occurred

Adjust ATF tests for the pw_type change.

Sponsored by <The NetBSD Foundation>
2017-01-16 21:35:59 +00:00
kamil
9af7d0e4dc Allow to mix single-step with hardware assisted watchpoints on amd64
This case needs new handling in trap recognition.

Sponsored by <The NetBSD Foundation>
2017-01-16 21:19:35 +00:00
kamil
fb28c5a53a Allow to mix single-step with hardware assisted watchpoints on i386
This case needs new handling in trap recognition.

Sponsored by <The NetBSD Foundation>
2017-01-16 21:19:14 +00:00
christos
a8c3505052 add _PATH_DEVZERO 2017-01-16 19:15:28 +00:00
christos
acb4286257 beware of your shadow 2017-01-16 19:07:06 +00:00
christos
410aba1317 regen 2017-01-16 17:43:04 +00:00
christos
80aefa4595 Add a Makefile to rebuild the syscall files for all emulations 2017-01-16 17:42:52 +00:00
christos
0fc3f96241 Descend 2017-01-16 17:39:59 +00:00
christos
0d68035eb2 descend and regen 2017-01-16 17:39:22 +00:00
christos
b7c1b04b01 Don't re-define rules for subdir Makefile 2017-01-16 17:37:29 +00:00
christos
7eebfad669 PR/51894: Ngie Cooper: Use /dev/zero to read instead of stdin 2017-01-16 16:35:57 +00:00
christos
6d9b7137e8 PR/51893: Ngie Cooper: prevent toolchain from optimizing out memset call 2017-01-16 16:34:24 +00:00
christos
424ba067d9 PR/51892: Ngie Cooper: add __unused to osi in the sigaction handler 2017-01-16 16:32:13 +00:00