OpenBSD cvs log

created 2019-07-20T01:30:47Z
begin 2019-07-17T00:00:00Z
end 2019-07-18T00:00:00Z
path src/sys
commits 10

date 2019-07-17T02:13:43Z
author kevlo
files src/sys/dev/pci/if_xge.c log diff annotate
message Remove an unused header (dev/mii/miivar.h)

ok stsp@, jsg@

date 2019-07-17T05:51:07Z
author pd
files src/sys/arch/amd64/amd64/vmm.c log diff annotate
src/sys/arch/amd64/include/vmmvar.h log diff annotate
message vmm/vmd: Fix migration with pvclock

Implement VMM_IOC_READVMPARAMS and VMM_IOC_WRITEVMPARAMS ioctls to read and
write pvclock state.

reads ok mlarkin@

date 2019-07-17T07:54:18Z
author jsg
files src/sys/dev/pci/drm/i915/i915_drv.c log diff annotate
message don't free dev_priv (softc) in i915_driver_load() error path

date 2019-07-17T14:36:32Z
author visa
files src/sys/arch/octeon/compile/BOOT/Makefile log diff annotate
src/sys/arch/octeon/conf/BOOT log diff annotate
src/sys/arch/octeon/conf/files.octeon log diff annotate
src/sys/arch/octeon/dev/octboot.c log diff annotate
src/sys/arch/octeon/include/conf.h log diff annotate
src/sys/arch/octeon/include/octboot.h log diff annotate
src/sys/arch/octeon/include/octeonvar.h log diff annotate
src/sys/arch/octeon/octeon/conf.c log diff annotate
src/sys/arch/octeon/octeon/locore.S log diff annotate
src/sys/arch/octeon/octeon/machdep.c log diff annotate
src/sys/arch/octeon/stand/rdboot/Makefile log diff annotate
src/sys/arch/octeon/stand/rdboot/cmd.c log diff annotate
src/sys/arch/octeon/stand/rdboot/cmd.h log diff annotate
src/sys/arch/octeon/stand/rdboot/disk.c log diff annotate
src/sys/arch/octeon/stand/rdboot/disk.h log diff annotate
src/sys/arch/octeon/stand/rdboot/rdboot.c log diff annotate
src/sys/arch/octeon/stand/rdboot/vars.c log diff annotate
message Add a bootloader for octeon.

The firmware on OCTEON machines usually does not provide an interface
for accessing devices, which has made it tricky to implement an OpenBSD
bootloader. To solve this device access problem, this new loader has
been built on top of a small kernel. The kernel provides all the
necessary devices drivers, while most of the usual bootloader logic
is in a userspace program in a ramdisk.

The loader program is accompanied by a special device, octboot(4).
The main purpose of this device is to implement a mechanism for
loading and launching kernels. The mechanism has been inspired by Linux'
kexec(2) system call.

The bootloader will be enabled later when it is ready for general use.

Discussed with deraadt@

date 2019-07-17T14:47:42Z
author visa
files src/sys/arch/octeon/octeon/machdep.c log diff annotate
message Adjust search of symbol table pointers to match with the bootloader.

date 2019-07-17T14:51:06Z
author visa
files src/sys/arch/octeon/conf/BOOT log diff annotate
message Disable for now.

date 2019-07-17T16:46:17Z
author mpi
files src/sys/net/if_bpe.c log diff annotate
src/sys/net/if_bridge.c log diff annotate
src/sys/net/if_ethersubr.c log diff annotate
src/sys/net/if_gre.c log diff annotate
message Introduce ETHER_IS_BROADCAST/ANYADDR/EQ() and use them where appropriate.

ok dlg@, sthen@, millert@

date 2019-07-17T16:46:18Z
author mpi
files src/sys/netinet/if_ether.c log diff annotate
src/sys/netinet/if_ether.h log diff annotate
message Introduce ETHER_IS_BROADCAST/ANYADDR/EQ() and use them where appropriate.

ok dlg@, sthen@, millert@

date 2019-07-17T18:52:46Z
author bluhm
files src/sys/net/pfkeyv2.c log diff annotate
message Convert struct pkpcb malloc(9) to pool_get(9). PCB for pfkey is
only used in process context, so pass PR_WAITOK to pool_init(9).
The possible sleep in pool_put(9) should not hurt as pfkeyv2_detach()
is only called by soclose(9). As both pr_attach() and pr_detach()
are always called with kernel lock, PR_RWLOCK is not needed.
OK mpi@

date 2019-07-17T19:57:32Z
author bluhm
files src/sys/net/rtsock.c log diff annotate
message Convert struct rtpcb malloc(9) to pool_get(9). PCB for routing
socket is only used in process context, so pass PR_WAITOK to
pool_init(9). The possible sleep in pool_put(9) should not hurt
as route_detach() is only called by soclose(9). As both pr_attach()
and pr_detach() are always called with kernel lock, PR_RWLOCK is
not needed.
OK mpi@