HomeFreeBSD

Call platform_smp_ap_init before decr_ap_init

Description

Call platform_smp_ap_init before decr_ap_init

In platform_smp_ap_init we are doing some crucial code (eg. set LPCR register)
which have influence over further execution.

Practiculary in PowerNV platform we have experienced Data Storage Interrupt
before we set apropriate LPCR. It caused code execution from location which was
legal in bootloader (petitboot based on linux) but illegal in FreeBSD

Details

Provenance
wmaAuthored on
Parents
rS328112: PPC64: fix TOC behavior on process initialization
Branches
Unknown
Tags
Unknown