<feed xmlns='http://www.w3.org/2005/Atom'>
<title>talos-skiboot/core/exceptions.c, branch master</title>
<subtitle>Talos™ II skiboot sources</subtitle>
<id>https://git.raptorcs.com/git/talos-skiboot/atom?h=master</id>
<link rel='self' href='https://git.raptorcs.com/git/talos-skiboot/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-skiboot/'/>
<updated>2018-02-09T00:21:42+00:00</updated>
<entry>
<title>core/exception: beautify exception handler, add MCE-involved registers</title>
<updated>2018-02-09T00:21:42+00:00</updated>
<author>
<name>Nicholas Piggin</name>
<email>npiggin@gmail.com</email>
</author>
<published>2018-02-02T05:34:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-skiboot/commit/?id=d5378d2a0d54793ee59cd460e465fd0471bdd703'/>
<id>urn:sha1:d5378d2a0d54793ee59cd460e465fd0471bdd703</id>
<content type='text'>
Print DSISR and DAR, to help with deciphering machine check exceptions,
and improve the output a bit, decode NIP symbol, improve alignment, etc.
Also print a specific header for machine check, because we do expect to
see these if there is a hardware failure.

Before:
[    0.005968779,3] ***********************************************
[    0.005974102,3] Unexpected exception 200 !
[    0.005978696,3] SRR0 : 000000003002ad80 SRR1 : 9000000000001000
[    0.005985239,3] HSRR0: 00000000300027b4 HSRR1: 9000000030001000
[    0.005991782,3] LR   : 000000003002ad80 CTR  : 0000000000000000
[    0.005998130,3] CFAR : 00000000300b58bc
[    0.006002769,3] CR   : 40000004  XER: 20000000
[    0.006008069,3] GPR00: 000000003002ad80 GPR16: 0000000000000000
[    0.006015170,3] GPR01: 0000000031c03bd0 GPR17: 0000000000000000
[...]

After:
[    0.003287941,3] ***********************************************
[    0.003561769,3] Fatal MCE at 000000003002ad80   .nvram_init+0x24
[    0.003579628,3] CFAR : 00000000300b5964
[    0.003584268,3] SRR0 : 000000003002ad80 SRR1 : 9000000000001000
[    0.003590812,3] HSRR0: 00000000300027b4 HSRR1: 9000000030001000
[    0.003597355,3] DSISR: 00000000         DAR  : 0000000000000000
[    0.003603480,3] LR   : 000000003002ad68 CTR  : 0000000030093d80
[    0.003609930,3] CR   : 40000004         XER  : 20000000
[    0.003615698,3] GPR00: 00000000300149e8 GPR16: 0000000000000000
[    0.003622799,3] GPR01: 0000000031c03bc0 GPR17: 0000000000000000
[...]

Signed-off-by: Nicholas Piggin &lt;npiggin@gmail.com&gt;
Signed-off-by: Stewart Smith &lt;stewart@linux.vnet.ibm.com&gt;
</content>
</entry>
<entry>
<title>Move FSP specific abort() code to platform layer</title>
<updated>2015-09-09T05:43:50+00:00</updated>
<author>
<name>Vasant Hegde</name>
<email>hegdevasant@linux.vnet.ibm.com</email>
</author>
<published>2015-09-04T11:25:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-skiboot/commit/?id=a1db4ec5b9741eaf237481aff92ef2afa61bda48'/>
<id>urn:sha1:a1db4ec5b9741eaf237481aff92ef2afa61bda48</id>
<content type='text'>
Presently abort() call sets up HID0, triggers attention and finally
calls infinite for loop. FSP takes care of collecting required logs
and reboots the system. This sequence is specific to FSP machine
and it will not work on BMC based machine. Hence move FSP specific
code to hw/fsp/fsp-attn.c.

Note that this patch adds new parameter to abort call. Hence replaced
_abort() by abort() in exception.c so that we can capture file info
as well.

Signed-off-by: Vasant Hegde &lt;hegdevasant@linux.vnet.ibm.com&gt;
Signed-off-by: Stewart Smith &lt;stewart@linux.vnet.ibm.com&gt;
</content>
</entry>
<entry>
<title>fix dump_regs() for hssr0 and hsrr1</title>
<updated>2015-08-11T06:58:42+00:00</updated>
<author>
<name>Stewart Smith</name>
<email>stewart@linux.vnet.ibm.com</email>
</author>
<published>2015-08-11T06:58:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-skiboot/commit/?id=a35105c5d0742d5536c2d3a4b64bc2973262e2d5'/>
<id>urn:sha1:a35105c5d0742d5536c2d3a4b64bc2973262e2d5</id>
<content type='text'>
Signed-off-by: Stewart Smith &lt;stewart@linux.vnet.ibm.com&gt;
</content>
</entry>
<entry>
<title>Remove redundant includes of opal-api.h</title>
<updated>2015-04-01T01:16:39+00:00</updated>
<author>
<name>Michael Ellerman</name>
<email>mpe@ellerman.id.au</email>
</author>
<published>2015-03-31T10:53:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-skiboot/commit/?id=e61506bcc11b887eb39c61a4657db75a1757c1f7'/>
<id>urn:sha1:e61506bcc11b887eb39c61a4657db75a1757c1f7</id>
<content type='text'>
Now that opal.h includes opal-api.h, there are a bunch of files that
include both but don't need to.

Signed-off-by: Michael Ellerman &lt;mpe@ellerman.id.au&gt;
Signed-off-by: Stewart Smith &lt;stewart@linux.vnet.ibm.com&gt;
</content>
</entry>
<entry>
<title>exceptions: Catch exceptions at boot time</title>
<updated>2015-03-31T04:42:37+00:00</updated>
<author>
<name>Benjamin Herrenschmidt</name>
<email>benh@kernel.crashing.org</email>
</author>
<published>2015-03-27T05:11:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-skiboot/commit/?id=989d8b68b63ba21a58fb96cd0b0a82505e669046'/>
<id>urn:sha1:989d8b68b63ba21a58fb96cd0b0a82505e669046</id>
<content type='text'>
And print some informations about GPR state, backtrace, etc...

Signed-off-by: Benjamin Herrenschmidt &lt;benh@kernel.crashing.org&gt;
Signed-off-by: Stewart Smith &lt;stewart@linux.vnet.ibm.com&gt;
</content>
</entry>
<entry>
<title>exceptions: Remove deprecated exception patching stuff</title>
<updated>2015-03-31T04:42:37+00:00</updated>
<author>
<name>Benjamin Herrenschmidt</name>
<email>benh@kernel.crashing.org</email>
</author>
<published>2015-03-27T05:11:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-skiboot/commit/?id=e162dbe49d12603ed9663a16f3040fbe6fddb9e9'/>
<id>urn:sha1:e162dbe49d12603ed9663a16f3040fbe6fddb9e9</id>
<content type='text'>
Linux no longer calls it, it never worked on LE and generally
speaking never really did anything useful anyway.

Signed-off-by: Benjamin Herrenschmidt &lt;benh@kernel.crashing.org&gt;
Signed-off-by: Stewart Smith &lt;stewart@linux.vnet.ibm.com&gt;
</content>
</entry>
<entry>
<title>sparse: hmi_lock can be static</title>
<updated>2015-02-26T07:19:40+00:00</updated>
<author>
<name>Cédric Le Goater</name>
<email>clg@fr.ibm.com</email>
</author>
<published>2015-02-24T11:14:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-skiboot/commit/?id=f19cfc6d11384e1aa1291779550e3c7f10fc9b70'/>
<id>urn:sha1:f19cfc6d11384e1aa1291779550e3c7f10fc9b70</id>
<content type='text'>
Signed-off-by: Cédric Le Goater &lt;clg@fr.ibm.com&gt;
Signed-off-by: Stewart Smith &lt;stewart@linux.vnet.ibm.com&gt;
</content>
</entry>
<entry>
<title>Move skiboot internal things from opal.h to opal-api.h</title>
<updated>2015-02-06T02:11:25+00:00</updated>
<author>
<name>Stewart Smith</name>
<email>stewart@linux.vnet.ibm.com</email>
</author>
<published>2015-02-06T02:11:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-skiboot/commit/?id=d195fd680eac1044681fd265edfbf342888f4a93'/>
<id>urn:sha1:d195fd680eac1044681fd265edfbf342888f4a93</id>
<content type='text'>
This is probably not the best collection of things in the world,
but it means that opal.h is much closer to being directly usable
by an OS.

This triggers a bunch of #include fixes throughout the tree.

Signed-off-by: Stewart Smith &lt;stewart@linux.vnet.ibm.com&gt;
</content>
</entry>
<entry>
<title>opal: Remove MCE handling code.</title>
<updated>2014-11-21T21:27:19+00:00</updated>
<author>
<name>Mahesh Salgaonkar</name>
<email>mahesh@linux.vnet.ibm.com</email>
</author>
<published>2014-11-19T04:39:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-skiboot/commit/?id=0b446b4c8c3883b847f00722b9fd43d3110f7af1'/>
<id>urn:sha1:0b446b4c8c3883b847f00722b9fd43d3110f7af1</id>
<content type='text'>
Removed following:
- Machine check handle and other related routines.
- per-cpu MCE event used to record machine check data
	cpu_thread-&gt;mc_event;
- Machine check related definition including mce event structure from
  include/opal.h
- A comment above GET_STACK() #define that warns about runtime modification
  made to GET_STACK macro by MC patching code.

Signed-off-by: Mahesh Salgaonkar &lt;mahesh@linux.vnet.ibm.com&gt;
Signed-off-by: Benjamin Herrenschmidt &lt;benh@kernel.crashing.org&gt;
</content>
</entry>
<entry>
<title>opal: Remove machine check interrupt patching in OPAL.</title>
<updated>2014-11-21T21:26:35+00:00</updated>
<author>
<name>Mahesh Salgaonkar</name>
<email>mahesh@linux.vnet.ibm.com</email>
</author>
<published>2014-11-19T04:39:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-skiboot/commit/?id=80eee19464493fb92f0fdde1b9ec4870f267c96b'/>
<id>urn:sha1:80eee19464493fb92f0fdde1b9ec4870f267c96b</id>
<content type='text'>
Now that we catch/handle machine check interrupt directly in Linux host
PowerNV kernel, we are not anymore dependent on OPAL firmware to do MCE
handling job for us. The MCE handling code in OPAL has exclusive stack
space (4k size) reserved and remains unused with Linux host not being
dependent on it anymore. Hence, this patch removes the code that allows
machine check interrupt patching in OPAL and reclaims back 4k of stack
space for use of normal stack. For older kernel the patching request
will result into an error.

The subsequent patch will remove the rest of MCE handling code from OPAL.

Signed-off-by: Mahesh Salgaonkar &lt;mahesh@linux.vnet.ibm.com&gt;
Signed-off-by: Benjamin Herrenschmidt &lt;benh@kernel.crashing.org&gt;
</content>
</entry>
</feed>
