[Skiboot] [PATCH v3] mambo/mambo_utils.tcl: Inject an MCE at a specified address
stewart at linux.vnet.ibm.com
Fri Apr 20 17:26:16 AEST 2018
Balbir Singh <bsingharora at gmail.com> writes:
> 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 at gmail.com>
> Changelog v3
> - rebased on top of https://patchwork.ozlabs.org/patch/899079/
> which has workarounds and fixes necessary to make this work
Merged to master as of bdd925aabbbbf0d35a44d85c9d51809c668be1ba
OPAL Architect, IBM.
More information about the Skiboot