Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

arch:xtensa: fix sp duplicate reduce in handler enter #5648

Merged
merged 1 commit into from
Mar 1, 2022

Conversation

zhuyanlinzyl
Copy link
Contributor

@zhuyanlinzyl zhuyanlinzyl commented Mar 1, 2022

In xtensa/include/irq.h the XCPTCONTEXT_SIZE is
#define XCPTCONTEXT_SIZE ((4 * XCPTCONTEXT_REGS) + 0x20)

XCPTCONTEXT_SIZE is already byte size of xcpcontext

Signed-off-by: zhuyanlin zhuyanlin1@xiaomi.com

Summary

Impact

Testing

test on qemu xtensa

In xtensa/include/irq.h the XCPTCONTEXT_SIZE is
`#define XCPTCONTEXT_SIZE    ((4 * XCPTCONTEXT_REGS) + 0x20)`

XCPTCONTEXT_SIZE is already byte size of xcpcontext

Signed-off-by: zhuyanlin <zhuyanlin1@xiaomi.com>
@pkarashchenko pkarashchenko merged commit a4e93be into apache:master Mar 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants