Commit Graph

277854 Commits

Author SHA1 Message Date
maxv
61584588ce kernel_sanitizers.7 2020-06-23 16:08:46 +00:00
msaitoh
b08ea1183c Regen. 2020-06-23 14:35:59 +00:00
msaitoh
6705c5b537 Add some Microsemi (Vitesse) devices. 2020-06-23 14:35:36 +00:00
wiz
c6cc6b9db4 Use Nm. 2020-06-23 14:08:01 +00:00
nia
44bd074d70 cgdconfig.8: remove references to using cgd for swap
this is potentially misleading now that the kernel does swap encryption
2020-06-23 13:23:56 +00:00
nia
4e9ba6e816 cgdconfig.8: Reflect actual behaviour of /dev/(u)random 2020-06-23 13:20:14 +00:00
martin
a9db28a254 Make this work on big endian machines 2020-06-23 10:09:33 +00:00
martin
4a198ac36d Pass the name of the compressor actually used for sets to groff and use
it in the content description (XXX need to adapt a few more copies in,
as of now, unaffected architectures)
2020-06-23 06:28:01 +00:00
msaitoh
7ee9bc8a0e KNF. No functional change. 2020-06-23 05:50:01 +00:00
simonb
a754707195 Support EdgeRouter 4.
Only set RGMII timing params on boards with RGMII.
2020-06-23 05:19:12 +00:00
simonb
8acfb7e9c3 Add support for a very simple output-only console so early printf() can work.
Minor tweaks, remove some unused code.
2020-06-23 05:18:43 +00:00
simonb
f954386378 Make sure we only attach to CN3xxx/CN5xxx.
Cleanup - mostly removing unused code.
2020-06-23 05:18:28 +00:00
simonb
092c6bf70a Redo cnmac attachments - cnmacM @ gmxN @ pip0 @ iobus 2020-06-23 05:18:02 +00:00
simonb
dbc0da6798 Redo cnmac attachments - cnmacM @ gmxN @ pip0 @ iobus
Support SGMII mode used on CN70XX.
Most functional changes from OpenBSD octeon port.  Still more to come from
the OpenBSD driver.
2020-06-23 05:17:13 +00:00
simonb
7cfbdc5be9 Cleanup - mostly removing unused code and defines. 2020-06-23 05:15:33 +00:00
simonb
f92c0ec462 Don't include "opt_octeon.h" any more. 2020-06-23 05:14:39 +00:00
simonb
eb61b5028b Minor tweaks and cleanup. 2020-06-23 05:14:18 +00:00
simonb
41ce60190e Remove unused include files. 2020-06-23 03:09:35 +00:00
simonb
e19af2c14d Remove USB controller register definitions, these match dwc2 core and
weren't used anyway.
2020-06-23 03:08:11 +00:00
simonb
1ddc266eed Remove unused octeon*usb*var*h includes. 2020-06-23 03:07:47 +00:00
christos
d17d6789f7 remove unneeded ifdefs 2020-06-22 22:43:56 +00:00
sjg
5ce4588a7c dieQuietly: ignore OP_SUBMAKE
Stick to OP_MAKE for deciding when to supress noise
as OP_SUBMAKE can be too aggressive.

Reviewed by: gson
2020-06-22 20:15:25 +00:00
christos
104994135b Always compile in v8 support. 2020-06-22 19:56:36 +00:00
christos
76972ec9cb reduce diff with upstream. we always compile with v8 assembly and
detect at runtime.
2020-06-22 19:55:43 +00:00
jdc
89a70cea1b Add sedetach() and also use it to remove duplicate code from seattach().
Correct a comment about sedone().
2020-06-22 17:38:27 +00:00
maxv
cbaed85b4c pfil_psz gets dropped by the compiler because it is unused if !NET_MPSAFE,
so add an #ifdef around it, not to leak memory. Found by kLSan.
2020-06-22 16:39:56 +00:00
christos
f372d530aa use the C version of keccak 2020-06-22 16:34:57 +00:00
maxv
6b1289230e Don't leak an unused sysctl log. Found by kLSan. 2020-06-22 16:29:24 +00:00
christos
9365305b9e regen 2020-06-22 16:26:52 +00:00
christos
20a155e502 Regen and disable keccak asm 2020-06-22 16:26:29 +00:00
christos
388ed38b51 Revert the conditional use of vsx on keccak. Upstream wants to disable it
instead (dot-asm:
So that both assembly modules export SHA3_absorb_vsx... Either way,
it makes lesser sense to deploy vector keccak1600p8-ppc.pl, because
benefits are not that clear. It's only nominally faster than scalar
module on POWER8 but significantly slower on POWER9. Because POWER9
is better equipped to handle non-vector code. On related note,
there is version optimized for little-endian, as well as 32-bit
version. [And since MIPS was mentioned, there is even MIPS module...]
2020-06-22 16:25:08 +00:00
maxv
7040dfd053 Permanent node doesn't need a log, plus the log gets leaked anyway. Found
by kLSan.
2020-06-22 16:21:29 +00:00
maxv
7ca8eb7db5 Fix memory leak. Found by kLSan. 2020-06-22 16:14:18 +00:00
jdc
667989418c Use workqueues so that we don't call into the scsipi subsystem via
a softint from the network stack.
Don't recurse through scsipi_command() when we have multiple packets
in the send queue - use a loop instead.  This means that we no longer
need sestart(), as we can now handle everything in sedone().
Fix a couple of XXX's.
Rework the locking logic slightly from the previous revision.
Now this works with DIAGNOSTIC+LOCKDEBUG.
2020-06-22 16:05:20 +00:00
fcambus
832eb6ac89 Fix filenames for vt220* wscons fonts listed in COPYRIGHT.
The extension of uuencoded files on disk is ".uue".
2020-06-22 15:07:11 +00:00
sevan
4a5c4309be Add Quake's birthday
https://twitter.com/romero/status/1275026229524074496
2020-06-22 13:20:15 +00:00
simonb
0c0327e985 Remove more snprintb _BITS bits. 2020-06-22 12:26:11 +00:00
rin
c3c8ab8893 Work around QEMU bug #1668041 differently, by which floating-point
division by zero is not correctly trapped for i386 and amd64:

https://bugs.launchpad.net/qemu/+bug/1668041

Make trigger_fpe() cause integer division by zero for x86, and
floating-point one for other architectures. Also, assertions for
si_code in *_crash_fpe tests are commented out for now. They
should be cleaned up after the bug is fixed.

Now, *_crash_fpe tests are working also on powerpc.

Suggested by kamil.
2020-06-22 12:21:02 +00:00
maya
76dccf74d6 Mention that USE_XZ_SETS are either always xzipped, and in evbarm might
be xzipped or gzipped.
2020-06-22 12:03:46 +00:00
msaitoh
9007cd7213 s/successfuly/successfully/ in comment. No functional change. 2020-06-22 07:50:53 +00:00
rin
d1e359b744 Fix do_blocklist:
- Respect destination directory specified by -d option.
- Accept check and fix options. For the former, do not modify anything as
  users normally expect.
2020-06-22 06:55:41 +00:00
rin
bda9e4fdad Turn on _UC_TLSBASE for sure in the same manner as other ports.
No functional changes since that flag is turned on via getcontext(2).
2020-06-22 06:49:04 +00:00
rin
04db2721f7 Fix previous; hide userland ABI details for kernel as suggested by joerg:
http://mail-index.netbsd.org/source-changes-d/2020/06/21/msg012745.html

- Revive __lwp_settcb(), and call _lwp_setprivate(2) from it.

- Keep l_private opaque pointer for kernel; store raw value of %r2 in it.
  In the previous commit message, I wrote,

http://mail-index.netbsd.org/source-changes/2020/06/21/msg118524.html

> - Make sure that, like other ports, l_private represents address of tcb,
>   not biased one as in %r2.

  but, it turned out to be wrong. mips stores a biased address, at least.
  It is userland responsibility to interpret returned values from
  lwp_getprivate(2).
2020-06-22 05:34:57 +00:00
rin
e600613d80 Add missing ./usr/share/installboot/evbmips. 2020-06-22 03:16:29 +00:00
rin
09b1c677c0 Add missing Makefile. 2020-06-22 03:15:48 +00:00
simonb
13d5e9b5fa Remove unused snprintb format strings. 2020-06-22 03:05:07 +00:00
rin
27ca840a21 Turn trigger_fpe() back to integer division by zero for a while
until QEMU bug #1668041 is fixed:

https://bugs.launchpad.net/qemu/+bug/1668041

by which floating-point division by zero is not trapped correctly
both on amd64 and i386.

Skip *_crash_fpe tests on powerpc, where integer division by zero
is never trapped.
2020-06-22 02:51:06 +00:00
simonb
09773f5b6c Remove unmaintained CNMAC_DEBUG debug code. 2020-06-22 02:26:19 +00:00
lukem
c72411c4b5 bsd.dep.mk: revert 1.85 (for now)
Revert my recent 1.85 revision that fixed "make tags".  It causes too
much build breakage elsewhere in the tree that needs to be resolved first.

Issues include:
- Directories using TESTS_CXX with .cpp and .cxx extension instead of the
  default .cc extension (see bsd.prog.mk). Most of these have been fixed.
- external/gpl3/gcc build of .cc files. (No idea what's wrong there).
2020-06-22 01:04:26 +00:00
jmcneill
df9efd08f1 evbarm: Added boot.cfg support to efiboot 2020-06-21 23:53:59 +00:00