Commit Graph

254949 Commits

Author SHA1 Message Date
mrg
73e04a4535 note some bits no longer present in SuperSPARC-II. 2017-12-01 22:57:07 +00:00
mrg
9754dd2ae1 allow EXTERNAL_GCC_SUBDIR to be overriden. 2017-12-01 22:48:00 +00:00
mrg
be18dbc420 normalise some indentation. NFC. 2017-12-01 22:47:06 +00:00
christos
37d4245424 don't suspend other threads if we are resuming. 2017-12-01 22:22:40 +00:00
christos
0846ccb7dd Remove more FreeBSD code that we don't need and change some FreeBSD -> NetBSD 2017-12-01 22:20:44 +00:00
christos
a24bbe3e3b Back to stepping everyone. 2017-12-01 22:19:59 +00:00
christos
cda18e6671 get the debugging registers for the specific thread. 2017-12-01 22:15:17 +00:00
joerg
c08407dd01 Unbreak Linux emulation by default. While not loading it automatically
is somewhat sensible, breaking functionality of GENERIC is not and has
been objected to on a regular base.
2017-12-01 22:14:52 +00:00
maxv
a272c0f7a0 Don't even bother with the trap frame, and force the default values. 2017-12-01 21:22:45 +00:00
rin
1597af3dd8 Compare ap->len wide chars, not ap->len bytes. 2017-12-01 20:01:31 +00:00
christos
10b27c7544 Allow attaching for write, but return no events. 2017-12-01 19:05:49 +00:00
christos
8f78c8577a belated bump for fileops struct size change. 2017-12-01 19:04:19 +00:00
christos
a6510c8d12 Allow procfs_kqfilter, since we allow poll. "go" does it. 2017-12-01 19:01:34 +00:00
rin
c14a835e62 Check format strings for ex_printf. 2017-12-01 18:39:49 +00:00
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