Commit Graph

272811 Commits

Author SHA1 Message Date
skrll
2fd3674617 Fix EFIBOOT_DEBUG build on arm 2020-01-03 14:14:56 +00:00
pgoyette
ae43fc77bd Fix some typos in comments.
From vezhlys on freenode IRC.
2020-01-03 12:59:46 +00:00
roy
b2bc53ae48 Note import of dhcpcd-8.1.5 2020-01-03 12:41:26 +00:00
jmcneill
c47914cb8a Add a quirk for the HAILUCK USB keyboard / touchpad device with product 1e.
The keyboard does not function properly unless the touchpad's intr endpoint
is active.
2020-01-03 12:39:39 +00:00
roy
4b00b8134f Sync 2020-01-03 12:39:18 +00:00
roy
cf12805281 Update to dhcpcd-8.1.5 with the following changes:
* inet: Allow forcing a host route from an interface without a lease
 * dhcpcd: Don't wait for an address family to complete if not using it
2020-01-03 12:38:14 +00:00
jmcneill
7ee1f951f1 regen 2020-01-03 12:35:57 +00:00
jmcneill
f0cf68d29b Add HAILUCK keyboard (product 1e) 2020-01-03 12:35:33 +00:00
skrll
d0742ad78c Add -mfloat-abi=soft so that gcc 8 doesn't emit FP instructions. This
fixes bootarm.efi compiled by gcc 8.
2020-01-03 11:44:33 +00:00
martin
c6362a3c64 Drop CTF sections from this size restricted kernel (especially as the
size check is on the total size of the binary, not any content/sections -
is this a bug?)
Compile with -O2 by default (to shrink the kernel to a usable size again
and unbreak the build)
2020-01-03 10:01:07 +00:00
maxv
36f08dfcb9 Don't forget to initialize 'sin6_len'. With kASan, from time to time the
value will be bigger than the size of the source, and we get a read
overflow. With kMSan the uninitialized access is detected immediately.

Reported-by: syzbot+841ca14baccec37b4f8f@syzkaller.appspotmail.com
2020-01-03 08:53:14 +00:00
tkusumi
0adf7fda76 fstyp: Cleanup hammer.c (sync with recent DragonFly commit)
taken-from DragonFlyBSD 8ca6d8ec5f97032765692d368db80159c97adea0
2020-01-03 08:19:14 +00:00
mlelstv
654fb5e866 Recognize wedges and device mapper volumes as "disk". 2020-01-03 07:50:58 +00:00
thorpej
585dd234ff Eliminate all of the #ifdefs for the "strtc" driver. Define model
properties (similar to what the "dsrtc" driver does), and provide
DT compat strings corresponding to those models.  Allow config flags
to specify the model for non-FDT platforms (also like "dsrtc").
2020-01-03 03:44:42 +00:00
thorpej
d8e0d037b7 - In todr_gettime(), in the todr_gettime_ymdhms, pre-zero the clock_ymdhms
struct before asking the back-end to fill it in.
- Tidy up todr_settime() a teensy bit.
2020-01-03 01:24:48 +00:00
jmcneill
10fbab57ee If the rockchip,system-power-controller property is present, try to power off with the PMIC 2020-01-03 01:17:29 +00:00
jmcneill
cabfb0e2b3 Avoid sleeping while the audio intr lock is held. 2020-01-03 01:00:08 +00:00
kamil
bd8a92f78f Correct the rule to iterate over LWPs with PT_LWPNEXT and PT_LWPINFO
Correctly exclude dead/dying/zombie and system threads.

Fixes kern/54802 (gdb -p kills the kernel) by <martin>
2020-01-03 00:37:29 +00:00
thorpej
07519201ac Use todr_gettime_ymdhms / todr_settime_ymdhms. 2020-01-02 23:51:48 +00:00
wiz
ac8e57cbc4 New sentence, new line. Fix typo. 2020-01-02 23:21:14 +00:00
ryo
d5ec837d73 fix printing capabilities and enabled flags.
no need to skip a prefix "0x" of output of snprintb.
ifconfig expect the result of snprintb has "0x" prefix, but snprintb(3) specification has changed
so that if 0 is passed, it prints "0" instead of "0x0". (common/lib/libutil/snprintb.c r1.22)
2020-01-02 23:02:19 +00:00
ryo
9f2aa15a42 add aq(4). tested on rockpro64. 2020-01-02 23:01:54 +00:00
thorpej
22214d3a27 - Use todr_gettime_ymdhms / todr_settime_ymdhms.
- Allocate the todr_handle with the softc, not separately.
2020-01-02 22:32:20 +00:00
thorpej
16726ef940 In the wristwatch case, use todr_gettime_ymdhms / todr_settime_ymdhms. 2020-01-02 22:27:15 +00:00
thorpej
2977d9e4a8 Use todr_gettime_ymdhms / todr_settime_ymdhms. 2020-01-02 22:24:11 +00:00
jmcneill
b39eba7136 add es8316, simpleamp 2020-01-02 22:07:21 +00:00
jmcneill
183eeb09af Add driver for Everest Semi ES8316 Low Power Audio CODEC 2020-01-02 22:06:59 +00:00
ad
dc4527b612 Back the pv_hash stuff out. Now seeing errors from ATOMIC_*.
For another day.
2020-01-02 21:39:42 +00:00
ad
69f185016f Remove unused argment to pmap_remove_pv(). 2020-01-02 21:17:13 +00:00
thorpej
7ba18fd1e6 - Use todr_gettime_ymdhms / todr_settime_ymdhms.
- Correctly propagate errors up the stack.
2020-01-02 19:24:48 +00:00
ad
1bca3d6050 Replace the pv_hash_locks with atomic ops.
Leave the hash table at the same size for now: with the hash table size
doubled, system time for a build drops 10-15%, but user time starts to rise
suspiciously, presumably because the cache is wrecked.  Need to try another
data structure.
2020-01-02 19:20:01 +00:00
thorpej
2d5ff157d0 - Use todr_gettime_ymdhms / todr_settime_ymdhms.
- Correctly propagate errors up the stack.
2020-01-02 19:11:12 +00:00
christos
54bc5cf2c0 Add an entry for crunchgen 2020-01-02 19:05:03 +00:00
christos
e33cbeae47 Provide a migration guide from the old flags to -V. 2020-01-02 19:02:41 +00:00
thorpej
9f0d6bd066 Use todr_gettime_ymdhms / todr_settime_ymdhms. 2020-01-02 19:00:34 +00:00
thorpej
6591db0cc5 - Use todr_gettime_ymdhms / todr_settime_ymdhms.
- Correctly propagate errors up the stack.
2020-01-02 18:57:58 +00:00
thorpej
8f96eb4ccf - No need to use I2C_F_POLL here.
- Correctly propagate errors up the stack.
2020-01-02 17:40:27 +00:00
thorpej
0f5a10535e - No need to use I2C_F_POLL here.
- Correctly propagate errors up the stack.
2020-01-02 17:17:36 +00:00
thorpej
da309899fb No need to use I2C_F_POLL here.
XXX This entire driver needs to have its error reporting overhauled.
2020-01-02 17:09:59 +00:00
thorpej
ba0c87dc2c - No need to use I2C_F_POLL here.
- Correctly propagate errors up the stack.
2020-01-02 17:03:05 +00:00
ad
26972d1c77 rump: initialize pg->interlock 2020-01-02 16:56:58 +00:00
thorpej
7a369120e6 No need to use I2C_F_POLL here. 2020-01-02 16:53:05 +00:00
skrll
ac86769291 KNF 2020-01-02 16:52:55 +00:00
skrll
3e149c20a6 Trailing whitespace 2020-01-02 16:51:54 +00:00
thorpej
7fc242e39a - No need to use I2C_F_POLL here.
- Properly propagate errors up the stack.
2020-01-02 16:48:05 +00:00
thorpej
4a018c1296 No need to use I2C_F_POLL here. 2020-01-02 16:24:51 +00:00
thorpej
c22653c723 Also force I2C_F_POLL if shutting_down. 2020-01-02 16:18:37 +00:00
thorpej
00e0ec55cf Welcome to NetBSD 9.99.33 -- boottime global is gone. 2020-01-02 15:43:11 +00:00
thorpej
d6c967bb85 - Eliminate the global "boottime" variable, which was being accessed
without any synchronization against changes by e.g. clock_settime().
- Replace with new getbinboottime() / getnanoboottime() / getmicroboottime()
  functions (naming mirrors that of other time access functions in kern_tc.c).
  It returns the (maybe-converted) value of timebasebin, which also tracks
  our estimate of when the system was booted (i.e. the legacy "boottime" was
  redundant).

XXX There needs to be a lockless synchronization mechanism for reading
timebasebin, but this is a problem in kern_tc.c that pre-existed these
"boottime" changes.  At least now the problem is centralized in one location.
2020-01-02 15:42:26 +00:00
skrll
2a8787267f gcc 8 needs -mapcs-frame when DDB is specified for backtrace to work 2020-01-02 14:33:55 +00:00