Commit Graph

271486 Commits

Author SHA1 Message Date
martin 7ca7eecae1 Make sure all menus have a translatable exit option (or none at all). 2019-11-16 20:26:59 +00:00
christos 58617a0201 shorten names 2019-11-16 19:23:56 +00:00
martin f6972e2244 Make the bootblock selection menu more sane, pointed out by maxv 2019-11-16 18:08:59 +00:00
martin 05e0fd7496 knf style adjustments 2019-11-16 18:08:36 +00:00
maxv 8e74fd78fc Don't report MWAITX by default. 2019-11-16 17:53:46 +00:00
martin 9aa61cd2ab Fix table of bios geomatries 2019-11-16 17:53:02 +00:00
martin 7c9e4fdc5a msg_table_add(): fix mishap in the format safety changes in r1.45 2019-11-16 17:38:09 +00:00
nia dc40b3d931 Document usage of KERN_ARND 2019-11-16 17:33:09 +00:00
joerg c21ab1a1a0 Build libclangAST with -O1 when the host compiler is GCC 7 to avoid
miscompiles.
2019-11-16 15:51:26 +00:00
joerg 18bfe0dbc7 Drop unused variable. 2019-11-16 15:50:45 +00:00
martin 6185927976 PR port-i386/54701: deal with missing pmf platform keys. 2019-11-16 15:38:43 +00:00
jmcneill 4544fe58fb Add audio support 2019-11-16 13:25:33 +00:00
jmcneill cf67f97cc8 Add rki2s 2019-11-16 13:24:40 +00:00
jmcneill d0667da156 Enable HDMI audio on ROCKPro64 2019-11-16 13:24:25 +00:00
jmcneill 5a4a43f84d Add driver for Rockchip I2S/PCM controller. 2019-11-16 13:24:03 +00:00
jmcneill bc3e5e3bfd Add support for I2S clocks. 2019-11-16 13:23:13 +00:00
jmcneill 941ce509f0 Add software volume controls. 2019-11-16 13:10:07 +00:00
jmcneill 86c0ced38e Add I2S audio input support. 2019-11-16 12:50:08 +00:00
jmcneill 2b1ce5b9d1 Set sysclk rate at set_format time, so the link set_format callback can read the new sysclk 2019-11-16 12:47:47 +00:00
tkusumi 560993f90b autofs: Support DOLLAR for $ literal
taken-from FreeBSD and DragonFlyBSD
2019-11-16 12:26:54 +00:00
tkusumi b650fd9611 autofs: Fix segfault that could occur on "automount -LL" 2019-11-16 12:21:06 +00:00
tkusumi 8a20efb18d autofs: Remove unneeded header include
common.c doesn't depend on autofs or its ioctls.
2019-11-16 11:56:29 +00:00
mrg a8b195cdfe note i386 and sparc* conversion. note arm32 issues. 2019-11-16 11:50:58 +00:00
mrg a7e410a84d sparc & sparc64 -> GCC 8. 2019-11-16 10:23:36 +00:00
mrg 0d35e2c2c3 i386 -> GCC 8. 2019-11-16 10:22:20 +00:00
maxv 4acdfa6ced Add a NULL check on the structure pointer, not to retrieve its first field
if it is NULL. The previous code was not buggy strictly speaking. This
change probably doesn't change anything, except removing assumptions in the
compiler optimization passes, which too probably doesn't change anything in
this case.

Reported-by: syzbot+110b29c1973f38a38026@syzkaller.appspotmail.com
2019-11-16 10:19:29 +00:00
maxv 2eae1539a2 Call rtcache_unref() only when the checks succeed, instead of relying on
another NULL check in rtcache_unref().

Because, in order to resolve the address of the second argument, we do a
dereference on 'tp', which is theoretically allowed to be NULL. The five
callers of nd6_hint() never pass a NULL argument however, so by luck the
actual NULL deref never happens.

Maybe the NULL check on 'tp' in should be replaced to a KASSERT ensuring
it isn't NULL, for clarity.

Reported by kUBSan.
2019-11-16 10:15:10 +00:00
maxv 1bb344ad1f NULL-check the structure pointer, not the address of its first field. Also
add KASSERT. For clarity, and to appease kUBSan.
2019-11-16 10:07:53 +00:00
maxv c723c2d9ac Add a NULL check on the structure (same logic as my previous change in this
file). For clarity, and to appease kUBSan.
2019-11-16 10:05:44 +00:00
tkusumi 87a0cef204 autofs: Fix change by r1.3 "prevent assert on unmount."
Must delete all nodes on unmount, otherwise automounts with >1 level of directories can't be deleted.
taken-from: FreeBSD and DragonFlyBSD
2019-11-16 09:22:00 +00:00
christos fa45715fdd Add a stub for drm_ioctl() so that compat32 links with kernels without drmkms. 2019-11-16 04:10:33 +00:00
pgoyette 3cc6aaf161 Remove some XXX'd comments that were remnants of when I was working
on the [pgoyette-compat] code.

NFC
2019-11-16 03:26:19 +00:00
macallan b8c43552e2 fix pasto - don't limit OF_finddevice() to 32 characters
now this works again
2019-11-16 00:16:55 +00:00
macallan 2a643d0044 bump OF_buf(fer) since we may put extra parameters in there 2019-11-15 23:43:12 +00:00
macallan e57fcdbc62 stuff name parameters into OF_buf before calling OF
now things like ofctl work on my TiBook with FIRMWORKSBUGS
2019-11-15 23:41:47 +00:00
maxv 473e202ba1 NULL-check the structure pointer, not the address of its first field. This
is clearer and also appeases syzbot.

Reported-by: syzbot+d27bc1be926b3641c0ad@syzkaller.appspotmail.com
2019-11-15 15:51:57 +00:00
msaitoh 73fee7f7e5 Sort RTK_HWREV_* by value. 2019-11-15 13:25:53 +00:00
msaitoh 4b92889d3e Make Yukon EX, FE+, SUPR stable. The code is mainly taken from FreeBSD.
At least, this change made my own Yukon EX machine (HP ProBook 4501s) much
stable than before.
2019-11-15 12:38:09 +00:00
maxv 4602d0f902 Instrument ufetch/ustore in kMSan, these were the last remaining functions. 2019-11-15 12:18:46 +00:00
maxv c54ac6aa96 Since cpu_in_cksum.S can be built outside of the kernel, add an ugly #ifdef
_KERNEL for kMSan.
2019-11-15 09:50:01 +00:00
maxv 65ee926c5a Make kMSan compatible with KCOV. With kMSan we are forced to stay with the
fsanitize flag on subr_kcov.c, which means that kMSan will instrument KCOV.
We add a bunch of __nomsan attributes to reduce this instrumentation, but
it does not remove it completely. That's fine.
2019-11-15 09:44:44 +00:00
maxv e93d43b427 Remove the ins* and outs* functions. Not sanitizer-friendly, and unused
anyway.
2019-11-15 09:03:26 +00:00
nonaka fa286b3165 hvn(4), hvkbd(4): No need to call vmbus_channel_setdeferred().
These devices do not perform batch reading.
2019-11-15 08:51:27 +00:00
maxv 072e3fce8b Instrument copyout() in kCSan, for parity with kMSan. 2019-11-15 08:11:36 +00:00
hkenken 14dba0323d Keep SCLK high in the inactive state. (SPI modes 2 and 3 only) 2019-11-15 01:10:42 +00:00
jdolecek bff033fe7d document vm.ubc_direct 2019-11-14 21:23:46 +00:00
jmcneill a70210362c Enable Rockchip display support 2019-11-14 20:40:25 +00:00
jmcneill c625ad0ae7 Remove debug output 2019-11-14 20:39:46 +00:00
jmcneill bd89ee465c Fix a few swapped fields 2019-11-14 20:31:50 +00:00
martin d1379acfcf Fix missing newlines in bios match display, pointed out by maxv. 2019-11-14 19:26:58 +00:00