amd/stoneyridge: Dump MCA registers
commit74473ec65b2f003c48ed2c3ea101a9db4d087b15
authorMarshall Dawson <marshall.dawson@scarletltd.com>
Sun, 5 Aug 2018 16:42:17 +0000 (5 10:42 -0600)
committerMartin Roth <martinroth@google.com>
Wed, 8 Aug 2018 17:52:31 +0000 (8 17:52 +0000)
tree97950769265d4448cee6cc450f34c897fa8204b2
parentf9a63c0a848699bf96adeba8d3faab573a920ff1
amd/stoneyridge: Dump MCA registers

Add a function to provide a rudimentary dump of the Machine Check
Architecture registers.  These values survive a warm reset.

BUG=b:65445599
TEST=Verify on a Grunt having propensity for #MC errors

Change-Id: Ib6875cabe3041e65c811d8b2232f7ac6bedd1a02
Signed-off-by: Marshall Dawson <marshalldawson3rd@gmail.com>
Reviewed-on: https://review.coreboot.org/27926
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Martin Roth <martinroth@google.com>
src/soc/amd/stoneyridge/cpu.c