Commit Graph

259690 Commits

Author SHA1 Message Date
riastradh
a9aa080355 Just use struct cpu_info members for the Xen clock state.
Silly to use percpu(9) for some things and struct cpu_info for
others.
2018-06-30 14:21:19 +00:00
jmcneill
8d4a1027a6 When attaching child devices, consider the best match for all passes
instead of just the current pass. Fixes an issue where a driver with a
lower match number and early pass number will attach instead of a better
match on a later pass.
2018-06-30 13:44:50 +00:00
jmcneill
fec1439d5f add syscon 2018-06-30 12:42:42 +00:00
jmcneill
87578108fb Use syscon API instead of mapping syscon registers ourselves. 2018-06-30 12:36:13 +00:00
jmcneill
5b0333eb17 Add support for system controller nodes. 2018-06-30 12:35:18 +00:00
jmcneill
a1405d385b No need to define our own emac node as this is in the upstream dts now. 2018-06-30 12:23:24 +00:00
kre
873631e713 Fix module build.
Options SUIDSCRIPTS and FDSCRIPTS will be off for the module.
If one (or both) should be enabled, add it to CPPFLAGSin the module Makefile.
2018-06-30 11:10:54 +00:00
jmcneill
a3f3f06c62 Add driver for DesignWare Watchdog Timer. Untested as I can't seem to find
the parent clock for this in the RK3328 documentation.
2018-06-30 10:50:30 +00:00
sevan
ab8dd17d7b vnconfig name is retained for backwards compatibility. Use vndconfig.
Heads up by <tsutsui>
2018-06-30 09:27:41 +00:00
eadler
ea2987652b bsd-family-tree: Add missing DragonFly and FreeBSD releases
Add DragonFly 5.2.1, 5.2.2, FreeBSD 11.2
2018-06-30 01:08:39 +00:00
christos
f3e9eebed2 defflag {SETUID,FD}SCRIPTS 2018-06-30 00:37:37 +00:00
riastradh
8f8bb0d3fd Rewrite Xen timecounter and hardclock timer.
With this change, the Xen timecounter should now be globally
monotonic, as every timecounter is supposed to be.  Should also fix a
litany of races in the timecounter logic.

Proposed last year; see mailing list for further details:
https://mail-index.netbsd.org/port-xen/2017/10/31/msg009112.html

ok cherry
2018-06-29 21:53:12 +00:00
christos
9f321dce94 Add our syslog format. 2018-06-29 20:18:36 +00:00
christos
8910c94cf4 add missing args for 123 2018-06-29 20:18:05 +00:00
maxv
ea978cc53a Add more KASSERTs.
Should help PR/53399.
2018-06-29 19:34:35 +00:00
maxv
a093a9e5c6 Call fpu_eagerswitch a little later, after we make sure newlwp is not
pinned.

Because if it is, the fpu state of the lwp we are context-switching to
is already installed on the current cpu, so no point re-installing it.
Or, it isn't, and in this case we don't want to install it.

This wrong re-installation can occur when we leave a softint.

It may fix bugs in places that call fpusave_lwp with spl != IPL_HIGH,
and that expect the fpu state to stay in memory. As far as I can tell
only cpu_lwp_free meets these conditions, and as far as I can tell
again, there it's harmless.

Should help PR/53399.
2018-06-29 19:21:43 +00:00
sevan
8ec25d68b5 Note vnconfig(8) may be of interest, especially when looking to mount an iso via
loopback.
2018-06-29 19:13:19 +00:00
msaitoh
cd131a6318 Detect USB 3.1. 2018-06-29 17:48:24 +00:00
roy
b729dec75a Remove dhclient from the base system.
Discussed here:
https://mail-index.netbsd.org/tech-userlevel/2018/06/21/msg011233.html
2018-06-29 12:34:13 +00:00
kamil
cd35dc3d84 Rework the changes to DTRACE/ZFS files that were fixing Clang/LLVM build
Rever changes to upstream files and replace them with additional -Wno-
compiler argument flags.

Tested with base LLVM.

Requested by <chuq>
2018-06-29 11:33:46 +00:00
thorpej
3e554dfa58 - Unify the "rtwn" and "urtwn" register definitions and initialization
tables into common header files shared by both drivers.
- Fix some register and bit definitions, from OpenBSD and verified against
  the vendor driver.
- Add some additional register / descriptor defnitions, from OpenBSD.
2018-06-29 04:02:10 +00:00
wiz
565352da0c New sentence, new line. 2018-06-28 22:00:50 +00:00
macallan
da2ab6d431 fix a tpyo so now we get the correct maximum speed for CPU intake fans
while there, be a bit more responsive to temperature changes
2018-06-28 21:21:03 +00:00
macallan
a25bcae0e7 restrict a magic number 'fix' inherited from xf86-video-radeon to actual
rv100 chips instead of applying it to anything older than r300.
Now DVI output works properly on 1st generation Mac Minis.
tested by christos
2018-06-28 17:22:09 +00:00
thorpej
9351a32e78 Use the "flags" config directive modifier to specify seeprom size
(a pre-existing capability in seeprom driver) now that "size" is no
longer a valid locator for i2c.
2018-06-28 15:21:52 +00:00
kre
cb552d924c Remove (recently) commented out (recently added) liblsan SUBDIR
(it has been added a different way.)
2018-06-28 14:01:12 +00:00
jmcneill
6774ae4a9e Regen 2018-06-28 13:31:57 +00:00
jmcneill
a83f640735 Add vendor REALTEK and product RTL8703BS 2018-06-28 13:31:38 +00:00
rkujawa
0d49c34489 Clarify caveats. 2018-06-28 13:18:19 +00:00
christos
0fd9ea3645 put back lsan 2018-06-28 10:14:01 +00:00
msaitoh
2296fecaaa Add 25G(802.3by), 2.5G and 5G (802.3bz). 2018-06-28 09:12:21 +00:00
maya
97fc8f3ce3 Correctly specify that iasl needs to be case insensitive.
Fixes PR bin/53405. thanks to martin.
2018-06-28 07:56:22 +00:00
ozaki-r
79209cd2af rumphijack: don't modify a cmsg on just validating it
Pointed out by k-goda@IIJ
2018-06-28 06:20:36 +00:00
ozaki-r
3b32ae4558 loop: don't allocate a unnecessary link-state-change thread 2018-06-28 06:02:24 +00:00
sevan
bc5535513e Add LISPs (programming language & network protocol), Vim 2018-06-27 23:26:13 +00:00
jmcneill
e16bcb7a48 dts updated to 4.18-rc2 2018-06-27 19:49:47 +00:00
kamil
76513d74e2 Remove the expr(1) entry from TODO.sanitizer (finished)
While there, fix a typo in text.
2018-06-27 18:43:16 +00:00
kamil
b18b4f6eea Add 3 more expr(1) ATF tests detecting overflow
Verify 0 * INT.
2018-06-27 17:39:30 +00:00
kamil
2597218cc4 Add a missing check to handle correctly 0 * 0 in expr(1) 2018-06-27 17:23:36 +00:00
kamil
c97a37eb9c Add a couple of new ATF expr(1) tests
Some of the newly covered test-cases contained regressions.

All tests pass.
2018-06-27 17:14:47 +00:00
kamil
2b5da4d00d Improve the * operator handling in expr(1)
Fixes overflow detection in expressions INT * -UINT.

Detected with libFuzzer & UBSan.
2018-06-27 17:12:49 +00:00
jmcneill
b331089672 Fix merge problem. 2018-06-27 16:44:38 +00:00
jmcneill
ab50e0574f dts: add sun50i-h5-libretech-all-h3-cc.dts 2018-06-27 16:38:40 +00:00
jmcneill
e7dd478e59 dts: add sun7i-a20-olimex-som-evb-emmc.dts, sun8i-h2-plus-libretech-all-h3-cc.dts, sun50i-h5-libretech-all-h3-cc.dts 2018-06-27 16:38:11 +00:00
jmcneill
7eb5140ac6 Merge conflicts. 2018-06-27 16:32:14 +00:00
jmcneill
a937e7f555 Import dts from Linux 4.18-rc2 2018-06-27 16:27:06 +00:00
maya
746c9ac266 Remove unused code. No functional change intended.
- We don't need to define __NetBSD__, C compilers do this for us.
- Defines which don't appear anywhere in src
- Don't need libpthread/librt
2018-06-27 16:13:43 +00:00
christos
ecf509af59 Reduce sizes for non _LP64 and compiler checks so that the code compiles
(but it will not work, since there is not enough address space to implement
the shadow space required).
2018-06-27 15:57:20 +00:00
christos
3a31568ee3 use the proper types for operator new 2018-06-27 15:56:30 +00:00
wiz
2900c67b14 Use An. 2018-06-27 13:53:55 +00:00