summaryrefslogtreecommitdiffstats
path: root/src/build/simics
diff options
context:
space:
mode:
authorGlenn Miles <milesg@ibm.com>2019-06-06 23:57:56 -0500
committerDaniel M. Crowell <dcrowell@us.ibm.com>2019-06-07 15:29:44 -0500
commita697687b5e5e15b00b841db5f2c8c66ee9d8ef35 (patch)
tree4937f5019f57d5262897db4527a4f0e0d9ad1ce7 /src/build/simics
parent5634271463a1f735395a67f3f631358861e3fecd (diff)
downloadtalos-hostboot-a697687b5e5e15b00b841db5f2c8c66ee9d8ef35.tar.gz
talos-hostboot-a697687b5e5e15b00b841db5f2c8c66ee9d8ef35.zip
Add MMIO test cases that force failures
Change-Id: I9af1230917c1629c9f9568ae6645291c11b0140e Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/78524 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Reviewed-by: Matt Derksen <mderkse1@us.ibm.com> Reviewed-by: Roland Veloz <rveloz@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/build/simics')
-rwxr-xr-xsrc/build/simics/standalone.simics8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/build/simics/standalone.simics b/src/build/simics/standalone.simics
index 5e589ba17..0548c1b0e 100755
--- a/src/build/simics/standalone.simics
+++ b/src/build/simics/standalone.simics
@@ -143,6 +143,14 @@ if ($hb_mode == 0) { #Only do this on Axone and later models that have Explorer
$obj->mscc_regs_xcbi_ram1[14] = 0x063EF2EE
$obj->mscc_regs_xcbi_ram1[15] = 0x063B5957
$obj->mscc_regs_xcbi_ram1[16] = 0x40A3A12D
+
+ # Allow for testing MMIO HW failures
+ # Forces write access to TRACE_TRDATA_CONFIG_0 to fail
+ # in src/usr/mmio/test/mmiotest.H
+ # NOTE: address is left shifted 3 and has MMIO
+ # offset (0x100000000) added.
+ $obj->mmio_regs_mmioerr = 0x0000000140082018
+
}
}
OpenPOWER on IntegriCloud