HomeFreeBSD

MFC r205497,208364,208405:
rS208429Unpublished

Unpublished Commit ยท Learn More

No further details are available.

Description

MFC r205497,208364,208405:

Fix a long-standing bug in the PowerPC OFW call function on SMP machines
by forcing all secondary CPUs into a busy wait with interrupts off during
the call. This bug caused ofwdump -a to hang the system.

Following section 8.4 of the Open Firmware PowerPC processor binding,
the firmware is free to overwrite the system interrupt handlers during
OF calls, restoring the OS handlers on exit. On single CPU systems, this
process is invisible to the operating system. On multiple CPU systems,
taking any exception on a secondary CPU while an OF call is in progress
ends with that exception vectored into OF, resulting in a slow movement
of the entire system into firmware context and a machine hang.

Details

Provenance
nwhitehornAuthored on
Parents
rS208428: Add a file missed by svn in r208425 (the MFC of r208149,208285)
Branches
Unknown
Tags
Unknown

Event Timeline