summaryrefslogtreecommitdiffstats
path: root/hdata/memory.c
diff options
context:
space:
mode:
authorBalbir Singh <bsingharora@gmail.com>2018-04-18 14:35:21 +1000
committerStewart Smith <stewart@linux.ibm.com>2018-04-19 23:51:02 -0500
commitbdd925aabbbbf0d35a44d85c9d51809c668be1ba (patch)
treebff4b24e7a43561d40afdea40682406ad94556c5 /hdata/memory.c
parent0a4d0519a5a23ac11e06c3fc67fb04035716374f (diff)
downloadblackbird-skiboot-bdd925aabbbbf0d35a44d85c9d51809c668be1ba.tar.gz
blackbird-skiboot-bdd925aabbbbf0d35a44d85c9d51809c668be1ba.zip
mambo/mambo_utils.tcl: Inject an MCE at a specified address
Currently we don't support injecting an MCE on a specific address. This is useful for testing functionality like memcpy_mcsafe() (see https://patchwork.ozlabs.org/cover/893339/) The core of the functionality is a routine called inject_mce_ue_on_addr, which takes an addr argument and injects an MCE (load/store with UE) when the specified address is accessed by code. This functionality can easily be enhanced to cover instruction UE's as well. A sample use case to create an MCE on stack access would be set addr [mysim display gpr 1] inject_mce_ue_on_addr $addr This would cause an mce on any r1 or r1 based access Signed-off-by: Balbir Singh <bsingharora@gmail.com> Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
Diffstat (limited to 'hdata/memory.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud