Commit Graph

247995 Commits

Author SHA1 Message Date
skrll
c8226a8b4f Fix build 2017-01-20 09:45:13 +00:00
wiz
857253ed15 Bump date for previous. 2017-01-20 08:48:14 +00:00
ozaki-r
ac86ae25b9 Protect if_clone data with if_clone_mtx
To this end, carpattach needs to be delayed from RUMP_COMPONENT_NET to
RUMP_COMPONENT_NET_IF on rump_server. Otherwise mutex_enter via carpattach
for if_clone_mtx is called before mutex_init for it in ifinit1.
2017-01-20 08:35:33 +00:00
skrll
fd0caf00f0 Simplify getiobuf. buf_init already does bp->b_objlock == &buffer_lock 2017-01-20 08:16:31 +00:00
kre
786e74973e Add missing ; - hopefully unbreak build. 2017-01-20 03:16:40 +00:00
maya
51e513912f don't memcpy overlapping buffers, use memmove.
this is undefined behaviour.
CID 1299069
2017-01-20 02:25:24 +00:00
maya
684d309ff5 kassert that we aren't overflowing the array.
this assert isn't expected to trigger due to current parameters used, but
to be sure, check.
2017-01-20 02:22:42 +00:00
maya
15149c9a42 increase max io mem on amd64. some devices need it. 2017-01-20 00:29:28 +00:00
macallan
47461d25a7 build EXA support 2017-01-19 23:51:16 +00:00
skrll
511bceb832 Fix build 2017-01-19 20:35:44 +00:00
rmind
60a0ec10c4 npfctl:
- Add protocol filter option for "map".
- Print user-friendly error if table contains an entry with invalid netmask.
- Add support for inline ports.
2017-01-19 20:18:17 +00:00
ginsbach
4b67ed80af Add single and multi-mode fiber 2017-01-19 19:09:06 +00:00
skrll
9bddfd430c Pull across xhci(4) improvemnts from nick-nhusb 2017-01-19 16:05:00 +00:00
nonaka
9b15e1338b newstate should be blocked network interrupt, because it called iwm_start. 2017-01-19 11:24:05 +00:00
maya
ee1a6ca658 restrict psabi warning hack to gcc, it doesn't exist in clang.
should help i386 llvm builds
2017-01-19 11:10:38 +00:00
msaitoh
36d81a0e58 Reduce diff against FreeBSD. No functional change. 2017-01-19 09:42:08 +00:00
ozaki-r
8d757e7177 Disable rt_update mechanism by default
This is a workaround for PR kern/51877. Enable again once the issue
is fixed.
2017-01-19 06:58:55 +00:00
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