Check for powerpc64 cores that fail to start
authorgkoehler <gkoehler@openbsd.org>
Sat, 19 Aug 2023 00:47:51 +0000 (00:47 +0000)
committergkoehler <gkoehler@openbsd.org>
Sat, 19 Aug 2023 00:47:51 +0000 (00:47 +0000)
commit0212dafaaa86499da8b60526cf0a093806466421
treed2ceb7c44f47676a08a9f630d6e4d1875031ed52
parent7ac65e42df49939d5fe4ca763337d4e459ce404c
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@
sys/arch/powerpc64/powerpc64/cpu.c