OpenBSD cvs log

created 2023-08-27T07:15:15Z
begin 2023-08-19T00:00:00Z
end 2023-08-20T00:00:00Z
path src/sys
commits 2

date 2023-08-19T00:47:51Z
author gkoehler
files src/sys/arch/powerpc64/powerpc64/cpu.c log diff annotate
message Check for powerpc64 cores that fail to start

If the core failed to start (because opal_start_cpu didn't return
OPAL_SUCCESS), or failed to identify, then don't use the core.

Eduardo Pires told ppc@ in April 2023 about a machine that froze at
boot; cpu1 had failed to start with error -14 OPAL_WRONG_STATE. See
https://marc.info/?l=openbsd-ppc&m=168106893329069&w=2

ok miod@

date 2023-08-19T11:14:11Z
author claudio
files src/sys/kern/sched_bsd.c log diff annotate
message Refetch the spc pointer after cpu_switchto() since the value is stale
after the proc switch. With the value refetched the rest of the code
can be simplified.
Input guenther@, OK cheloha@, miod@