[riot-notifications] [RIOT-OS/RIOT] cpu/avr8_common: Improve isr state for nested interrupts (#16211)

Gerson Fernando Budke notifications at github.com
Wed Apr 7 04:32:18 CEST 2021

> > Any thought about context switch inside current ISR implementation? Is mainline overflow stack over time because of ISR prolog that stay at current stack?
> See #16284. Since the test passes (also with stack testing), I'd say there is no issue.

@maribu , the b87f8a8 will pass in this PR and it will fail at master with an stack overflow.
cd tests/isr_context_switch_by_ext_int
BOARD=atxmega-a1u-xpro make all flash term

I couldn't think a simpler use case to force the condition that generate the stack overflow. It was really hard to setup the right condition. Right now, this can be tested with ATxmega. I not expect that this snip passes on CI and my intention is only present a possible use case that exploit the issue.

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210406/e8a53d1f/attachment-0001.htm>

More information about the notifications mailing list