OpenBSD cvs log

created 2020-08-02T08:20:30Z
begin 2020-07-31T00:00:00Z
end 2020-08-01T00:00:00Z
path src/sys
commits 10

date 2020-07-31T07:11:35Z
author anton
files src/sys/dev/kcov.c log diff annotate
message Make writes to the coverage buffer MP-safe using atomic operations.
The new routine kd_claim() returns the next available entry in the
buffer. Since the first element in the buffer is reserved to hold the
number of entries, zero can be used as a sentinel value meaning that the
buffer is full.

A mere preparation for upcoming remote coverage support in which the
buffer can be accessed by multiple threads concurrently.

ok mpi@ as part of a larger diff

date 2020-07-31T10:49:32Z
author mglocker
files src/sys/dev/usb/if_atu.c log diff annotate
src/sys/dev/usb/if_aue.c log diff annotate
src/sys/dev/usb/if_axe.c log diff annotate
src/sys/dev/usb/if_axen.c log diff annotate
src/sys/dev/usb/if_bwfm_usb.c log diff annotate
src/sys/dev/usb/if_cdce.c log diff annotate
src/sys/dev/usb/if_cue.c log diff annotate
src/sys/dev/usb/if_kue.c log diff annotate
src/sys/dev/usb/if_mos.c log diff annotate
src/sys/dev/usb/if_mue.c log diff annotate
src/sys/dev/usb/if_otus.c log diff annotate
src/sys/dev/usb/if_ral.c log diff annotate
src/sys/dev/usb/if_rsu.c log diff annotate
src/sys/dev/usb/if_rum.c log diff annotate
src/sys/dev/usb/if_run.c log diff annotate
src/sys/dev/usb/if_smsc.c log diff annotate
src/sys/dev/usb/if_udav.c log diff annotate
src/sys/dev/usb/if_ugl.c log diff annotate
src/sys/dev/usb/if_upgt.c log diff annotate
src/sys/dev/usb/if_upl.c log diff annotate
message Nuke all occurrences of usbd_abort_pipe() if it gets called right
before usbd_close_pipe(), since usbd_close_pipe() already takes care
about aborting non-empty pipes.

As investigated by gerhard@ usbdi.c rev. 1.57 did add usbd_abort_pipe()
to usbd_close_pipe(), but the drivers didn't get cleaned up afterwards.

ok gerhard@

date 2020-07-31T10:49:33Z
author mglocker
files src/sys/dev/usb/if_ure.c log diff annotate
src/sys/dev/usb/if_url.c log diff annotate
src/sys/dev/usb/if_urndis.c log diff annotate
src/sys/dev/usb/if_urtwn.c log diff annotate
src/sys/dev/usb/if_wi_usb.c log diff annotate
src/sys/dev/usb/if_zyd.c log diff annotate
src/sys/dev/usb/ubcmtp.c log diff annotate
src/sys/dev/usb/ubsa.c log diff annotate
src/sys/dev/usb/uchcom.c log diff annotate
src/sys/dev/usb/ucom.c log diff annotate
src/sys/dev/usb/udl.c log diff annotate
src/sys/dev/usb/uhidev.c log diff annotate
src/sys/dev/usb/uhub.c log diff annotate
src/sys/dev/usb/ulpt.c log diff annotate
src/sys/dev/usb/umbg.c log diff annotate
src/sys/dev/usb/umcs.c log diff annotate
src/sys/dev/usb/umct.c log diff annotate
src/sys/dev/usb/umidi.c log diff annotate
src/sys/dev/usb/umodem.c log diff annotate
src/sys/dev/usb/umsm.c log diff annotate
src/sys/dev/usb/uow.c log diff annotate
src/sys/dev/usb/uplcom.c log diff annotate
src/sys/dev/usb/usb_subr.c log diff annotate
src/sys/dev/usb/usps.c log diff annotate
src/sys/dev/usb/uticom.c log diff annotate
src/sys/dev/usb/uts.c log diff annotate
src/sys/dev/usb/utvfu.c log diff annotate
src/sys/dev/usb/uvideo.c log diff annotate
src/sys/dev/usb/uvscom.c log diff annotate
src/sys/dev/usb/uxrcom.c log diff annotate
message Nuke all occurrences of usbd_abort_pipe() if it gets called right
before usbd_close_pipe(), since usbd_close_pipe() already takes care
about aborting non-empty pipes.

As investigated by gerhard@ usbdi.c rev. 1.57 did add usbd_abort_pipe()
to usbd_close_pipe(), but the drivers didn't get cleaned up afterwards.

ok gerhard@

date 2020-07-31T11:19:12Z
author kettenis
files src/sys/arch/sparc64/include/ctlreg.h log diff annotate
src/sys/arch/sparc64/sparc64/clock.c log diff annotate
src/sys/arch/sparc64/sparc64/cpu.c log diff annotate
src/sys/arch/sparc64/sparc64/locore.s log diff annotate
message On sun4u systems that have the STICK register, clear the NPT bit of the
register such that it can be accessed from userland. With this change
we can unconditionally enabled the usertc code again.

ok naddy@

date 2020-07-31T12:47:43Z
author kettenis
files src/sys/arch/arm64/conf/GENERIC log diff annotate
src/sys/dev/fdt/bcm2711_tmon.c log diff annotate
message Make sure bcmtmon(4) attaches even if it has a "syscon" compatible.

date 2020-07-31T14:48:47Z
author deraadt
files src/sys/arch/i386/conf/RAMDISK log diff annotate
message like amd64:
atapiscsi is not needed here. (well maybe it changes the behaviour of
the pciide subsystem a tiny bit at attach-time, but we don't have the
downstream cd(4) device to attach, so let's try without)

date 2020-07-31T14:58:53Z
author deraadt
files src/sys/dev/microcode/neomagic/build.c log diff annotate
src/sys/dev/microcode/neomagic/neo-coeff.h log diff annotate
src/sys/dev/pci/neoreg.h log diff annotate
message Skip making structure elements const, as it provides no benefit, and
it would require a pile of pointless de-const casts in the firmware
construction code.

date 2020-07-31T19:27:57Z
author mglocker
files src/sys/dev/usb/xhci.c log diff annotate
message In xhci_device_isoc_start() do first check if the transfer is
in-progress before we do check for the pipe being halted.

This fixes some kind of race condition for isoc devices during device
close when xp->halted gets set while usbd_start_next() still tries to
dequeue in-progress transfers which will report 'usbd_start_next:
error=13' (USBD_IOERROR).

ok mpi@

date 2020-07-31T20:14:47Z
author fcambus
files src/sys/dev/wsfont/spleen16x32.h log diff annotate
src/sys/dev/wsfont/spleen32x64.h log diff annotate
message Update Spleen kernel fonts to version 1.8.2, bringing the following
improvements:

- Fix size of the lower case 'ae' character in the 16x32 and 32x64 versions
- Shorten parentheses, square brackets, braces, slash, backslash in the
8x16 version, fixing alignment issues
- Shift vertical line and double vertical line characters one pixel
up in the 8x16 version

date 2020-07-31T20:14:48Z
author fcambus
files src/sys/dev/wsfont/spleen8x16.h log diff annotate
message Update Spleen kernel fonts to version 1.8.2, bringing the following
improvements:

- Fix size of the lower case 'ae' character in the 16x32 and 32x64 versions
- Shorten parentheses, square brackets, braces, slash, backslash in the
8x16 version, fixing alignment issues
- Shift vertical line and double vertical line characters one pixel
up in the 8x16 version