OpenBSD cvs log

created 2019-10-20T12:04:49Z
begin 2019-10-15T00:00:00Z
end 2019-10-16T00:00:00Z
path src/sys
commits 4

date 2019-10-15T03:31:35Z
author visa
files src/sys/dev/usb/xhcireg.h log diff annotate
message Fix compiler's view of the alignment of xhci structs. Because the struct
fields are naturally aligned, it is enough to remove __packed.

This lets the compiler generate saner machine code. In particular, now
the compiler does not use lwl/lwr and swl/swr instructions on mips64
for changing xhci descriptors. The descriptors are properly aligned in
memory, so lwl/lwr and swl/swr end up doing a redundant load or store.

Feedback from guenther@ deraadt@
Tested on amd64 by krw@
OK mpi@ krw@ kettenis@

date 2019-10-15T05:21:16Z
author jmatthew
files src/sys/arch/sparc64/sparc64/autoconf.c log diff annotate
message Try to match the devid against the bootpath if link->port_wwn doesn't
work. mpii(4) controllers tend not to provide the right wwn for sata devices,
so this helps if we happen to be booting off one of those.

ok dlg@ kettenis@

date 2019-10-15T10:05:43Z
author mpi
files src/sys/arch/m88k/m88k/m88k_machdep.c log diff annotate
src/sys/kern/kern_fork.c log diff annotate
src/sys/kern/kern_sched.c log diff annotate
src/sys/kern/kern_synch.c log diff annotate
src/sys/kern/sched_bsd.c log diff annotate
src/sys/sys/sched.h log diff annotate
message Reduce the number of places where `p_priority' and `p_stat' are set.

This refactoring will help future scheduler locking, in particular to
shrink the SCHED_LOCK().

No intended behavior change.

ok visa@

date 2019-10-15T10:13:03Z
author mpi
files src/sys/arch/sparc64/sparc64/db_trace.c log diff annotate
message Fix db_stack_dump() w/ custom addr & implement db_save_stack_trace().

Substract the BIAS from the `addr' argument since the unwinding
algorithm assumes the given frame address doesn't include it.

In other words, account for the BIAS added by __builtin_frame_address().

Inputs from and ok kettenis@