OpenBSD cvs log

created 2019-05-08T03:52:16Z
begin 2017-12-11T00:00:00Z
end 2017-12-12T00:00:00Z
path src/sys
commits 8

date 2017-12-11T00:15:50Z
author kettenis
files src/sys/arch/sparc64/sparc64/cpu.c log diff annotate
message Use correct mask to derive portid from "reg" property in cpu_match.
Use cpu_myid() since it makes the coe more obvious.

date 2017-12-11T05:27:40Z
author deraadt
files src/sys/arch/alpha/alpha/machdep.c log diff annotate
src/sys/arch/amd64/amd64/machdep.c log diff annotate
src/sys/arch/arm/arm/arm32_machdep.c log diff annotate
src/sys/arch/arm64/arm64/machdep.c log diff annotate
src/sys/arch/hppa/hppa/machdep.c log diff annotate
src/sys/arch/i386/i386/machdep.c log diff annotate
src/sys/arch/landisk/landisk/machdep.c log diff annotate
src/sys/arch/loongson/loongson/machdep.c log diff annotate
src/sys/arch/luna88k/luna88k/machdep.c log diff annotate
src/sys/arch/macppc/macppc/machdep.c log diff annotate
src/sys/arch/octeon/octeon/machdep.c log diff annotate
src/sys/arch/sgi/sgi/machdep.c log diff annotate
src/sys/arch/socppc/socppc/machdep.c log diff annotate
src/sys/arch/sparc64/sparc64/machdep.c log diff annotate
src/sys/ddb/db_command.c log diff annotate
src/sys/isofs/cd9660/cd9660_vfsops.c log diff annotate
src/sys/isofs/udf/udf_vfsops.c log diff annotate
src/sys/kern/vfs_init.c log diff annotate
src/sys/kern/vfs_subr.c log diff annotate
src/sys/kern/vfs_syscalls.c log diff annotate
src/sys/miscfs/fuse/fuse_vfsops.c log diff annotate
src/sys/msdosfs/msdosfs_vfsops.c log diff annotate
src/sys/nfs/nfs_vfsops.c log diff annotate
src/sys/ntfs/ntfs_vfsops.c log diff annotate
src/sys/sys/mount.h log diff annotate
src/sys/sys/vnode.h log diff annotate
src/sys/tmpfs/tmpfs_vfsops.c log diff annotate
src/sys/ufs/ext2fs/ext2fs_vfsops.c log diff annotate
src/sys/ufs/ffs/ffs_vfsops.c log diff annotate
src/sys/ufs/mfs/mfs_vfsops.c log diff annotate
message In uvm Chuck decided backing store would not be allocated proactively
for blocks re-fetchable from the filesystem. However at reboot time,
filesystems are unmounted, and since processes lack backing store they
are killed. Since the scheduler is still running, in some cases init is
killed... which drops us to ddb [noted by bluhm]. Solution is to convert
filesystems to read-only [proposed by kettenis]. The tale follows:
sys_reboot() should pass proc * to MD boot() to vfs_shutdown() which
completes current IO with vfs_busy VB_WRITE|VB_WAIT, then calls VFS_MOUNT()
with MNT_UPDATE | MNT_RDONLY, soon teaching us that *fs_mount() calls a
copyin() late... so store the sizes in vfsconflist[] and move the copyin()
to sys_mount()... and notice nfs_mount copyin() is size-variant, so kill
legacy struct nfs_args3. Next we learn ffs_mount()'s MNT_UPDATE code is
sharp and rusty especially wrt softdep, so fix some bugs adn add
~MNT_SOFTDEP to the downgrade. Some vnodes need a little more help,
so tie them to &dead_vnops.

ffs_mount calling DIOCCACHESYNC is causing a bit of grief still but
this issue is seperate and will be dealt with in time.
couple hundred reboots by bluhm and myself, advice from guenther and
others at the hut

date 2017-12-11T14:11:22Z
author bluhm
files src/sys/kern/vfs_subr.c log diff annotate
message Format the vnode lists of ddb show mount properly in columns.
OK krw@

date 2017-12-11T17:13:34Z
author deraadt
files src/sys/ufs/ffs/ffs_vfsops.c log diff annotate
message Disable DIOCCACHESYNC code, which I believe does the opposite
and can cause pending IO's on wd(4) to be thrown away. Still
trying to find a solution.

date 2017-12-11T22:23:00Z
author stsp
files src/sys/net80211/ieee80211_output.c log diff annotate
message Omit the PMKID count field from RSN information elements (IE) if the PMKID
list has zero elements and PMKID would be the last field in the RSN IE.

This is correct as per 802.11-2012 8.4.2.27.1 and aligns net80211 code with
behaviour of bwfm(4) firmware, unblocking further progress in that driver.

ok patrick@ phessler@

date 2017-12-11T23:24:58Z
author kettenis
files src/sys/dev/fdt/sxiccmu.c log diff annotate
message Implement support for the "next-generation" clock bindings for the
Allwinner A80.

date 2017-12-11T23:24:59Z
author kettenis
files src/sys/dev/fdt/sxiccmu_clocks.h log diff annotate
message Implement support for the "next-generation" clock bindings for the
Allwinner A80.

date 2017-12-11T23:31:16Z
author jca
files src/sys/sys/time.h log diff annotate
message Proper do {} while (0) idiom in TIMESPEC_TO_TIMEVAL/TIMEVAL_TO_TIMESPEC

From Scott Cheloha, ok tb@