From: Mike Mason Date: Tue, 8 Jul 2008 16:04:35 +0000 (+1000) Subject: powerpc/eeh: PERR/SERR bit settings during EEH device recovery X-Git-Tag: v2.6.27-rc1~1058^2~33 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cde274c0c789404df8ece3f9e7d6506caf0127e2;p=pandora-kernel.git powerpc/eeh: PERR/SERR bit settings during EEH device recovery The following patch restores the PERR and SERR bits in the PCI command register during an EEH device recovery. We have found at least one case (an Agilent test card) where the PERR/SERR bits are set to 1 by firmware at boot time, but are not restored to 1 during EEH recovery. The patch fixes the Agilent card problem. It has been tested on several other EEH-enabled cards with no regressions. Signed-off-by: Mike Mason Acked-by: Linas Vepstas Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed