CVS commit: src/external/cddl/osnet/dev/fbt/x86

2021-08-18 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Wed Aug 18 11:26:17 UTC 2021 Modified Files: src/external/cddl/osnet/dev/fbt/x86: fbt_isa.c Log Message: PR/56355: Exclude the symbol trap, not all symbols other than trap. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/arch/arm/sunxi

2021-08-07 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Aug 7 15:41:01 UTC 2021 Modified Files: src/sys/arch/arm/sunxi: sun8i_crypto.c Log Message: sun8icrypto(4): Call crypto_unblock when a task completes. Otherwise under load this would presumably just hang after returning

CVS commit: src/sys/external/bsd/drm2/linux

2021-08-02 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Aug 2 23:14:15 UTC 2021 Modified Files: src/sys/external/bsd/drm2/linux: linux_reservation.c Log Message: drm: Plug another fence leak. XXX pullup-9 To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14 \

CVS commit: src/sys/external/bsd/drm2/linux

2021-08-02 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Aug 2 20:20:54 UTC 2021 Modified Files: src/sys/external/bsd/drm2/linux: linux_reservation.c Log Message: drm: Release fence if we're about to return too. Should fix another fence leak. XXX pullup-9 To generate a diff

CVS commit: src/sys/dev/pci

2021-07-17 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Jul 17 10:45:58 UTC 2021 Modified Files: src/sys/dev/pci: pucdata.c Log Message: puc(4): Add Intel Core 5G (mobile) KT. To generate a diff of this commit: cvs rdiff -u -r1.109 -r1.110 src/sys/dev/pci/pucdata.c Please

CVS commit: src/sys/dev

2021-06-30 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Wed Jun 30 17:34:03 UTC 2021 Modified Files: src/sys/dev: devlist2h.awk Log Message: devlist2h.awk: Nix trailing whitespace. No functional change intended. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5

CVS commit: src/sys/net

2021-06-29 Thread Taylor R Campbell
: Taylor R Campbell To generate a diff of this commit: cvs rdiff -u -r1.485 -r1.486 src/sys/net/if.c cvs rdiff -u -r1.290 -r1.291 src/sys/net/if.h cvs rdiff -u -r1.3 -r1.4 src/sys/net/if_stats.c cvs rdiff -u -r1.2 -r1.3 src/sys/net/if_stats.h Please note that diffs are not public domain

CVS commit: src/sys/external/bsd/drm2/linux

2021-06-27 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Jun 27 08:10:36 UTC 2021 Modified Files: src/sys/external/bsd/drm2/linux: linux_reservation.c Log Message: drm: Release fence after use. May plug the dreaded radeon kmem memory leak. XXX pullup-9 To generate a diff of

CVS commit: src/sys/dev/pci

2021-06-24 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Thu Jun 24 09:17:53 UTC 2021 Modified Files: src/sys/dev/pci: if_iwm.c Log Message: iwm(4): Disentangle attach. Don't attach a half-baked interface and then detach it and then reattach it after mountroot when we can read

CVS commit: src/sys/dev/usb

2021-06-24 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Thu Jun 24 08:20:42 UTC 2021 Modified Files: src/sys/dev/usb: ucom.c Log Message: ucom(4): Fix earlier mistake causing pipes not to be closed. In revision 1.123, mrg@ changed what he thought was a double-close, but was

CVS commit: src/sbin/restore

2021-06-23 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Wed Jun 23 14:22:08 UTC 2021 Modified Files: src/sbin/restore: dirs.c Log Message: restore(8): Mark fail_dirtmp __dead to fix clang build. To generate a diff of this commit: cvs rdiff -u -r1.52 -r1.53 src/sbin/restore/dirs.c

CVS commit: src/external/gpl3/gdb/bin/gdbserver

2021-06-20 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Jun 20 12:29:58 UTC 2021 Modified Files: src/external/gpl3/gdb/bin/gdbserver: Makefile Log Message: gdbserver(1): Work around clang build failure. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4

CVS commit: src/share/misc

2021-06-18 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Jun 18 21:58:20 UTC 2021 Modified Files: src/share/misc: acronyms acronyms.comp Log Message: EEE: embrace, extend, extinguish; or eastern equine encephalitis To generate a diff of this commit: cvs rdiff -u -r1.309

CVS commit: src/tests/net/if_wg

2021-06-17 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Thu Jun 17 12:45:59 UTC 2021 Modified Files: src/tests/net/if_wg: t_misc.sh Log Message: tests/net/if_wg: Only expect this to fail once! Not sure how that happened, weird artefact of applying fuzzy patch twice or something.

CVS commit: src/tests/net/if_wg

2021-06-17 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Thu Jun 17 12:16:09 UTC 2021 Modified Files: src/tests/net/if_wg: t_misc.sh Log Message: tests/net/if_wg: Mark as flaky (PR kern/56252). To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9

CVS commit: src/tests/fs/tmpfs

2021-06-16 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Thu Jun 17 00:03:05 UTC 2021 Modified Files: src/tests/fs/tmpfs: t_times.sh Log Message: tests/fs/tmpfs: Print bad values on failure for diagnosis. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6

CVS commit: src/tests/fs/vfs

2021-06-16 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Wed Jun 16 23:58:07 UTC 2021 Modified Files: src/tests/fs/vfs: t_renamerace.c Log Message: tests/fs/vfs: Mark udf_renamerace_cycle flaky, PR kern/56253. To generate a diff of this commit: cvs rdiff -u -r1.40 -r1.41

CVS commit: src/tests/net/if_wg

2021-06-16 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Wed Jun 16 23:45:53 UTC 2021 Modified Files: src/tests/net/if_wg: t_misc.sh Log Message: tests/net/if_wg: Fix typo: $ifconfig, not $ifconfg. To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8

CVS commit: src/sbin/cgdconfig

2021-06-16 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Wed Jun 16 23:22:08 UTC 2021 Modified Files: src/sbin/cgdconfig: cgdconfig.c Log Message: cgdconfig(8): Fail more gracefully than SIGSEGV if shell_cmd fails. To generate a diff of this commit: cvs rdiff -u -r1.51 -r1.52

CVS commit: src/libexec/ld.elf_so

2021-06-16 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Wed Jun 16 21:53:51 UTC 2021 Modified Files: src/libexec/ld.elf_so: rtld.c Log Message: ld.elf_so(1): Omit needless membar_enter. The use of membar_enter is to separate atomic r/m/w on a lock from the body of the critical

CVS commit: src/sys/dev/usb

2021-06-16 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Wed Jun 16 13:20:49 UTC 2021 Modified Files: src/sys/dev/usb: usbdi.c Log Message: usb(4): Fix uninitialized variable for error branch. To generate a diff of this commit: cvs rdiff -u -r1.217 -r1.218 src/sys/dev/usb/usbdi.c

CVS commit: src

2021-06-15 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Wed Jun 16 00:21:20 UTC 2021 Modified Files: src/share/man/man4: usbnet.4 src/sys/arch/arm/broadcom: bcm53xx_eth.c src/sys/arch/powerpc/booke/dev: pq3etsec.c src/sys/arch/usermode/dev: if_veth.c

CVS commit: src/sys/kern

2021-06-15 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Wed Jun 16 00:19:46 UTC 2021 Modified Files: src/sys/kern: kern_drvctl.c Log Message: drvctl(4): If no ifattr is specified on rescan, rescan all of them. No longer must you remember the magic `-a ata_hl' incantation when you

CVS commit: src/sys/dev/usb

2021-06-15 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Tue Jun 15 23:39:43 UTC 2021 Modified Files: src/sys/dev/usb: ohci.c Log Message: ohci(4): Constify a constant debug string table. To generate a diff of this commit: cvs rdiff -u -r1.315 -r1.316 src/sys/dev/usb/ohci.c

CVS commit: src/sys/dev

2021-06-15 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Tue Jun 15 23:24:57 UTC 2021 Modified Files: src/sys/dev: dev_verbose.h Log Message: dev_verbose(9): Use a comma expression, not an expression block. Should pacify clang's -Wcompound-token-split-by-macro. To generate a diff

CVS commit: src/sys/dev

2021-06-14 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Tue Jun 15 00:20:33 UTC 2021 Modified Files: src/sys/dev: ipmi.c Log Message: ipmi(4): Tidy up ipmi_thread a little. - Join on detach -- don't free anything until thread has exited; thread may still be using stuff. - Nix

CVS commit: src/sys/dev

2021-06-14 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Jun 14 22:00:10 UTC 2021 Modified Files: src/sys/dev: ipmi.c Log Message: ipmi(4): Notify config_pending_decr when ready, not when dying. Should fix hang at boot. To generate a diff of this commit: cvs rdiff -u -r1.7

CVS commit: src/sys/dev/pad

2021-06-14 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Jun 14 18:44:53 UTC 2021 Modified Files: src/sys/dev/pad: pad.c Log Message: pad(4): Explain what's wrong with using device pointers like this. ...and why the kernel lock is not enough. To generate a diff of this

CVS commit: src/sys/dev/pad

2021-06-14 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Jun 14 18:44:45 UTC 2021 Modified Files: src/sys/dev/pad: pad.c padvar.h Log Message: pad(4): Omit unused sc_blksize. To generate a diff of this commit: cvs rdiff -u -r1.73 -r1.74 src/sys/dev/pad/pad.c cvs rdiff -u

CVS commit: src/sys/dev/pad

2021-06-14 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Jun 14 18:44:37 UTC 2021 Modified Files: src/sys/dev/pad: pad.c Log Message: pad(4): Refactor for clarity, and fix locking bugs. - Don't touch sc_buflen outside sc_intr_lock. - Omit needless broadcast in pad_halt_output

CVS commit: src/sys/dev/pad

2021-06-14 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Jun 14 10:21:21 UTC 2021 Modified Files: src/sys/dev/pad: pad.c Log Message: pad(4): Destroy the callout when done. Should not be possible for it to be pending or firing at this point, because we have detached the

CVS commit: src/sys/dev/pad

2021-06-14 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Jun 14 10:14:58 UTC 2021 Modified Files: src/sys/dev/pad: pad.c Log Message: pad(4): Make this exclusively a cloning device. padN numbering never corresponded with audioM numbering except by accident, so the non-cloning

CVS commit: src/sys/dev/pad

2021-06-14 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Jun 14 10:14:46 UTC 2021 Modified Files: src/sys/dev/pad: pad.c padvar.h Log Message: pad(4): Sort includes. Add missing includes to padvar.h. To generate a diff of this commit: cvs rdiff -u -r1.69 -r1.70

CVS commit: src/sys/dev/pad

2021-06-14 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Jun 14 10:14:01 UTC 2021 Modified Files: src/sys/dev/pad: pad.c padvar.h Log Message: pad(4): Fix some locking. - No need for sc_cond_lock. - Issue cv_broadcast under the correct lock. - Use callout_halt, not haphazard

CVS commit: src/sys/dev/pad

2021-06-13 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Jun 14 00:21:09 UTC 2021 Modified Files: src/sys/dev/pad: pad.c Log Message: pad(4): Some incomplete tidying. - Put pseudo-device softc setup/teardown back in pad_attach/detach, not in the cdev/fops operations which are

CVS commit: src/sys/dev/pad

2021-06-13 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Jun 13 23:09:23 UTC 2021 Modified Files: src/sys/dev/pad: pad.c Log Message: pad(4): Take kernel lock around autoconf stuff. This is not really enough -- the padconfig locking logic violates rules about sleeping while

CVS commit: src/sys/dev/usb

2021-06-13 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Jun 13 14:48:10 UTC 2021 Modified Files: src/sys/dev/usb: uhub.c usb.c usb_subr.c usbdi.h Log Message: usb(4): Bus exploration is single-threaded -- assert it so. New usb_in_event_thread(dev) returns true if dev is a USB

CVS commit: src/sys/dev/usb

2021-06-13 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Jun 13 14:46:07 UTC 2021 Modified Files: src/sys/dev/usb: uhub.c Log Message: uhub(4): Defer rescan to USB event thread. Keep all of the USB bus exploration in a single thread -- this appears to have been the original

CVS commit: src/tests/dev/sysmon

2021-06-13 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Jun 13 14:45:36 UTC 2021 Modified Files: src/tests/dev/sysmon: t_swsensor.sh Log Message: tests/dev/sysmon: Query bits of data, not bits of entropy. Fixes PR kern/47661. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/kern

2021-06-13 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Jun 13 09:30:48 UTC 2021 Modified Files: src/sys/kern: subr_autoconf.c Log Message: autoconf(9): Take kernel lock in config_detach. config_detach is used in too many places to audit for now -- so although I'm quite sure

CVS commit: src/sys/dev/usb

2021-06-12 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Jun 13 00:13:24 UTC 2021 Modified Files: src/sys/dev/usb: usb_subr.c usbdi.c usbdivar.h Log Message: usb(4): Tighten interface locking and pipe references. - Just use a reference count, not a list of pipes. - Take the

CVS commit: src/sys/dev/usb

2021-06-12 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Jun 13 00:11:57 UTC 2021 Modified Files: src/sys/dev/usb: uhub.c Log Message: uhub(4): Trigger bus exploration after rescanning children. Otherwise, if uhub4 is attached at uhub1, then when we do # drvctl -d

CVS commit: src/sys/kern

2021-06-12 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Jun 13 00:11:46 UTC 2021 Modified Files: src/sys/kern: subr_autoconf.c Log Message: autoconf(9): Sprinkle KASSERT(dev->dv_pending == 0) in dealloc paths. This would have made uhub's config_pending_incr leak more obvious

CVS commit: src/sys/kern

2021-06-12 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Jun 13 00:11:17 UTC 2021 Modified Files: src/sys/kern: subr_autoconf.c Log Message: autoconf(9): Take kernel lock in a few entry points. The arguments to config_attach_pseudo, config_init/fini_component, and

CVS commit: src/sys/dev/usb

2021-06-12 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Jun 12 15:49:45 UTC 2021 Modified Files: src/sys/dev/usb: usb_subr.c usbdi.c usbdivar.h Log Message: usb(4): Nix unused struct usbd_interface::ui_priv. To generate a diff of this commit: cvs rdiff -u -r1.259 -r1.260

CVS commit: src/sys/dev/usb

2021-06-12 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Jun 12 15:41:22 UTC 2021 Modified Files: src/sys/dev/usb: usb_subr.c usbdi.c Log Message: usb(4): Make usbd_fill_iface_data atomic. Now either it replaces and frees the old endpoints array, or it leaves everything in

CVS commit: src/sys/dev/usb

2021-06-12 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Jun 12 15:40:07 UTC 2021 Modified Files: src/sys/dev/usb: usbdi.c Log Message: usb(4): Tweak style in usbd_close_pipe. No functional change intended. To generate a diff of this commit: cvs rdiff -u -r1.212 -r1.213

CVS commit: src/sys/dev/usb

2021-06-12 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Jun 12 15:39:57 UTC 2021 Modified Files: src/sys/dev/usb: usb_subr.c usbdi.c Log Message: usb(4): Merge logic in usbd_kill_pipe and usbd_close_pipe. usbd_kill_pipe is now just usbd_abort/close_pipe. No functional change

CVS commit: src/sys/dev/usb

2021-06-12 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Jun 12 15:39:46 UTC 2021 Modified Files: src/sys/dev/usb: usb_subr.c usbdi.c Log Message: usb(4): Fix fix for interface change pipe fix. If there is an interface: - Always put the pipe on the list in usbd_setup_pipe (if

CVS commit: src/sys/dev/usb

2021-06-12 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Jun 12 15:09:18 UTC 2021 Modified Files: src/sys/dev/usb: usbdi.c Log Message: Revert "usb(4): Fix mistake in previous fix for pipe/interface-change races." Little too fast on the commit trigger there before testing,

CVS commit: src/sys/dev/usb

2021-06-12 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Jun 12 14:57:53 UTC 2021 Modified Files: src/sys/dev/usb: usbdi.c Log Message: usb(4): Fix mistake in previous fix for pipe/interface-change races. Must block interface changes _before_ we enter usbd_setup_pipe_flags,

CVS commit: src/sys/dev/usb

2021-06-12 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Jun 12 14:43:27 UTC 2021 Modified Files: src/sys/dev/usb: usb_subr.c usbdi.c usbdivar.h Log Message: usb(4): Fix races between usbd_open_pipe* and usbd_set_interface. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/dev/usb

2021-06-12 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Jun 12 13:58:06 UTC 2021 Modified Files: src/sys/dev/usb: usb_subr.c usbdi.c usbdivar.h xhci.c Log Message: usb(4): Fix racy endpoint reference counting. Rules: 1. After usbd_setup_pipe*, must usbd_kill_pipe. 2. After

CVS commit: src/sys/dev/usb

2021-06-12 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Jun 12 13:57:51 UTC 2021 Modified Files: src/sys/dev/usb: usbdi.c Log Message: usb(4): Omit needless lock/unlock cycle in usbd_pipe_close. pipe->up_intrxfer is stable after construction, so no need to hold the lock to

CVS commit: src/sys/dev/usb

2021-06-12 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Jun 12 13:57:40 UTC 2021 Modified Files: src/sys/dev/usb: usbdi.c Log Message: usb(4): Cancel and wait for async task on closing pipe. XXX usbd_kill_pipe and usbd_close_pipe should not be copypasta; there should be only

CVS commit: src/sys/dev/ic

2021-06-12 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Jun 12 12:15:54 UTC 2021 Modified Files: src/sys/dev/ic: ath.c Log Message: ath(4): Use config_deactivate; don't abuse autoconf private dv_flags. To generate a diff of this commit: cvs rdiff -u -r1.134 -r1.135

CVS commit: src/sys

2021-06-12 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Jun 12 12:15:43 UTC 2021 Modified Files: src/sys/dev: ipmi.c src/sys/external/bsd/drm2/i915drm: intelfb.c Log Message: ipmi(4), intelfb(4): Use config_pending_incr/decr. Don't abuse autoconf's private (and

CVS commit: src/sys/kern

2021-06-12 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Jun 12 12:14:13 UTC 2021 Modified Files: src/sys/kern: subr_autoconf.c Log Message: autoconf(9): Must hold alldevs_lock to iterate dv_list on alldevs. To generate a diff of this commit: cvs rdiff -u -r1.283 -r1.284

CVS commit: src/sys/kern

2021-06-12 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Jun 12 12:14:03 UTC 2021 Modified Files: src/sys/kern: kern_drvctl.c Log Message: drvctl(4): Hold a deviter while issuing config_detach. Otherwise another concurrent detach -- e.g., from concurrent drvctl or from USB port

CVS commit: src/sys

2021-06-12 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Jun 12 12:13:51 UTC 2021 Modified Files: src/sys/kern: subr_autoconf.c src/sys/sys: device.h Log Message: autoconf(9): Prevent concurrent attach/detach and detach/detach. - Use config_pending_incr/decr around

CVS commit: src/sys/dev/usb

2021-06-12 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Jun 12 12:13:23 UTC 2021 Modified Files: src/sys/dev/usb: uhub.c usb_subr.c Log Message: usb(4), uhub(4): Sprinkle usbhist. To generate a diff of this commit: cvs rdiff -u -r1.149 -r1.150 src/sys/dev/usb/uhub.c cvs rdiff

CVS commit: src/sys/dev/usb

2021-06-12 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Jun 12 12:13:11 UTC 2021 Modified Files: src/sys/dev/usb: uhub.c usb.c usb_subr.c xhci.c Log Message: usb(4): Sprinkle kernel lock assertions. To generate a diff of this commit: cvs rdiff -u -r1.148 -r1.149

CVS commit: src/sys/kern

2021-06-12 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Jun 12 12:12:11 UTC 2021 Modified Files: src/sys/kern: kern_drvctl.c subr_autoconf.c Log Message: autoconf(9), drvctl(4): Sprinkle kernel lock assertions. To generate a diff of this commit: cvs rdiff -u -r1.46 -r1.47

CVS commit: src/sys/kern

2021-06-12 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Jun 12 12:11:59 UTC 2021 Modified Files: src/sys/kern: kern_drvctl.c Log Message: drvctl(4): Take the kernel lock around entry into autoconf(9). Can make this finer-grained once the rest of autoconf(9) is in good enough

CVS commit: src/sys/kern

2021-06-12 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Jun 12 12:11:49 UTC 2021 Modified Files: src/sys/kern: subr_autoconf.c Log Message: autoconf(9): Take kernel lock on various entries into autoconf. Most of autoconf still tacitly assumes the kernel lock is held. To

CVS commit: src/sys/dev/usb

2021-06-12 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Jun 12 12:11:38 UTC 2021 Modified Files: src/sys/dev/usb: usb.c Log Message: usb(4): usb event thread is not actually MP-safe. Still requires a lot of work in usb(4), uhub(4), and autoconf(9). To generate a diff of this

CVS commit: src/sys/dev/usb

2021-06-12 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Jun 12 12:11:28 UTC 2021 Modified Files: src/sys/dev/usb: usb_subr.c Log Message: usb(4): Verify dev->ud_subdevs is still there before freeing it. usbd_attachinterfaces may sleep, and if it does, it releases the kernel

CVS commit: src/sys/dev/usb

2021-06-12 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Jun 12 12:11:11 UTC 2021 Modified Files: src/sys/dev/usb: usb_subr.c Log Message: usb(4): kmem_zalloc(KM_SLEEP) cannot fail; nix error branch. To generate a diff of this commit: cvs rdiff -u -r1.250 -r1.251

CVS commit: src/sys/dev/usb

2021-06-12 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Jun 12 12:11:01 UTC 2021 Modified Files: src/sys/dev/usb: uhub.c Log Message: uhub(4): Allow only one explore/rescan at a time. Otherwise we might simultaneously attach two autoconf instances of the same device, which

CVS commit: src/sys/dev/audio

2021-06-08 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Tue Jun 8 09:46:04 UTC 2021 Modified Files: src/sys/dev/audio: audio.c Log Message: audio(4): Revert revision 1.96 and redo it another way. Instead of refusing to open /dev/audioN for writes when the device doesn't support

CVS commit: src/sbin/mount_chfs

2021-06-04 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Jun 4 22:41:36 UTC 2021 Modified Files: src/sbin/mount_chfs: mount_chfs.c mount_chfs.h Log Message: mount_chfs(8): Remove some vestiges of chewiefs name. Add RCS id while here and nix some needless whitespace. No

CVS commit: src/sys/dev/audio

2021-06-04 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Jun 4 08:57:05 UTC 2021 Modified Files: src/sys/dev/audio: audio.c Log Message: audio(4): When closing /dev/audioN, drain before removing from list. Previously, in revision 1.100, I factored the SLIST_REMOVE out of

CVS commit: src

2021-06-03 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Thu Jun 3 20:18:06 UTC 2021 Modified Files: src/share/man/man4: options.4 src/sys/uvm: files.uvm uvm_swap.c Log Message: uvm(9): Enable swap encryption by default. For machines where the performance impact of

CVS commit: src/sys/kern

2021-06-03 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Thu Jun 3 09:22:47 UTC 2021 Modified Files: src/sys/kern: kern_ksyms.c Log Message: ksyms(4): Allow multiple concurrent opens of /dev/ksyms. First one takes a snapshot; others all agree with the snapshot. Previously this

CVS commit: src/sys/kern

2021-06-02 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Thu Jun 3 01:00:24 UTC 2021 Modified Files: src/sys/kern: kern_ksyms.c Log Message: ksyms(4): Don't skip symbol tables that are soon to be freed, take 2. They will not actually be freed until /dev/ksyms is closed, so

CVS commit: src/sys/kern

2021-06-02 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Thu Jun 3 01:00:15 UTC 2021 Modified Files: src/sys/kern: kern_ksyms.c Log Message: ksyms(4): Fix race in ksymsread iteration. TAILQ_NEXT(ksyms_last_snapshot) might change while we are iterating, but ksyms_last_snapshot

CVS commit: src/sys/dev/ic

2021-06-02 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Wed Jun 2 21:35:17 UTC 2021 Modified Files: src/sys/dev/ic: tpm.c Log Message: tpm(4): Preserve error if any on ending commands. This way we don't spuriously suppress an error, such as TPM_DEACTIVATED, in a loop where we

CVS commit: src/sys/kern

2021-06-02 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Wed Jun 2 21:34:58 UTC 2021 Modified Files: src/sys/kern: kern_tc.c Log Message: timecounter(9): Zero the next pointer after tc_detach. This reverts it to a state where tc_init works again. To generate a diff of this

CVS commit: src/sys/kern

2021-06-02 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Wed Jun 2 09:23:32 UTC 2021 Modified Files: src/sys/kern: subr_psref.c Log Message: psref(9): Make use-after-free panic message more obvious. Previously it would almost always manifest as mismatched psref target

CVS commit: src/sys/kern

2021-06-02 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Wed Jun 2 08:46:17 UTC 2021 Modified Files: src/sys/kern: kern_ksyms.c Log Message: Revert "ksyms(4): Don't skip symbol tables that are soon to be freed." Apparently the equality kassert this restored doesn't work; to be

CVS commit: src/sys/dev/wscons

2021-06-01 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Tue Jun 1 23:28:07 UTC 2021 Modified Files: src/sys/dev/wscons: wsdisplay_compat_usl.c Log Message: wsdisplay(4): Use C99 initializer for usl_syncops. Avoid sketchy function pointer cast while here. To generate a diff of

CVS commit: src/sys/dev

2021-06-01 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Tue Jun 1 22:58:03 UTC 2021 Modified Files: src/sys/dev: dev_verbose.h Log Message: dev_verbose(9): Prohibit autounloading modules. This logic is not safe for autounload right now -- there's no mechanism by which to block

CVS commit: src/sys/arch/x86

2021-06-01 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Tue Jun 1 21:29:24 UTC 2021 Modified Files: src/sys/arch/x86/acpi: acpi_wakeup.c src/sys/arch/x86/x86: tsc.c tsc.h Log Message: x86: Reset cached tsc in every lwp to 0 on suspend/resume. This avoids spuriously

CVS commit: src/sys/dev/audio

2021-06-01 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Tue Jun 1 21:27:36 UTC 2021 Modified Files: src/sys/dev/audio: audio.c Log Message: audio(4): audio_unlink never fails, so make it return void. To generate a diff of this commit: cvs rdiff -u -r1.101 -r1.102

CVS commit: src/sys/dev/audio

2021-06-01 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Tue Jun 1 21:19:03 UTC 2021 Modified Files: src/sys/dev/audio: audio.c Log Message: audio(4): Insert mixers and audioctls into sc_files on open too. This is necessary so that on detach we set file->dying before any

CVS commit: src/sys/dev/audio

2021-06-01 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Tue Jun 1 21:15:37 UTC 2021 Modified Files: src/sys/dev/audio: audio.c Log Message: audio(4): No need to set file->dying when closing the file. No other file operations are possible by the time we get to audioclose. To

CVS commit: src/sys/dev/audio

2021-06-01 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Tue Jun 1 21:14:52 UTC 2021 Modified Files: src/sys/dev/audio: audio.c Log Message: audio(4): Grab sc->sc_cred under sc->sc_lock before freeing. Otherwise we may race with open, leaking a cred no longer in use and freeing a

CVS commit: src/sys/dev/audio

2021-06-01 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Tue Jun 1 21:12:47 UTC 2021 Modified Files: src/sys/dev/audio: audio.c Log Message: audio(4): Use kmem_alloc(sizeof(*p)) style. To generate a diff of this commit: cvs rdiff -u -r1.97 -r1.98 src/sys/dev/audio/audio.c Please

CVS commit: src/sys/dev/audio

2021-06-01 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Tue Jun 1 21:12:36 UTC 2021 Modified Files: src/sys/dev/audio: audio.c Log Message: audio(4): Make sure to return ENXIO if device is being detached. Don't return 0 indicating successful open of an unusable device! To

CVS commit: src/sys/dev/audio

2021-06-01 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Tue Jun 1 21:12:24 UTC 2021 Modified Files: src/sys/dev/audio: audio.c Log Message: audio(4): Set AUMODE_PLAY/RECORD only if asked _and_ supported. If one is requested and _not_ supported, fail; otherwise we might enter

CVS commit: src/sys/kern

2021-06-01 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Tue Jun 1 21:11:52 UTC 2021 Modified Files: src/sys/kern: kern_ksyms.c Log Message: ksyms(4): Don't skip symbol tables that are soon to be freed. They will not actually be freed until /dev/ksyms is closed, so continued

CVS commit: src/sys/kern

2021-06-01 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Tue Jun 1 21:11:07 UTC 2021 Modified Files: src/sys/kern: kern_ksyms.c Log Message: ksyms(4): Modify ksyms_symtabs only at IPL_HIGH. This limits the opportunities for ddb to witness an inconsistent state of the symbol table

CVS commit: src/sys/kern

2021-06-01 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Tue Jun 1 21:10:23 UTC 2021 Modified Files: src/sys/kern: kern_ksyms.c Log Message: ksyms(4): Fix ksymsread synchronization. Fixes crash on concurrent update and read of /dev/ksyms. XXX Unclear why we have to skip sd_gone

CVS commit: src/usr.bin/audio/record

2021-06-01 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Tue Jun 1 21:08:48 UTC 2021 Modified Files: src/usr.bin/audio/record: record.c Log Message: audiorecord(1): Handle read(2) return value gracefully. To generate a diff of this commit: cvs rdiff -u -r1.54 -r1.55

CVS commit: src/sys/uvm

2021-05-31 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon May 31 10:57:02 UTC 2021 Modified Files: src/sys/uvm: uvm_extern.h Log Message: uvm: Make uvm_extern.h (more) self-contained, needs sys/types.h. To generate a diff of this commit: cvs rdiff -u -r1.231 -r1.232

CVS commit: src/sys/external/bsd/drm2/include

2021-05-31 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon May 31 10:33:04 UTC 2021 Modified Files: src/sys/external/bsd/drm2/include/asm: processor.h src/sys/external/bsd/drm2/include/linux: delay.h Log Message: drm: sys/param.h, not machine/param.h, for DELAY. To

CVS commit: src/sys/dev/pckbport

2021-05-30 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun May 30 13:20:01 UTC 2021 Modified Files: src/sys/dev/pckbport: synaptics.c Log Message: synaptics(4): New sysctl knob for debug output. Set hw.synaptics.debug=1 to re-enable it; the compile-time DIAGNOSTIC option was

CVS commit: src/sys/dev/acpi

2021-05-30 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun May 30 11:24:11 UTC 2021 Modified Files: src/sys/dev/acpi: thinkpad_acpi.c Log Message: thinkpad(4): Fix evaluation of MHKA on version 2 devices. Need to pass an argument. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/dev

2021-05-30 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun May 30 11:24:02 UTC 2021 Modified Files: src/sys/dev: ld.c ldvar.h Log Message: ld(4): Block requests while suspended until resumed. Otherwise nothing stops us from continuing to feed I/O to the disk controller when it

CVS commit: src/sys

2021-05-29 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat May 29 16:49:57 UTC 2021 Modified Files: src/sys/dev/acpi: thinkpad_acpi.c src/sys/sys: power.h Log Message: Add some more Thinkpad hotkeys. To generate a diff of this commit: cvs rdiff -u -r1.51 -r1.52

  1   2   3   4   5   6   7   8   9   10   >