jmcneill
33381db08a
Add support for new emac bindings
2017-11-30 21:36:11 +00:00
jmcneill
5a3c5ae476
Set twi clock based on parent clock, and fix register remapping for writes.
2017-11-30 20:41:21 +00:00
christos
ea05286d92
add fo_name so we can identify the fileops in a simple way.
2017-11-30 20:25:54 +00:00
jmcneill
3a3fcbf0f7
Remove legacy awin kernels from image
2017-11-30 19:55:47 +00:00
jmcneill
db2dcdb34a
Unhook BPI, CUBIEBOARD, and CUBIETRUCK kernels from the build (use SUNXI kernel now)
2017-11-30 19:54:50 +00:00
jmcneill
d5b68ef47d
Add sun4i and sun7i DTS files to the build.
2017-11-30 19:52:23 +00:00
jmcneill
daf2d387d0
dts updated to 4.15-rc1
2017-11-30 19:49:31 +00:00
jmcneill
e950a255ed
add sun8i-a83t-tbs-a711.dts and sun8i-h3-nanopi-m1-plus.dts
2017-11-30 19:48:44 +00:00
christos
888e2fefae
add more DW_ATE_ constants
2017-11-30 19:45:53 +00:00
jmcneill
fd38d326e0
merge conflicts
2017-11-30 19:42:58 +00:00
jmcneill
6cafeaff4f
Import dts from Linux 4.15-rc1
2017-11-30 19:40:49 +00:00
maxv
24d8fe75c0
If no auxv is present, don't kmem_alloc(0). Easy to panic the kernel by
...
typing 'cat /proc/aout_pid/auxv' on whatever a.out binary you're running.
Fortunately, amd64 does not enable EXEC_AOUT by default. Unfortunately,
i386 does enable it by default.
2017-11-30 18:44:16 +00:00
jmcneill
103c5d09b6
report VLAN MTU capability
2017-11-30 18:29:25 +00:00
wiz
2daf92edc4
Add riastradh's man pages for sha3 and friends.
...
Commented out since the symbols themselves are not yet public.
2017-11-30 16:00:48 +00:00
wiz
7f40156188
Sync (dead) usage with man page.
2017-11-30 15:42:18 +00:00
christos
e88cf2b79b
Switch to FreeBSD's native implementation for threads.
2017-11-30 15:26:54 +00:00
skrll
d8786e96b3
typo
2017-11-30 14:51:01 +00:00
skrll
f0ae4fbddc
When attaching gtmr at fdt use fdtbus_intr_establish to establish the
...
gtmr interrupt.
2017-11-30 14:50:34 +00:00
skrll
91893f44c9
Handle NULL arg interrupt handlers that want the clock frame.
2017-11-30 14:42:37 +00:00
christos
52eec12892
Put previous removed diagnostic back as debug. It has caught in the past
...
(and now) different kqueue behavior between NetBSD and other kqueue
implementations that depend on specific file types. If 3rd party programs
trigger this it is probably because we are doing something different.
2017-11-30 14:19:27 +00:00
jmcneill
93f4207530
add qemufwcfg(4)
2017-11-30 11:56:45 +00:00
msaitoh
32c3d94681
- 82583 supports jumbo frame. Fixes PR#52773 reported by Shinichi Doyashiki.
...
- Cleanup comment.
2017-11-30 09:24:18 +00:00
martin
4410df3e34
Add the new sha3.h file
2017-11-30 08:14:03 +00:00
riastradh
51b6971009
Remove spammy kevent failure printf.
...
Maybe this was once useful for debugging the kernel, but it's just
console spam triggered by buggy or malicious userland programs now.
2017-11-30 05:52:40 +00:00
riastradh
969998948d
Import SHA-3 code into libc and libkern.
...
No new public symbols in libc, but publishing the symbols is a simple
matter if/when we decide to do so.
Proposed on tech-kern and tech-userlevel with no objections:
https://mail-index.NetBSD.org/tech-kern/2017/11/11/msg022581.html
https://mail-index.NetBSD.org/tech-userlevel/2017/11/11/msg010968.html
2017-11-30 05:47:24 +00:00
msaitoh
eabdeb6557
Don't allocate MSI-X interrupt on 82583. 82583 chip has a MSI-X capability in
...
the PCI configuration space but it doesn't support it. At least the document
doesn't say anything about MSI-X. Fixes PR#52767 reported by
Shinichi Doyashiki.
XXX pullup-8.
2017-11-30 03:53:24 +00:00
christos
9362976817
clang does not like dead unused functions.
2017-11-30 03:31:08 +00:00
ozaki-r
77a9c5d845
Fix a deadlock happening if !NET_MPSAFE
...
If NET_MPSAFE isn't set, key_timehandler_work is executed with holding
softnet_lock. This means that localcount_drain can be called with holding
softnet_lock resulting in a deadlock that localcount_drain waits for packet
processing to release a reference to SP/SA while network processing is prevented
by softnet_lock.
Fix the deadlock by not taking softnet_lock in key_timehandler_work. It's okay
because IPsec is MP-safe even if !NET_MPSAFE. Note that the change also needs
to enable pserialize_perform because the IPsec code can be run in parallel now.
Reported by christos@
2017-11-30 02:45:12 +00:00
ozaki-r
0a1bc99582
Use KDASSERT for mutex_ownable
...
Because mutex_ownable is not cheap.
2017-11-30 02:43:49 +00:00
christos
f7d2582dc8
Fix 'last argument of ptrace is the thread id' on NetBSD.
2017-11-30 00:13:29 +00:00
christos
07fcd7718e
back to gdb 801
2017-11-29 22:40:45 +00:00
christos
e7c46019b7
missed one rename
2017-11-29 22:40:18 +00:00
christos
25202ef083
regen, and add more warn eliding to Makefile
2017-11-29 22:39:59 +00:00
christos
6c392f2969
we need popcount again
2017-11-29 22:39:26 +00:00
christos
ab338241ba
move gdb back to 7.12 for now
2017-11-29 21:43:21 +00:00
christos
9b2a55118a
more files
2017-11-29 21:42:45 +00:00
christos
abb9530af0
avoid re-definition
2017-11-29 21:35:26 +00:00
christos
307650b5b5
need more files
2017-11-29 21:35:16 +00:00
christos
fee235007f
make depend does not like multi-word compiler.
2017-11-29 21:22:36 +00:00
christos
f0decf0c14
mkdep does not like multi-word compiler.
2017-11-29 21:21:50 +00:00
snj
cd4a95412a
fix typo in comment
2017-11-29 20:15:21 +00:00
jmcneill
7165875eea
set IFEF_MPSAFE
2017-11-29 19:27:52 +00:00
jmcneill
8413866399
Make tap(4) MP-safe.
2017-11-29 19:21:44 +00:00
christos
ed1de532ee
switch everyone to gdb-8.0.1
2017-11-29 18:15:53 +00:00
christos
8b7331e524
regen and fix all archs (except coldfire)
2017-11-29 18:15:29 +00:00
christos
28bc8b807f
include <sys/sigtypes.h> for sigset_t
2017-11-29 17:49:03 +00:00
christos
eef57c450a
need <sys/sigtypes.h> for sigset_t
2017-11-29 17:43:20 +00:00
christos
d6c7af377b
need sigtypes.h for sigset_t, since <sys/siginfo.h> includes this directly.
2017-11-29 17:36:03 +00:00
martin
1215cf5b66
PR port-i386/52774: vioscsi missing in i386 kernel
2017-11-29 16:10:01 +00:00
wiz
6245ee13b1
mount_qemufwcfg is only installed on i386 and amd64, and so is its manpage.
...
Move it to the architecture dependent set lists.
Noted by martin.
2017-11-29 09:34:01 +00:00