From: Mike Qiu Date: Tue, 30 Sep 2014 02:38:57 +0000 (+1000) Subject: powerpc/powernv: Add PCI error injection debugfs entry X-Git-Tag: fixes-against-v3.18-rc2~117^2~50 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7a062782295a896f697137aacbe23400fbbafa94;p=pandora-kernel.git 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 Signed-off-by: Gavin Shan Signed-off-by: Michael Ellerman --- Reading git-diff-tree failed