OpenBSD cvs log

created 2020-01-11T17:34:56Z
begin 2020-01-04T00:00:00Z
end 2020-01-05T00:00:00Z
path src/sys
commits 13

date 2020-01-04T01:34:24Z
author jsg
files src/sys/arch/amd64/pci/pchb.c log diff annotate
src/sys/arch/i386/pci/pchb.c log diff annotate
src/sys/dev/pci/amas.c log diff annotate
src/sys/dev/pci/azalia.c log diff annotate
src/sys/dev/pci/ccp_pci.c log diff annotate
src/sys/dev/pci/kate.c log diff annotate
src/sys/dev/pci/km.c log diff annotate
src/sys/dev/pci/ksmn.c log diff annotate
src/sys/dev/pci/mmuagp.c log diff annotate
src/sys/dev/pci/pcidevs log diff annotate
message remove AMD64 strings from pcidevs

ok mortimer@ mpi@ deraadt@

date 2020-01-04T01:35:32Z
author jsg
files src/sys/dev/pci/pcidevs.h log diff annotate
src/sys/dev/pci/pcidevs_data.h log diff annotate
message regen

date 2020-01-04T03:17:56Z
author aoyama
files src/sys/arch/luna88k/luna88k/machdep.c log diff annotate
message Ignore 'hardware lied' interrupt in do-while loop, same as first
time processing. That was sometimes observed when the system get
heavy load, like 'make -j N build'.

date 2020-01-04T09:38:27Z
author anton
files src/sys/kern/sys_pipe.c log diff annotate
message Eliminate some minor differences between pipe_read() and pipe_write():

* Sort local variables by size, name
* No need to initialize error in pipe_write()

ok millert@ visa@

date 2020-01-04T11:35:03Z
author mpi
files src/sys/dev/usb/if_upgt.c log diff annotate
message UPGT_USB_TIMEOUT is specified in msec not in ticks, correct the timeout
value of the sleep by using tsleep_nsec(9).

ok mglocker@

date 2020-01-04T11:36:05Z
author mpi
files src/sys/dev/usb/uow.c log diff annotate
message Convert sleep to tsleep_nsec(9).

ok bluhm@

date 2020-01-04T11:37:33Z
author mpi
files src/sys/dev/usb/ugen.c log diff annotate
message Convert sleep to tsleep_nsec(9) and use unique sleeping identifiers.

ok bluhm@

date 2020-01-04T11:40:56Z
author mpi
files src/sys/dev/usb/uhidev.c log diff annotate
message Prevent use-after-free in uhidev_close().

Close pipes before freeing transfers, otherwise accessing elements in
pipe->queue, like in usbd_abort_pipe(), will result in a crash.

Problem reported by reyk@, ok visa@

date 2020-01-04T13:07:55Z
author jsg
files src/sys/dev/pci/drm/drm_drv.c log diff annotate
src/sys/dev/pci/drm/drm_ioctl.c log diff annotate
src/sys/dev/pci/drm/include/drm/drm_device.h log diff annotate
message remove unused TIOCSPGRP / TIOCGPGRP cases in drm

async/SIGIO use likely came from DR1 context swapping for the "gamma"
driver for 3dlabs GMX 2000, removed from the old upstream drm cvs
repository in 2004:

commit 1430163b4bbf7b00367ea1066c1c5fe85dbeefed
Author: Dave Airlie
Date: Sun Aug 29 12:04:35 2004 +0000

Drop GAMMA DRM from a great height ...

linux in 2005:

commit 1fad99499afdd2730adb1d53413b91580b1f0662
Author: Dave Airlie
Date: Fri Aug 5 22:40:34 2005 +1000

drm: remove the gamma driver

and further remaining async bits removed from linux in 2013 with

commit b0e898ac555e96e7863a5ee95d70f3625f1db5e2
Author: Daniel Vetter
Date: Thu Aug 8 15:41:23 2013 +0200

drm: remove FASYNC support

pointed out by claudio@ ok visa@ kettenis@

date 2020-01-04T16:17:29Z
author beck
files src/sys/uvm/uvm_amap.c log diff annotate
src/sys/uvm/uvm_anon.c log diff annotate
src/sys/uvm/uvm_anon.h log diff annotate
message Add uvm_anfree_list() to free anons as a list of pages. Use this in
the amap code to free pages as a list instead of one at a time to
allow for more efficient freeing.

Most of the work done at elk lakes, with testing by me and mlarkin
and kettenis. Speeds up a test program which zeros a big pile of memory
and then exits considerably.

ok kettenis@

date 2020-01-04T16:22:36Z
author beck
files src/sys/ufs/ffs/ffs_softdep.c log diff annotate
message Call process_worklist_item with LK_NOWAIT to skip locked vnodes from
within softdep_process_worklist. When this is called from the syncer
a vnode may be legtitimately locked by someone waiting for buffers
so we need to skip anything locked. FreeBSD appears to have a similar
change. This avoids a deadlock where the syncer ends up waiting for
the inode lock that his held by someone waiting for buffer space.

Found by bluhm@ and some genua folks
ok bluhm@

date 2020-01-04T18:32:15Z
author kettenis
files src/sys/arch/sparc64/include/boot_flag.h log diff annotate
src/sys/arch/sparc64/stand/ofwboot/boot.c log diff annotate
src/sys/arch/sparc64/stand/ofwboot/vers.c log diff annotate
message Remove BOOT_FLAGS and simplify the boot blocks logic.

From miod@

date 2020-01-04T23:43:54Z
author kn
files src/sys/arch/sparc64/sparc64/autoconf.c log diff annotate
message Update comment on port WWN check

No object change; I forgot to commit this together with

sys/dev/pci/mpii.c
revision 1.125
date: 2020/01/03 08:39:31; author: kn; state: Exp; lines: +10 -1;
Fix RAID volume WWIDs for LSI controllers on sparc64

Some controllers generate 128 bit WWIDs for RAID volumes but only has a
bit field to report it to the host, so it only puts the
vendor-specified part here (last half of ID string printed when sd*
attaches matches sl->port_wwn in reverse).

As such IDs are not IEEE NAA compliant, OpenBoot PROM -at least on SPARC-
sets the highest nibble to three by convention to mark such volumes as
RAID volumes so that the OS (Solaris) may identify it as such.

This is the last missing piece to make booting off hardware RAID on sparc64
just work; autoconf(9) is now able to match the port WWN against the
bootpath to eventually identify the volume as the root device.

Feedback jmatthew deraadt
OK jmatthew