Commit Graph

277927 Commits

Author SHA1 Message Date
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
jmcneill
2b6ae1af1d Add boot.cfg support. 2020-06-21 23:53:26 +00:00
chs
b906de5d01 avoid the use of UVM internals in the iscsi ioctl code.
copyin/out are fine in this context.
2020-06-21 23:08:16 +00:00
christos
f67c3d4d13 Revert to the upstream version 2020-06-21 22:17:35 +00:00
christos
89e0a7cfa4 Revert to the upstream version, there are no more warnings 2020-06-21 22:16:53 +00:00
christos
2247b70a62 regen 2020-06-21 22:16:16 +00:00
christos
839917e6b8 Re-enable the v9 testing and assembly 2020-06-21 22:16:08 +00:00
jmcneill
62a169693c If calling d_minphys on the parent disk device, make sure we use the
parent disk device's dev_t. Fixes zfs on wedges on ld(4).

XXX pullup-9
2020-06-21 21:29:11 +00:00
thorpej
8025a6eb14 Add additional sunxi boards:
- libretech,all-h3-cc-h2-plus
- libretech,all-h3-cc-h3
- libretech,all-h3-cc-h5
2020-06-21 19:39:11 +00:00
jmcneill
d9b7e5ed4b evbarm: Add support for loading modules with the bootloader. 2020-06-21 17:26:15 +00:00
jmcneill
7df551d1f1 Add support for installing modules that were loaded by the bootloader. 2020-06-21 17:25:03 +00:00
jmcneill
8a3f4052df Add module support. 2020-06-21 17:24:26 +00:00
thorpej
696896edc9 Add evbmips support for u-boot handling. 2020-06-21 17:17:01 +00:00
thorpej
2d473240cd Add evbmips installboot board data. 2020-06-21 17:15:51 +00:00
bouyer
524585b281 On amd64, Xen PV calls syscalls and traps with events enabled.
Disable events on entry to be safe.
It should have been mostly safe for most cases, but for FPU traps
we need to reload the FPU state if we got interrupted at trap entry.

Hopefully fixes:
panic: kernel diagnostic assertion "curlwp->l_md.md_flags & MDL_FPU_IN_CPU" failed: file "/home/source/ab/HEAD/src/sys/arch/x86/x86/fpu.c", line 524

when running tests.
2020-06-21 16:57:18 +00:00
thorpej
10311849cd Add several boards:
- terasic,de0-atlas
- asus,rk3288-tinker
- nvidia,p3450-0000
- ti,omap4-panda
- ti,omap4-panda-es
- olimex,a20-olinuxino-lime2
- olimex,a20-olinuxino-lime2-emmc
- olimex,a20-olinuxino-micro
- olimex,a20-olinuxino-micro-emmc
- digilent,zynq-zybo
- digilent,zynq-zybo-z7

Update the nvidia,p2771-0000 description to match recent DTS.

Fix u-boot package name for cubietech,cubietruck-plus.
2020-06-21 16:53:57 +00:00
bouyer
c1ac8a4142 Fix comment 2020-06-21 16:53:37 +00:00
skrll
369437944b Remove all paltforms 2020-06-21 16:33:34 +00:00
fcambus
97327c3fb1 Update Spleen kernel fonts to version 1.7.1, bringing the following
improvements:

- Remove strain pixel on the '5' digit (5x8 version)
- Improve the Esszet character (8x16, 12x24, 16x32, and 32x64 versions)
2020-06-21 15:48:17 +00:00
roy
f236a33b97 libterminfo: cast to uint16/32_t before conversion to preserve negativity
Otherwise the ABSENT_NUMERIC(-1) or CANCELLED_NUMERIC(-2) will be converted
incorrectly to size_t and then down to uint16/32_t.
Picked up by DIAGNOSTIC builds.

Thanks to Michael Forney for the fix for PR lib/52293.
2020-06-21 15:05:23 +00:00
lukem
9afb92341a kyua-cli: avoid warning about deprecated auto_ptr 2020-06-21 14:26:16 +00:00
lukem
ac33d8c71a lutok; fix build of c++ tests 2020-06-21 14:12:50 +00:00
lukem
456534299b lutok; fix strncpy -Wstringop-truncation warning 2020-06-21 14:11:54 +00:00
lukem
894e537a2e fix build of atf .cpp files 2020-06-21 13:59:56 +00:00
lukem
caf254b942 document PROGS and PROGS_CXX, and default c++ SRCS 2020-06-21 13:29:05 +00:00
simonb
4812f381d8 Fix tyop. 2020-06-21 08:02:43 +00:00
skrll
924ff83bcc Update to new proplib api 2020-06-21 07:17:25 +00:00
skrll
2ed30f4eef Use howmany(). NFCI. 2020-06-21 07:14:15 +00:00