OpenBSD cvs log

created 2024-11-30T15:32:04Z
begin 2024-11-24T00:00:00Z
end 2024-11-25T00:00:00Z
path src/sys
commits 6

date 2024-11-24T12:58:06Z
author claudio
files src/sys/kern/kern_sig.c log diff annotate
message Do not clear P_WSLEEP in ptsigna's SIGCONT handling. cursig() no longer
stops threads while called during the sleep transition and so there is
no need to clear P_WSLEEP.
OK mpi@

date 2024-11-24T13:02:37Z
author claudio
files src/sys/kern/sched_bsd.c log diff annotate
message In setrunnable() also check for P_WSLEEP in the SSTOP case.
If a thread is quickly stopped and continued then it is possible that
all of this happens between sleep_setup and sleep_finish and so this
code needs to check for P_WSLEEP so that a still running thread is
put onto the runqueue.
OK mpi@

date 2024-11-24T13:05:14Z
author claudio
files src/sys/kern/kern_sched.c log diff annotate
message Add KASSERT on P_WSLEEP in setrunqueue() and sched_chooseproc().

P_WSLEEP indicates that the thread is still on a CPU executing and
has not yet mi_switched away to sleep. So it is a bug to make such
a thread runnable or even worse try to switch to it.
OK mpi@

date 2024-11-24T22:19:59Z
author kettenis
files src/sys/dev/fdt/rkclock.c log diff annotate
message Fix RK3399 USB clock gates.
From Paul Fertser.

ok dlg@

date 2024-11-24T22:46:54Z
author kettenis
files src/sys/dev/fdt/rkusbphy.c log diff annotate
message Add RK3399 support.

From Paul Fertser.
ok dlg@

date 2024-11-24T22:58:04Z
author kettenis
files src/sys/dev/fdt/dwmmc.c log diff annotate
message Add support for the "post-power-on-delay-ms" in the MMC power sequencing.

From Paul Fertser.