OpenBSD cvs log

created 2023-07-23T19:35:26Z
begin 2023-07-16T00:00:00Z
end 2023-07-17T00:00:00Z
path src/sys
commits 4

date 2023-07-16T03:01:31Z
author yasuoka
files src/sys/kern/kern_sysctl.c log diff annotate
src/sys/sys/mbuf.h log diff annotate
message Make the mbstat preserve the same size which is actually used. Also
revert the previous that the mbstat is located on the stack.

ok claudio

date 2023-07-16T09:33:18Z
author kettenis
files src/sys/dev/usb/xhci.c log diff annotate
message When detaching devices when we suspend, we need to continue processing
command completion events. So only return early in xhci_softintr() if
the controller is dead instead of dying. This fixes USB suspend/resume
in Apple M1/M2.

ok mlarkin@, deraadt@

date 2023-07-16T16:11:11Z
author kettenis
files src/sys/arch/arm64/dev/aplsmc.c log diff annotate
message Read out the system power consumption immediately after wakeup and print
it out in the DVACT_WAKEUP phase. This is a debugging aid to help us
drive down the power consumption in suspend.

ok deraadt@

date 2023-07-16T16:13:46Z
author kettenis
files src/sys/arch/arm64/arm64/cpu.c log diff annotate
message Remove debug printfs that print the number of wakeups seen by the
individual CPUs. Ever since we switched from WFE to WFE in the suspend
loops the information hasn't been very useful anymore. And there is some
evidence that a printf here causes problems with syslog (e.g. running
xconsole under X).

ok deraadt@