Re: [PATCH v1 00/22] powerpc/eeh: Enhance converting EEH dev
From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Date: 2013-05-15 03:57:53
From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Date: 2013-05-15 03:57:53
On Wed, 2013-05-15 at 11:34 +0800, Gavin Shan wrote:
e don't have existing utility (e.g. errinjct) to test the patchset. In order to conduct the test, you need copy over the eeh-debug.c to PowerNV platform directory and change the makefile accordingly. Please contact me to get the eeh-debug.c if you want run the test case. After that, you need write P7IOC registers explicitly to trigger frozen PE or fenced PHB explicitly as the following example shows. The patchset has been verified on Firebird-L machine where I have 2 Emulex ethernet card on PHB#6. I keep pinging to one of the ethernet cards from external and then use following commands to produce frozen PE or fenced PHB errors. Eventually, the errors can be recovered and the ethernet card is reachable after temporary connection lost.
There is an error injection framework we can use nowadays, or maybe you can put this in tools/powerpc ? Cheers, Ben.