OpenBSD cvs log

created 2018-11-29T14:38:39Z
begin 2018-05-02T00:00:00Z
end 2018-05-03T00:00:00Z
path src/sys
commits 12

date 2018-05-02T01:59:34Z
author visa
files src/sys/kern/subr_witness.c log diff annotate
message Record lock type even if witness is disabled. The value will be needed
if the lock becomes watched later.

date 2018-05-02T02:24:55Z
author visa
files src/sys/arch/sparc64/dev/vdsp.c log diff annotate
src/sys/dev/diskmap.c log diff annotate
src/sys/dev/softraid.c log diff annotate
src/sys/isofs/cd9660/cd9660_lookup.c log diff annotate
src/sys/isofs/cd9660/cd9660_vfsops.c log diff annotate
src/sys/isofs/udf/udf_vfsops.c log diff annotate
message Remove proc from the parameters of vn_lock(). The parameter is
unnecessary because curproc always does the locking.

OK mpi@

date 2018-05-02T02:24:56Z
author visa
files src/sys/isofs/udf/udf_vnops.c log diff annotate
src/sys/kern/exec_script.c log diff annotate
src/sys/kern/kern_descrip.c log diff annotate
src/sys/kern/spec_vnops.c log diff annotate
src/sys/kern/tty.c log diff annotate
src/sys/kern/tty_tty.c log diff annotate
src/sys/kern/vfs_cache.c log diff annotate
src/sys/kern/vfs_getcwd.c log diff annotate
src/sys/kern/vfs_lookup.c log diff annotate
src/sys/kern/vfs_subr.c log diff annotate
src/sys/kern/vfs_syscalls.c log diff annotate
src/sys/kern/vfs_vnops.c log diff annotate
src/sys/miscfs/fifofs/fifo_vnops.c log diff annotate
src/sys/miscfs/fuse/fuse_lookup.c log diff annotate
src/sys/miscfs/fuse/fuse_vnops.c log diff annotate
src/sys/msdosfs/msdosfs_denode.c log diff annotate
src/sys/msdosfs/msdosfs_lookup.c log diff annotate
src/sys/msdosfs/msdosfs_vfsops.c log diff annotate
src/sys/msdosfs/msdosfs_vnops.c log diff annotate
src/sys/nfs/nfs_serv.c log diff annotate
src/sys/nfs/nfs_vfsops.c log diff annotate
src/sys/nfs/nfs_vnops.c log diff annotate
src/sys/ntfs/ntfs_vfsops.c log diff annotate
src/sys/ntfs/ntfs_vnops.c log diff annotate
src/sys/sys/vnode.h log diff annotate
src/sys/tmpfs/tmpfs_subr.c log diff annotate
src/sys/tmpfs/tmpfs_vnops.c log diff annotate
src/sys/ufs/ext2fs/ext2fs_lookup.c log diff annotate
src/sys/ufs/ext2fs/ext2fs_vfsops.c log diff annotate
src/sys/ufs/ext2fs/ext2fs_vnops.c log diff annotate
src/sys/ufs/ffs/ffs_softdep.c log diff annotate
src/sys/ufs/ffs/ffs_vfsops.c log diff annotate
src/sys/ufs/ufs/ufs_lookup.c log diff annotate
src/sys/ufs/ufs/ufs_quota.c log diff annotate
src/sys/ufs/ufs/ufs_vnops.c log diff annotate
src/sys/uvm/uvm_vnode.c log diff annotate
message Remove proc from the parameters of vn_lock(). The parameter is
unnecessary because curproc always does the locking.

OK mpi@

date 2018-05-02T07:19:45Z
author tb
files src/sys/netinet6/in6.c log diff annotate
src/sys/netinet6/ip6_mroute.c log diff annotate
src/sys/netinet6/nd6.c log diff annotate
message Push the NET_LOCK() down in in6_control() similar to what was done
for in_control(). Protect mrt6_ioctl() and nd6_ioctl() with a read
lock and in6_ioctl with the NET_LOCK() while establishing a single
exit point.

tested by kn
ok florian, mpi, visa

date 2018-05-02T12:40:52Z
author tb
files src/sys/netinet/in.c log diff annotate
message Split out the handling of SIOCGIF* into a new function, in_ioctl_get(),
that only needs the read lock.

ok visa, mpi

date 2018-05-02T13:20:12Z
author kettenis
files src/sys/dev/ic/com.c log diff annotate
src/sys/dev/ic/comreg.h log diff annotate
src/sys/dev/ic/comvar.h log diff annotate
message Revert previous commit; the XR17V35X probe that was added accesses registers
that aren't guaranteed to be there and may even belong to a different device.
This triggers a fault on hppa machines like the C3000 for example.

date 2018-05-02T15:16:31Z
author patrick
files src/sys/arch/arm64/conf/files.arm64 log diff annotate
src/sys/arch/armv7/conf/files.armv7 log diff annotate
src/sys/dev/ofw/ofw_power.c log diff annotate
src/sys/dev/ofw/ofw_power.h log diff annotate
message Implement a power domain framework to turn on/off so-called power
domains. This mechanism is used by the newer i.MX8M SoCs so that
drivers can call into ATF to supply power to e.g. a USB port.

ok kettenis@

date 2018-05-02T15:17:30Z
author patrick
files src/sys/arch/arm64/conf/GENERIC log diff annotate
src/sys/arch/arm64/conf/RAMDISK log diff annotate
src/sys/arch/arm64/include/cpufunc.h log diff annotate
src/sys/dev/fdt/files.fdt log diff annotate
src/sys/dev/fdt/imxpd.c log diff annotate
message Add imxpd(4) which is a power domain controller driver that
essentially calls into ATF to make it supply power.

ok kettenis@

date 2018-05-02T15:17:45Z
author patrick
files src/sys/dev/fdt/xhci_fdt.c log diff annotate
message Enable power domain for xhci(4).

ok kettenis@

date 2018-05-02T16:09:08Z
author visa
files src/sys/arch/octeon/conf/files.octeon log diff annotate
message Fix build. The power domain API is needed by r1.9 of xhci_fdt.c.

date 2018-05-02T19:11:01Z
author phessler
files src/sys/dev/pci/puc.c log diff annotate
src/sys/dev/pci/pucdata.c log diff annotate
src/sys/dev/pci/pucvar.h log diff annotate
message Continue kettenis@'s revert:

Revert previous commit; the XR17V35X probe that was added accesses registers
that aren't guaranteed to be there and may even belong to a different device.
This triggers a fault on hppa machines like the C3000 for example.

date 2018-05-02T21:28:01Z
author bluhm
files src/sys/netinet/ip_ah.c log diff annotate
src/sys/netinet/ip_esp.c log diff annotate
src/sys/netinet/ip_ipcomp.c log diff annotate
message Do not assume that mbufs within a chain do not have M_PKTHDR set.
This could happen during fragment reassembly. Better check if we
are dealing with the first mbuf of the chain.
m_adj() changes the length of the mbuf, obviously. So when using
this length to calulate the amount of adjustment, do not calculate
it again after m_adj() with wrong input. Use a temporary variable
to save the value.
from Maxime Villard, NetBSD; OK markus@ claudio@