diff options
author | Mike Qiu <qiudayu@linux.vnet.ibm.com> | 2014-09-30 12:38:57 +1000 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2014-09-30 17:15:10 +1000 |
commit | 7a062782295a896f697137aacbe23400fbbafa94 (patch) | |
tree | 1b854d6b7720e31dad154a345aab4b19a46bd826 /mm/util.c | |
parent | 131c123abec375afc819da89925dbce97590278e (diff) | |
download | linux-7a062782295a896f697137aacbe23400fbbafa94.tar.gz linux-7a062782295a896f697137aacbe23400fbbafa94.tar.bz2 linux-7a062782295a896f697137aacbe23400fbbafa94.zip |
powerpc/powernv: Add PCI error injection debugfs entry
The patch adds debugfs file (/sys/kernel/debug/powerpc/PCIxxxx/
err_injct), which accepts following formated string, to support
error injection. It will be used to support userland utility
"errinjct" in future.
"pe_no:0:function:address:mask" - 32-bits PCI errors
"pe_no:1:function:address:mask" - 64-bits PCI errors
Signed-off-by: Mike Qiu <qiudayu@linux.vnet.ibm.com>
Signed-off-by: Gavin Shan <gwshan@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'mm/util.c')
0 files changed, 0 insertions, 0 deletions