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

Some Xtensa cores do not support NMI #67853

Closed

Conversation

rysiof
Copy link

@rysiof rysiof commented Jan 19, 2024

Some Xtensa cores do not support NMI, so XCHAL_HAVE_NMI=0 and XCHAL_NMILEVEL won't be defined at all causing arch/xtensa/include/xtensa-asm2-s.h to throw compilation error.

Fixes: #67855

@github-actions github-actions bot added the area: Xtensa Xtensa Architecture label Jan 19, 2024
@rysiof
Copy link
Author

rysiof commented Jan 19, 2024

NOTE: "Backport Issue Check / Backport Issue Check" failed because I didn't add Fixes: #67855. I am not able to rerun

Copy link
Contributor

@andyross andyross left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice. The mt8195 had this same issue, there's a broadly identical patch buried in that PR too, which I need to resurrect RSN.

@rysiof
Copy link
Author

rysiof commented Jan 19, 2024

Fixed suggestions made by @dcpleung

Copy link
Member

@dcpleung dcpleung left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please squash the commits together.

…MILEVEL

won't be defined at all causing `arch/xtensa/include/xtensa-asm2-s.h` to throw
compilation error.

Review fixes
@dcpleung
Copy link
Member

NOTE: This is for v2.7 branch.

Copy link

This pull request has been marked as stale because it has been open (more than) 60 days with no activity. Remove the stale label or add a comment saying that you would like to have the label removed otherwise this pull request will automatically be closed in 14 days. Note, that you can always re-open a closed pull request at any time.

@github-actions github-actions bot added the Stale label Mar 20, 2024
@dcpleung dcpleung removed the Stale label Mar 20, 2024
@rysiof rysiof closed this Mar 29, 2024
@rysiof
Copy link
Author

rysiof commented Mar 29, 2024

not needed in 2.7 anymore

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Xtensa Xtensa Architecture
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants