]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/64s/exception: add dar and dsisr options to exception macro
authorNicholas Piggin <npiggin@gmail.com>
Fri, 28 Jun 2019 05:33:28 +0000 (15:33 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 2 Jul 2019 11:39:49 +0000 (21:39 +1000)
commit699af3b98bf0db6525a4c8fe993853c7ecef2fd3
tree7122bb60248f773a307bf623660a40abfc410187
parent645a0c5e7fdcf972a48a23702662745fccbfcd9c
powerpc/64s/exception: add dar and dsisr options to exception macro

Some exception entry requires DAR and/or DSISR to be saved into the
paca exception save area. Add options to the standard exception
macros for these.

Generated code changes slightly due to code structure.

-     554:      a6 02 72 7d     mfdsisr r11
-     558:      a8 00 4d f9     std     r10,168(r13)
-     55c:      b0 00 6d 91     stw     r11,176(r13)
+     554:      a8 00 4d f9     std     r10,168(r13)
+     558:      a6 02 52 7d     mfdsisr r10
+     55c:      b0 00 4d 91     stw     r10,176(r13)

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kernel/exceptions-64s.S