[PATCH v1 2/3] powerpc/powernv: Support PCI error injection
Mike Qiu
qiudayu at linux.vnet.ibm.com
Mon Jul 21 18:06:33 EST 2014
On 06/25/2014 11:19 AM, Benjamin Herrenschmidt wrote:
> On Wed, 2014-06-25 at 11:05 +0800, Mike Qiu wrote:
>> Here maybe "/sys/kernel/debug/powerpc/errinjct" is better, because
>> it
>> will supply "PCI_domain_nr" in parameters, so no need supply errinjct
>> for each PCI domain.
>>
>> Another reason is error inject not only for PCI(in future), so better
>> not in PCI domain entry.
>>
>> Also it simple for userland tools to has a fixed path.
> I don't like this. I much prefer have dedicated error injection files
> in their respective locations, something for PCI under the corresponding
> PCI bridge etc...
So PowerNV error injection will be designed rely on debugfs been
configured, right?
Thanks,
Mike
>
> Cheers,
> Ben.
>
>
>
>
More information about the Linuxppc-dev
mailing list