OpenBSD cvs log

created 2018-11-29T13:31:14Z
begin 2018-04-09T00:00:00Z
end 2018-04-10T00:00:00Z
path src/sys
commits 16

date 2018-04-09T04:11:02Z
author deraadt
files src/sys/arch/alpha/alpha/trap.c log diff annotate
message Fill in FRAME_PS after the fact. What a ridiculous design decision.
It would be better if this was filled in at trap time.
ok guenther

date 2018-04-09T04:11:04Z
author deraadt
files src/sys/arch/alpha/include/cpu.h log diff annotate
message Fill in FRAME_PS after the fact. What a ridiculous design decision.
It would be better if this was filled in at trap time.
ok guenther

date 2018-04-09T04:34:56Z
author visa
files src/sys/arch/amd64/amd64/aesni.c log diff annotate
src/sys/crypto/xform.c log diff annotate
src/sys/crypto/xform.h log diff annotate
message Move some AES-related defines into xform.h to reduce duplication.
gmac.c is left untouched for now to preserve layering.

OK mikeb@, deraadt@

date 2018-04-09T09:39:53Z
author mpi
files src/sys/nfs/nfs_node.c log diff annotate
src/sys/nfs/nfs_vfsops.c log diff annotate
src/sys/nfs/nfsmount.h log diff annotate
message Change the representation of an NFS mount point by caching the root
nodes.

nfs_root() now returns a "locked" vnode, so vput(9) must be called to
release it. Note that this has currently no effect as nfs_lock/unlock
are still stubs.

This will prevent some lock odering problems with upcoming NFSnode
locking.

Tested by landry@, sthen@, visa@, naddy@ and myself.

From NetBSD with some tweaks, ok visa@

date 2018-04-09T09:53:13Z
author mpi
files src/sys/kern/sys_generic.c log diff annotate
message Call FREF() right after fd_getfile_mode() in sys_ioctl().

ok visa@, bluhm@

date 2018-04-09T09:57:13Z
author mpi
files src/sys/kern/kern_descrip.c log diff annotate
message Call finishdup() instead of rerolling it in dupfdopen().

While here call FREF() right after fd_getfile().

ok bluhm@, visa@

date 2018-04-09T09:59:32Z
author mpi
files src/sys/kern/vfs_lookup.c log diff annotate
message Do a FREF()/FRELE() dance after fd_getfile() and before calling vref(9)
in namei(9).

So we're sure the 'struct file *' won't disapear behind our back when we
go parrallel.

ok visa@, bluhm@

date 2018-04-09T13:46:15Z
author visa
files src/sys/arch/mips64/include/mips_cpu.h log diff annotate
src/sys/arch/octeon/conf/GENERIC log diff annotate
src/sys/arch/octeon/conf/files.octeon log diff annotate
src/sys/arch/octeon/dev/mainbus.c log diff annotate
src/sys/arch/octeon/dev/octcrypto.c log diff annotate
src/sys/arch/octeon/dev/octcrypto_asm.S log diff annotate
src/sys/arch/octeon/include/octeonvar.h log diff annotate
src/sys/arch/octeon/octeon/machdep.c log diff annotate
message Add a driver for the OCTEON cryptographic unit. It provides
a hardware-accelerated implementation of several encryption
and authentication algorithms for ipsec(4):

AES-CBC
AES-CTR
AES-GCM
AES-GMAC
HMAC-MD5
HMAC-SHA1
HMAC-SHA2-256
HMAC-SHA2-384
HMAC-SHA2-512

Please note that the driver is currently disabled.

OK deraadt@

date 2018-04-09T13:59:03Z
author mpi
files src/sys/kern/kern_descrip.c log diff annotate
message Revert previous, it introduced a bug found the hardway by landry@.

date 2018-04-09T18:35:13Z
author kettenis
files src/sys/arch/arm64/arm64/intr.c log diff annotate
src/sys/arch/arm64/dev/pciecam.c log diff annotate
src/sys/arch/arm64/include/intr.h log diff annotate
src/sys/dev/fdt/dwpcie.c log diff annotate
message The Open Firmware Interrupt Mapping "recommendation" says that the number
of address celss in the child unit specifier should be fetched from the
interrupt controller node. Fix this as the current code doesn't work on
the MACCHIATObin for example.

ok patrick@

date 2018-04-09T20:39:03Z
author kettenis
files src/sys/dev/fdt/xhci_fdt.c log diff annotate
message Add two more dwc3 quirks.

ok visa@, patrick@

date 2018-04-09T21:33:27Z
author kettenis
files src/sys/dev/mii/miidevs log diff annotate
message Add Marvell 88E1512.

date 2018-04-09T21:34:35Z
author kettenis
files src/sys/dev/mii/miidevs.h log diff annotate
message regen

date 2018-04-09T21:55:25Z
author kettenis
files src/sys/dev/fdt/dwpcie.c log diff annotate
message Implement support for INTx interrupts on Marvell ARMADA 7K & 8K.

date 2018-04-09T22:17:11Z
author kettenis
files src/sys/arch/arm64/arm64/trap.c log diff annotate
message Get rid of some FreeBSD leftovers (that are mostly commented out already).

date 2018-04-09T22:21:05Z
author kettenis
files src/sys/arch/arm64/arm64/syscall.c log diff annotate
src/sys/arch/arm64/arm64/trap.c log diff annotate
message Set trapframe pointer early on in do_el0_sync. This allows the use of
PROC_STACK() in the upcoming stack pointer checking diff and probably fixes
bugs where ptrace(2) and core dumps would report the wrong register state.

ok deraadt@