Commit Graph

277854 Commits

Author SHA1 Message Date
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
lukem
a11399dd2d fix build of h_thread_local_dtor.cpp 2020-06-21 07:06:05 +00:00
lukem
a41884d4ca fix build of t_cabsl from t_cabsl.cxx
t_cabsl source is in t_cabsl.cxx not t_cabsl.cc - the latter
is what bsd.tests.mk defaults to.

This only broke after my commit of share/mk/bsd.dep.mk rev 1.85
but I don't know why it didn't cause a problem previously.
2020-06-21 06:58:16 +00:00
lukem
6445c9ec5a bsd.dep.mk: fix "make tags"
Fix "make tags" to actually build a tags file:
- Use !commands() instead of !target(), so that the rule actually works
- Write to ${.OBJDIR}/tags for read-only source (don't know why ${.TARGET}
  isn't sufficient).
- Only match *.[cly] from ${.ALLSRCS} - just excluding *.h causes failures
  because of ${targ}: subdir-${targ} in bsd.subdir.mk.

Thanks to uwe@ for assistance.
2020-06-21 03:39:21 +00:00
rin
62cc2171b1 Fix inconsistency b/w kernel and userland recognitions of TLS, as well as
inconsistency whether it is biased or not in kernel.

- Obsolete __lwp_settcb() in order to let kernel know new TLS address via
  _lwp_setprivate(2). Alternatively, we can call _lwp_setprivate(2) within
  __lwp_settcb() like mips, but it is just double handling; we adjust %r2
  appropriately in _lwp_setprivate(2) via cpu_lwp_setprivate().

- Make sure that, like other ports, l_private represents address of tcb,
  not biased one as in %r2. This guarantees that the returned values from
  _lwp_getprivate(2) and __lwp_getprivate_fast() are always same. Also,
  we can obsolete PTRACE_LWP_GETPRIVATE() macro.

Now, *_pl_private tests in tests/lib/libc/sys successfully pass, while
no other tests become newly falling.
2020-06-21 00:39:59 +00:00
rin
18d6c6511b Fix SS_ONSTACK, which seems like broken since switched to siginfo.
Found by tests/lib/libc/sys/t_sigaltstack, which passes now, while
no other tests are not falling newly.

XXX
Shouldn't we turn _UC_{SET,CLR}STACK into MI?
2020-06-21 00:00:27 +00:00
sevan
3e5391c239 X turned 36 today
http://www.talisman.org/x-debut.shtml
2020-06-20 21:58:17 +00:00
riastradh
0f00d469ba Nix trailing whitespace. 2020-06-20 18:44:17 +00:00
riastradh
dd58a4a54e Nix trailing whitespace. 2020-06-20 18:30:53 +00:00
skrll
d958cb46e5 Convert to new proplib api 2020-06-20 15:48:19 +00:00
skrll
df27e1ef9c KNF 2020-06-20 15:45:22 +00:00
kamil
ca6e2a2560 Remove double 'each of'
Reported by Weitian LI liweitianux (DragonFly).
2020-06-20 10:53:28 +00:00
rin
669f5e8178 Fix false positive for mvscanw tests on big endian machines.
When conversion specifier is not a derivative form of "%s", retrieve
input as 32bit integer, and then convert to string literal. Then we
can avoid interpretation from ASCII code to integer, which is
apparently byte-order depended.
2020-06-20 07:50:16 +00:00
rin
4562851ebb Skip sigbus_adraln for powerpc.
SIGBUS for unaligned accesses is not mandatory for powerpc;
most processors (not all, e.g., 403) can deal with that.
2020-06-20 07:30:09 +00:00
skrll
79ef8ec54b KNF #includes
Remove some unnecessary ones while I'm here.
2020-06-20 07:10:36 +00:00
skrll
a7bcdf3168 Trailing whitespace 2020-06-20 07:01:16 +00:00
simonb
896f321e86 Add some rudimentary boot args parsing. Can handle "root=" as well
normal -1adsqvxz flags.  "root=" is limited to cnmacN devices so far;
should be extended to allow arbitary SD devices (and other devices?).
2020-06-20 02:27:55 +00:00
simonb
e542f66a7e Add the structure of the CVMX boot descriptor.
Extend the U-boot bootinfo descriptor with latest members, add a few comments.
Add a few extra board type IDs.
2020-06-20 02:01:56 +00:00
christos
d3ce6b6028 Fix lint 2020-06-20 00:16:50 +00:00
sjg
66c485513e Avoid unnecessary noise when sub-make or sibling dies
When analyzing a build log, the first 'stopped' output
from make, is the end of interesting output.

Normally when a build fails deep down in a parallel build
the log ends with many blockes of error output from make,
with all but the fist being unhelpful.

We add a function dieQuietly() which will return true
if we should supress the error output from make.
If the failing node was a sub-make, we want to die quietly.

Also when we read an abort token we call dieQuietly telling we
want to die quietly.

This behavior is suppressed by -dj or
setting .MAKE.DIE_QUIETLY=no

Reviewed by: christos
2020-06-19 21:17:48 +00:00
jdolecek
97bf7eee0f remove unnnecessary splbio() in rf_FreeDiskQueueData() 2020-06-19 19:32:03 +00:00
jdolecek
5cafb0175b pass down b_flags B_PHYS|B_RAW|B_MEDIA_FLAGS from bio subsystem
to component I/O

fixes the xbd(4) KASSERT() triggered by raidframe, noted in PR kern/55397
by Frank Kardel
2020-06-19 19:29:39 +00:00
tsutsui
46f333a16a KNF. 2020-06-19 16:30:31 +00:00
maxv
93a7bccebe localify 2020-06-19 16:20:22 +00:00