HomeFreeBSD

[PowerPC] Ensure ppc32 cpu_switch routines set up Secure-PLT.

Description

[PowerPC] Ensure ppc32 cpu_switch routines set up Secure-PLT.

This is a correctness fix needed to enable the ifunc conversion of the pmap
in D24993.

Since we are making function calls that may need to go through the PLT, ensure
r30 is set up correctly.

This fixes crashes when booting with D24993 applied.

Reviewed by: jhibbits (in IRC)
Sponsored by: Tag1 Consulting, Inc.

Details

Provenance
bdragonAuthored on
Parents
rS361492: Update cryptocteon(4) and nlmsec(4) for changes in r361481.
Branches
Unknown
Tags
Unknown