diff options
author | Chen Gong <gong.chen@linux.intel.com> | 2012-02-22 10:31:49 +0800 |
---|---|---|
committer | Andi Kleen <ak@linux.intel.com> | 2012-02-21 20:15:46 -0800 |
commit | 38f7e2c0e0c070d93f5427caa0e529c68f88f1f4 (patch) | |
tree | 53d27a3d9f7fe8b1a52eb5c8006aba4d858650e9 | |
parent | 95e136a3b0cde818448d5fcff5bf75d58600dc0d (diff) | |
download | mce-test-38f7e2c0e0c070d93f5427caa0e529c68f88f1f4.tar.gz |
add param_extension as default module parameter for EINJ
param_extension is an new module parameter to support
param1/param2 as an BIOS extension for specific vendor.
By default the tests need to enable this parameter to
to get param1/param2.
Signed-off-by: Chen Gong <gong.chen@linux.intel.com>
Signed-off-by: Andi Kleen <ak@linux.intel.com>
-rw-r--r-- | lib/apei-inject.sh | 2 | ||||
-rwxr-xr-x | stress/hwpoison.sh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/apei-inject.sh b/lib/apei-inject.sh index a1ed34c..73fae28 100644 --- a/lib/apei-inject.sh +++ b/lib/apei-inject.sh @@ -90,7 +90,7 @@ apei_inject_trigger() #if einj is a module, it is ensured to have been loaded modinfo einj > /dev/null 2>&1 if [ $? -eq 0 ]; then - [ -d $APEI_IF ] || modprobe einj + [ -d $APEI_IF ] || modprobe einj param_extension=1 [ $? -eq 0 ] || die "module einj isn't supported ?" fi diff --git a/stress/hwpoison.sh b/stress/hwpoison.sh index 375ba6d..106ee9b 100755 --- a/stress/hwpoison.sh +++ b/stress/hwpoison.sh @@ -273,7 +273,7 @@ check_env() #if einj is a module, it is ensured to have been loaded modinfo einj > /dev/null 2>&1 if [ $? -eq 0 ]; then - [ -d $g_debugfs/apei/einj ] || modprobe einj + [ -d $g_debugfs/apei/einj ] || modprobe einj param_extension=1 [ $? -eq 0 ] || invalid "module apei_inj isn't supported ?" fi fi |