]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
powerpc/powernv: Fix OPAL cfgread/cfgwrite error handling
authorjhibbits <jhibbits@FreeBSD.org>
Sat, 3 Aug 2019 01:55:51 +0000 (01:55 +0000)
committerjhibbits <jhibbits@FreeBSD.org>
Sat, 3 Aug 2019 01:55:51 +0000 (01:55 +0000)
commit38a7c048541aa54d15b7aa21343e856e0368fe5a
tree63e7c330d94eb14649311c3092082ad002206bd7
parentcf3605f7f3e1355307dfd8953f022d7e93ae700d
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.
sys/powerpc/powernv/opal_pci.c