[PATCH] arm: Fix stack alignment during interrupt handling
Sebastian Huber
sebastian.huber at embedded-brains.de
Thu Jan 13 17:54:43 UTC 2022
On 13/01/2022 13:34, Sebastian Huber wrote:
> On a public interface, the stack pointer must be aligned on an 8-byte
> boundary. However, it may temporarily be only aligned on a 4-byte
> boundary. The interrupt handling code must ensure that the stack
> pointer is properly aligned before it calls a function. See also:
>
> https://developer.arm.com/documentation/den0013/d/Interrupt-Handling/External-interrupt-requests/Nested-interrupt-handling
>
> Close #4579.
This fix doesn't work for nested interrupts.
--
embedded brains GmbH
Herr Sebastian HUBER
Dornierstr. 4
82178 Puchheim
Germany
email: sebastian.huber at embedded-brains.de
phone: +49-89-18 94 741 - 16
fax: +49-89-18 94 741 - 08
Registergericht: Amtsgericht München
Registernummer: HRB 157899
Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler
Unsere Datenschutzerklärung finden Sie hier:
https://embedded-brains.de/datenschutzerklaerung/
More information about the devel
mailing list