Re: [PATCH v1 00/22] powerpc/eeh: Enhance converting EEH dev
From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Date: 2013-05-15 05:59:07
From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Date: 2013-05-15 05:59:07
On Wed, 2013-05-15 at 13:30 +0800, Gavin Shan wrote:
quoted
There is an error injection framework we can use nowadays, or maybe you can put this in tools/powerpc ?Ben, we don't have error injection framework yet. I have one source file "eeh-debug.c" which exports P7IOC registers through procfs. In order to force EEH errors (frozen PE or fenced PHB), we need change the specific bits of corresponding HW registers through the procfs entries (e.g. /proc/IODA/PHBx/REG).
I mean Linux has an error injection framework :-) We could hook up something into it. Cheers, Ben.