commit | e82259c9c9ccd6c4191f36c52f2ce6632cd6ed62 | [log] [tgz] |
---|---|---|
author | Sean Anderson <sean.anderson@seco.com> | Fri Oct 27 16:40:13 2023 -0400 |
committer | Tom Rini <trini@konsulko.com> | Fri Nov 10 11:55:17 2023 -0500 |
tree | 8b4aaa1b1a972c02969f200d54b18d4a1d8fb619 | |
parent | 15a2ab52de0e78bd3140e5e5693428c9c9b820e4 [diff] |
arm: Fix software interrupt handler When we take a software interrupt, we are already in supervisor mode. get_bad_stack assumes we are not in supervisor mode so it can clobber the stack pointer. This causes us to have an invalid stack once that macro finishes. Revert back to the get_bad_stack_swi macro which was previously removed. Fixes: 41623c91b09 ("arm: move exception handling out of start.S files") Signed-off-by: Sean Anderson <sean.anderson@seco.com>