Re: [PATCH v1 00/22] powerpc/eeh: Enhance converting EEH dev

2013-05-15 Thread Gavin Shan
On Wed, May 15, 2013 at 07:48:44PM +1000, Benjamin Herrenschmidt wrote: >On Wed, 2013-05-15 at 16:47 +0800, Gavin Shan wrote: >> >> Ok. Ben. Could you please point me the source code of the error >> injection framework? :-) >> I think you're not talking about userland utility "errinject". > >It's

Re: [PATCH v1 00/22] powerpc/eeh: Enhance converting EEH dev

2013-05-15 Thread Benjamin Herrenschmidt
On Wed, 2013-05-15 at 16:47 +0800, Gavin Shan wrote: > > Ok. Ben. Could you please point me the source code of the error > injection framework? :-) > I think you're not talking about userland utility "errinject". It's minimal, it's just the stuff in lib/fault-inject which provides a framework for

Re: [PATCH v1 00/22] powerpc/eeh: Enhance converting EEH dev

2013-05-15 Thread Gavin Shan
On Wed, May 15, 2013 at 03:58:57PM +1000, Benjamin Herrenschmidt wrote: >On Wed, 2013-05-15 at 13:30 +0800, Gavin Shan wrote: >> >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.

Re: [PATCH v1 00/22] powerpc/eeh: Enhance converting EEH dev

2013-05-14 Thread Benjamin Herrenschmidt
On Wed, 2013-05-15 at 13:30 +0800, Gavin Shan wrote: > >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 throu

Re: [PATCH v1 00/22] powerpc/eeh: Enhance converting EEH dev

2013-05-14 Thread Gavin Shan
On Wed, May 15, 2013 at 01:57:44PM +1000, Benjamin Herrenschmidt wrote: >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 a

Re: [PATCH v1 00/22] powerpc/eeh: Enhance converting EEH dev

2013-05-14 Thread Benjamin Herrenschmidt
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

[PATCH v1 00/22] powerpc/eeh: Enhance converting EEH dev

2013-05-14 Thread Gavin Shan
Initially, the series of patches is built based on 3.10.RC1 and the patchset doesn't intend to enable EEH functionality for PHB3 for now. The series of patches intends to support EEH for PowerNV platform. The EEH core already supports multiple probe methods: device tree nodes and PCI devices. For