We can use skeyctl to view and change settings related to storage key.
Usage: skeyctl [-D]
skeyctl [-h <nhkeys>] [-u <nukeys>/off] [-k on/off/default] [-x kkey ]
skeyctl [-v [now|default|boot]
-h <nhkeys> # number of hardware keys (0, 2-31)
We all know that dump reason code 300 means Data Storage Interrupt,
400 means Instruction Storage Interrupt,
and 700 means Program Interrupt.
But why number 300/400/700 are selected instead of other numbers?
In fact these numbers are not selected randomly.
They are the interrupt vector of DSI/ISI/PI.
(0)> dc 300 80
00000300 mtsprg SPRG2,stkp
00000304 mfsprg stkp,SPRG0
00000308 ... [More]