Commit Graph

254935 Commits

Author SHA1 Message Date
rin
a90a8d8c63 Remove ex_printf duplicate with ex_extern.h. 2017-12-01 18:35:58 +00:00
jmcneill
7b8150dfa0 More fixes for new emac bindings. 2017-12-01 17:47:51 +00:00
ginsbach
3906a44676 PR misc/52776: Nikolai Lifanov: add definitions for EA, MVP 2017-12-01 17:19:01 +00:00
kre
e55c81dc8f Since there has been no objection (or even comment) in response
to my message on tech-userlevel ...

    Subject: tests/lib/libpthread/t_mutex:mutex6
    Date: Thu, 23 Nov 2017 17:34:54 +0700
    Message-ID: <28385.1511433294@andromeda.noi.kre.to>

which can be found at:
	http://mail-index.netbsd.org/tech-userlevel/2017/11/23/msg011010.html

which analysed the mutex6 test case of this test, and concluded
that it was useless, nonsense, and broken (the whole test is just a
race - not even really using or testing mutexes), let it be henceforth
forever gone.
2017-12-01 13:25:29 +00:00
ozaki-r
50228de8cd Don't touch an SP without a reference to it 2017-12-01 06:34:14 +00:00
kre
3772e94e67 Since the C standard allows for intermediate floating results to contain
more precision bits than the data type expects, but (kind of obviously)
does not allow such values to be stored in memory, expecting the value
returned from strtod() (an intermediate result) to be identical (that is,
equal) to a stored value is incorrect.

So instead go back to checking that the two numbers are very very close.
See comments added to the test for more explanation.
2017-12-01 01:08:35 +00:00
jmcneill
7a7042c117 Re-add this, it is still needed for simplefb 2017-11-30 21:39:35 +00:00
jmcneill
a2db71c689 Switch to new emac bindings for H3 boards 2017-11-30 21:36:45 +00:00
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