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
christos
f8bd60ee57
PR/51891: Ngie Cooper: use sys/disklabel.h instead of machine/disklabel.h
2017-01-16 16:31:05 +00:00
christos
78c0e08e9b
PR/51885: Ngie Cooper: Add delays to avoid races.
2017-01-16 16:29:54 +00:00
christos
2d6ff91c6a
PR/51884: Ngie Cooper: Include and message fixes
2017-01-16 16:29:19 +00:00
christos
9ac9a14dec
PR/51886: Ngie Cooper: Use _exit instead of exit
2017-01-16 16:28:27 +00:00
christos
75e7228cd4
PR/51887: Ngie Cooper: Include and error message fixes
2017-01-16 16:27:43 +00:00
christos
138b5d077b
PR/51890: Ngie Cooper: include and error message fixes.
2017-01-16 16:27:06 +00:00
christos
ab92520e8c
PR/51888: Ngie Cooper: more error checking, missing includes
2017-01-16 16:23:41 +00:00
christos
17284898e1
PR/51889: Ngie Cooper: add sys/time.h
2017-01-16 16:22:22 +00:00
christos
97e4301caa
use in6_print
2017-01-16 15:46:19 +00:00
christos
35561f6b22
ip6_sprintf -> IN6_PRINT so that we pass the size.
2017-01-16 15:44:46 +00:00
christos
fcb36c6a50
really, use.
2017-01-16 15:44:05 +00:00
christos
f068397dd4
rename arplog -> ARPLOG to make it clear that it is a macro and tuck-in the
...
buffer used for address formatting.
2017-01-16 15:14:16 +00:00
njoly
5b1c9fdbe9
Last Nm macro line must not end with a comma.
2017-01-16 12:54:25 +00:00