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

Fix up_interrupt_context() for SMP #1912

Merged
merged 4 commits into from Sep 30, 2020
Merged

Conversation

masayuki2009
Copy link
Contributor

Summary

  • I found an issue with up_interrupt_context() when testing.
  • And finally found that up_interrupt_context() is not atomic.
  • This commit fixes the issue

Impact

  • Affects SMP only

Testing

  • Tested with spresense:wifi_smp and sabre-6quad:smp (qemu)
  • Tested with maix-bit:smp (qemu)
  • Tested with esp32-core:smp (qemu)

Summary:
- I found an issue with up_interrupt_context() when testing.
- And finally found that up_interrupt_context() is not atomic.
- This commit fixes the issue

Impact:
- Affects SMP only

Testing:
- Tested with spresense:wifi_smp and sabre-6quad:smp (qemu)

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
Summary:
- Apply the same fix for Arm SMP

Impact:
- Affects SMP only

Testing:
- Tested with maix-bit:smp (qemu)

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
Summary:
- Apply the same fix for Arm SMP

Impact:
- Affects SMP only

Testing:
- Tested with esp32-core:smp (qemu)

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
@jerpelea
Copy link
Contributor

LGTM

Add a comment discussing the limitation of this solution for the case of the ARMv7-A with the GIC
@masayuki2009
Copy link
Contributor Author

@patacongo

Thanks for adding the comments.

@masayuki2009 masayuki2009 deleted the fix_smp branch September 30, 2020 23:07
@btashton btashton added this to To-Add in Release Notes - 10.0.0 Oct 14, 2020
@Ouss4 Ouss4 moved this from To-Add to In Progress in Release Notes - 10.0.0 Oct 17, 2020
@Ouss4 Ouss4 moved this from In Progress to Added in Release Notes - 10.0.0 Oct 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

None yet

3 participants