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
Parents
rS350551: Don't reset memory attributes when mapping physical addresses for ACPI.
Branches
Unknown
Tags
Unknown