mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2026-08-12 00:43:04 +00:00
intel_l3_parity: Support error injection
Haswell added the ability to inject errors which is extremely useful for testing. Add two arguments to the tool to inject, and uninject. Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
This commit is contained in:
@@ -21,7 +21,7 @@ fi
|
||||
$SOURCE_DIR/../tools/intel_l3_parity -r 0 -b 0 -s 0 -e
|
||||
|
||||
#Check that we can clear remaps
|
||||
if [ `$SOURCE_DIR/../tools/intel_l3_parity -l | wc -c` != "0" ] ; then
|
||||
if [ `$SOURCE_DIR/../tools/intel_l3_parity -l | wc -l` != 1 ] ; then
|
||||
echo "Fail 2"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user