OpenBSD cvs log

created 2020-02-09T18:47:12Z
begin 2020-02-05T00:00:00Z
end 2020-02-06T00:00:00Z
path src/sys
commits 18

date 2020-02-05T10:12:38Z
author mpi
files src/sys/kern/kern_sched.c log diff annotate
message Remove dead store, from Amit Kulkarni.

date 2020-02-05T10:19:19Z
author patrick
files src/sys/dev/pci/pcidevs log diff annotate
message Add some more Gemini Lake IDs.

from James Hastings

date 2020-02-05T10:19:34Z
author patrick
files src/sys/dev/pci/pcidevs.h log diff annotate
src/sys/dev/pci/pcidevs_data.h log diff annotate
message regen

date 2020-02-05T10:21:17Z
author mpi
files src/sys/dev/ic/com.c log diff annotate
message Detach timeouts and the softint handler before freeing memory.

As more and more teardown functions include barriers, or any kind of
context change, it is unsafe to continue to assume that such code paths
are atomic. So a good practise is to only free descriptor when we're
sure that no other context can access them.

Found while looking at visa@'s ttkqflush() replacement diff. The same
pattern is present in many USB drivers as found with Peter Stuge.

ok visa@

date 2020-02-05T10:33:20Z
author patrick
files src/sys/dev/pci/pcidevs log diff annotate
message Add Pericom PI7C9X2G404EL PCIe Packet Switch

date 2020-02-05T10:34:01Z
author patrick
files src/sys/dev/pci/pcidevs.h log diff annotate
src/sys/dev/pci/pcidevs_data.h log diff annotate
message regen

date 2020-02-05T10:40:37Z
author ratchov
files src/sys/kern/kern_pledge.c log diff annotate
message Allow programs with the "audio" promise to use the AUDIO_MIXER_xxx ioctls.

ok semarie, deraadt

date 2020-02-05T11:26:52Z
author patrick
files src/sys/dev/pci/pcidevs log diff annotate
message Add some more Apollo Lake PCI IDs.

date 2020-02-05T11:27:06Z
author patrick
files src/sys/dev/pci/pcidevs.h log diff annotate
message regen

date 2020-02-05T11:27:07Z
author patrick
files src/sys/dev/pci/pcidevs_data.h log diff annotate
message regen

date 2020-02-05T14:26:26Z
author ratchov
files src/sys/dev/usb/uaudio.c log diff annotate
message Fix confusion between minimum and maximum samples-per-frame.

This may fix rare stuttering caused by underruns in case device clock
drifts with respect to the bus clock.

date 2020-02-05T14:50:57Z
author patrick
files src/sys/dev/pci/pcidevs log diff annotate
message Add some more Apollo Lake PCI IDs.

date 2020-02-05T14:51:29Z
author patrick
files src/sys/dev/pci/pcidevs.h log diff annotate
src/sys/dev/pci/pcidevs_data.h log diff annotate
message regen

date 2020-02-05T16:01:32Z
author deraadt
files src/sys/dev/usb/umsm.c log diff annotate
message Very old firmware umsm devices don't work as umb(4), so I made them work
as umsm(4). But the discrimination in the driver match functions is
obviously weak in some way, so skip this for now. We need to figure out
how to identify the retrogrades better.

date 2020-02-05T16:29:29Z
author krw
files src/sys/arch/luna88k/dev/spc.c log diff annotate
src/sys/arch/sgi/hpc/wdsc.c log diff annotate
src/sys/arch/sparc64/dev/vdsk.c log diff annotate
src/sys/dev/vscsi.c log diff annotate
src/sys/dev/ata/atascsi.c log diff annotate
src/sys/dev/ic/aac.c log diff annotate
src/sys/dev/ic/aic6250.c log diff annotate
src/sys/dev/ic/aic6360.c log diff annotate
src/sys/dev/ic/ncr53c9x.c log diff annotate
src/sys/dev/ic/nvme.c log diff annotate
src/sys/dev/ic/osiop.c log diff annotate
src/sys/dev/ic/qla.c log diff annotate
message Nuke unnecessary abstraction 'scsi_minphys()' which just calls
'minphys()'. Just use & check for NULL instead, since 'minphys()' is
always called on the code path ([cd|sd|st]minphys) that calls
physio().

date 2020-02-05T16:29:30Z
author krw
files src/sys/dev/ic/qlw.c log diff annotate
src/sys/dev/pci/ips.c log diff annotate
src/sys/dev/pci/mfii.c log diff annotate
src/sys/dev/pci/mpii.c log diff annotate
src/sys/dev/pci/qle.c log diff annotate
src/sys/dev/pci/vmwpvs.c log diff annotate
src/sys/dev/pv/hvs.c log diff annotate
src/sys/dev/pv/vioblk.c log diff annotate
src/sys/dev/pv/vioscsi.c log diff annotate
src/sys/dev/pv/xbf.c log diff annotate
src/sys/scsi/cd.c log diff annotate
src/sys/scsi/mpath.c log diff annotate
src/sys/scsi/scsiconf.c log diff annotate
src/sys/scsi/scsiconf.h log diff annotate
src/sys/scsi/sd.c log diff annotate
src/sys/scsi/sdvar.h log diff annotate
src/sys/scsi/st.c log diff annotate
message Nuke unnecessary abstraction 'scsi_minphys()' which just calls
'minphys()'. Just use & check for NULL instead, since 'minphys()' is
always called on the code path ([cd|sd|st]minphys) that calls
physio().

date 2020-02-05T17:03:13Z
author visa
files src/sys/kern/kern_descrip.c log diff annotate
src/sys/kern/kern_event.c log diff annotate
message Move kernel locking inside knote_fdclose() from finishdup() and
fdrelease(). This makes the upper layer of file descriptor closing
free of KERNEL_LOCK() when the process does not use kqueue.

The kernel locking around fdremove() and knote_fdclose() is no longer
needed because kqueue_register() checks if there has been a race with
file descriptor close. Moreover, the locking became ineffective against
these races when filterops callbacks were allowed to sleep.

OK anton@, mpi@

date 2020-02-05T21:50:41Z
author krw
files src/sys/scsi/mpath.c log diff annotate
message Ooops. Missed a file in nuke of scsi_minphys. mpath_minphys() needs to
check dev_minphys for NULL before calling it.