summaryrefslogtreecommitdiff
path: root/virt
diff options
context:
space:
mode:
authorStafford Horne <shorne@gmail.com>2023-02-11 19:14:06 +0900
committerStafford Horne <shorne@gmail.com>2023-04-26 15:08:06 +0100
commit812489ac4dd91144a74ce65ecf232252a2e406fb (patch)
tree58b9efad0679f180ac7cb8afc74a8b682884b2c1 /virt
parent1aff44abf68a8000fcb3502fc2b704f20de4535f (diff)
openrisc: Properly store r31 to pt_regs on unhandled exceptions
In commit 91993c8c2ed5 ("openrisc: use shadow registers to save regs on exception") the unhandled exception path was changed to do an early store of r30 instead of r31. The entry code was not updated and r31 is not getting stored to pt_regs. This patch updates the entry handler to store r31 instead of r30. We also remove some misleading commented out store r30 and r31 instructrions. I noticed this while working on adding floating point exception handling, This issue probably would never impact anything since we kill the process or Oops right away on unhandled exceptions. Fixes: 91993c8c2ed5 ("openrisc: use shadow registers to save regs on exception") Signed-off-by: Stafford Horne <shorne@gmail.com>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions