OpenBSD cvs log

created 2020-07-28T21:50:58Z
begin 2020-05-27T00:00:00Z
end 2020-05-28T00:00:00Z
path src/sys
commits 12

date 2020-05-27T02:17:23Z
author deraadt
files src/sys/dev/rnd.c log diff annotate
message Update comment block at the top to describe (a) the ring damage logic,
and (b) the boot-time acceleration.

date 2020-05-27T04:03:20Z
author dlg
files src/sys/dev/pci/if_mcx.c log diff annotate
message set up rx so packets end up at the end of the mbuf cluster.

this means if something wants to m_prepend to it later on, there's
probably a ton of space available for it. this is similar to the
changes i made on some intel nic drivers.

ok jmatthew@ and his bit of paper with a diagram of how the maths works.

date 2020-05-27T05:02:21Z
author jsg
files src/sys/dev/acpi/acpicpu.c log diff annotate
message limit clflush before monitor errata workaround to Intel

no functional change as clflush is currently only done on Intel

date 2020-05-27T05:08:53Z
author jsg
files src/sys/arch/amd64/amd64/identcpu.c log diff annotate
message don't limit clflush to Intel CPUs

discussed with deraadt@

date 2020-05-27T05:08:54Z
author jsg
files src/sys/arch/i386/i386/machdep.c log diff annotate
message don't limit clflush to Intel CPUs

discussed with deraadt@

date 2020-05-27T07:48:02Z
author jsg
files src/sys/arch/amd64/amd64/efifb.c log diff annotate
message raise max columns and rows in efifb to 160

This is the same change made in rev 1.21 to match the drm drivers.
It was reverted as Lucas Raab reported problems with inteldrm taking
over the fb with a 4k display. Lucas confirmed that this is no longer
an issue.

Prompted by a similar patch from John Carmack to raise the limits.

ok kettenis@

date 2020-05-27T11:19:28Z
author mpi
files src/sys/net/if.c log diff annotate
src/sys/net/pf_ioctl.c log diff annotate
src/sys/netinet/in.c log diff annotate
message Document the various flavors of NET_LOCK() and rename the reader version.

Since our last concurrency mistake only ioctl(2) ans sysctl(2) code path
take the reader lock. This is mostly for documentation purpose as long as
the softnet thread is converted back to use a read lock.

dlg@ said that comments should be good enough.

ok sashan@

date 2020-05-27T11:19:29Z
author mpi
files src/sys/netinet/ip_mroute.c log diff annotate
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
src/sys/sys/systm.h log diff annotate
message Document the various flavors of NET_LOCK() and rename the reader version.

Since our last concurrency mistake only ioctl(2) ans sysctl(2) code path
take the reader lock. This is mostly for documentation purpose as long as
the softnet thread is converted back to use a read lock.

dlg@ said that comments should be good enough.

ok sashan@

date 2020-05-27T14:45:56Z
author visa
files src/sys/arch/loongson/stand/boot/dev.c log diff annotate
message Fix pmon_iostrategy()

If rsize is NULL, do not update the variable. Otherwise the bootloader
will crash when it invokes libsa's fchmod().

This lets the bootloader work again after the recent loadrandom()
change. The fix should also improve the chances of sysupgrade(8) on
loongson.

Note that pmon_iostrategy() does not allow writing. fchmod() will fail
but does not prevent boot.

date 2020-05-27T15:16:05Z
author visa
files src/sys/arch/alpha/include/Attic/varargs.h log diff annotate
src/sys/arch/hppa/include/Attic/varargs.h log diff annotate
src/sys/arch/i386/include/Attic/varargs.h log diff annotate
src/sys/arch/landisk/include/Attic/varargs.h log diff annotate
src/sys/arch/loongson/include/Attic/varargs.h log diff annotate
src/sys/arch/luna88k/include/Attic/varargs.h log diff annotate
src/sys/arch/m88k/include/Attic/varargs.h log diff annotate
src/sys/arch/macppc/include/Attic/varargs.h log diff annotate
src/sys/arch/mips64/include/Attic/varargs.h log diff annotate
src/sys/arch/octeon/include/Attic/varargs.h log diff annotate
src/sys/arch/powerpc/include/Attic/varargs.h log diff annotate
src/sys/arch/sgi/include/Attic/varargs.h log diff annotate
src/sys/arch/sh/include/Attic/varargs.h log diff annotate
src/sys/arch/sparc64/include/Attic/varargs.h log diff annotate
message Retire <machine/varargs.h>.

Nothing uses the header anymore.

OK deraadt@ mpi@

date 2020-05-27T20:44:07Z
author bluhm
files src/sys/netinet/in_pcb.c log diff annotate
message Connectionless sockets like UDP can be re-connected to a different
address. In that case, the linking to the pf state must be dissolved
as the latter still contains the old address. If it is a divert
state, also remove the state as any divert state must be associated
with a matching socket. Call pf_remove_divert_state() and
pf_inp_unlink() from in_pcbconnect().
reported by Tim Kuijsten; OK sashan@ claudio@

date 2020-05-27T22:22:04Z
author gkoehler
files src/sys/arch/powerpc64/conf/Makefile.powerpc64 log diff annotate
src/sys/arch/powerpc64/conf/files.powerpc64 log diff annotate
src/sys/arch/powerpc64/include/_types.h log diff annotate
src/sys/arch/powerpc64/include/db_machdep.h log diff annotate
src/sys/arch/powerpc64/include/exec.h log diff annotate
src/sys/arch/powerpc64/include/opal.h log diff annotate
src/sys/arch/powerpc64/powerpc64/db_interface.c log diff annotate
src/sys/arch/powerpc64/powerpc64/db_trace.c log diff annotate
src/sys/arch/powerpc64/powerpc64/locore.S log diff annotate
src/sys/arch/powerpc64/powerpc64/machdep.c log diff annotate
src/sys/arch/powerpc64/powerpc64/trap.c log diff annotate
src/sys/arch/powerpc64/powerpc64/trap_subr.S log diff annotate
message Enter ddb at a trap instruction or with db_enter().

Tell make that trap_subr.S needs assym.h.
Fill in opal_cngetc() so I can type at the "ddb>" prompt.
Add enough code to trap_subr.S to "c" continue from ddb.
Give registers to ddb.
Try to load symbols from initrd.

ok kettenis@