[POWERPC] EEH: log error only after driver notification.
authorLinas Vepstas <linas@austin.ibm.com>
Tue, 8 May 2007 23:33:29 +0000 (09:33 +1000)
committerPaul Mackerras <paulus@samba.org>
Wed, 9 May 2007 06:35:00 +0000 (16:35 +1000)
commitede8ca269f9f3e3fa4fb8561671f0699eefc32c5
tree350a7c89fb68288af262e967f13994d5d6f2d199
parentb7a6912969af7586ade62667d6d1c7ecc534faa1
[POWERPC] EEH: log error only after driver notification.

It turns out many/most versions of firmware enable MMIO when
the slto-error-detail rtas call is made (in violation of the
architecture). Thus, it would be best to call slot-error-detail
only after notifying device drivers of a freeze, as otherwise,
a variety of strange and unexpected things may happen.

Signed-off-by: Linas Vepstas <linas@austin.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/platforms/pseries/eeh_driver.c