HomeFreeBSD

powerpc/powernv: Fix OPAL cfgread/cfgwrite error handling

Description

powerpc/powernv: Fix OPAL cfgread/cfgwrite error handling

Freeze clearing needs to heppen any time OPAL reads return either an error
(except OPAL_HARDWARE), AND any time it returns 0xff for all bytes.

For cfgwrite, any error that's not OPAL_HARDWARE should be cleaned up.

Details

Provenance
jhibbitsAuthored on Aug 3 2019, 1:55 AM
Parents
rGc45cbc7a1f3f: Don't reset memory attributes when mapping physical addresses for ACPI.
Branches
Unknown
Tags
Unknown

Event Timeline