-
Notifications
You must be signed in to change notification settings - Fork 6.6k
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 arm cortex m direct dynamic irqs #21516
Arch arm cortex m direct dynamic irqs #21516
Conversation
tests/arch/arm/arm_irq_advanced_features/src/arm_dynamic_direct_interrupts.c
Outdated
Show resolved
Hide resolved
All checks are passing now. Tip: The bot edits this comment instead of posting a new one, so you can check the comment's history to see earlier messages. |
tests/arch/arm/arm_irq_advanced_features/src/arm_dynamic_direct_interrupts.c
Outdated
Show resolved
Hide resolved
c66ec9e
to
2545b32
Compare
5d7185d
to
c1f1bba
Compare
3b84983
to
c867075
Compare
@ioannisg please rebase |
bcd144f
to
c00f6d3
Compare
@carlescufi rebased :) |
@ioannisg there seems to be an issue with shippable. Perhaps it just needs a rebase. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1 for doc changes
c00f6d3
to
cd4ac87
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No complaints other than a suspicion that the Kconfig isn't quite ideal
help | ||
Enable installation of interrupt service routines for Direct | ||
interrupts at runtime. | ||
Note: this enables support for dynamic interrupts in the kernel. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could flesh out this help text a bit maybe. Could explain what direct interrupts are (and maybe lowercase 'direct'), give some links, mention any Zephyr-specifics, etc. In the Linux kernel, checkpatch.pl
warns if the help text is less than four lines, but maybe our version is old.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see. So, I've changed 'Direct' to lowercase, thanks.
Well, the provided API (see in this PR) has all the documentation for direct dynamic interrupts. So I've just copied here a minor phrase briefly explaining direct interrupts.
In general the help-text of Kconfig symbols does not need to explain in detail the feature/functionality; we've got documentation for that. :)
cd4ac87
to
413144f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ulfalizer comments addressed, pls, take another look
@ulfalizer @andrewboie could you re-visit your reviews, here, so we could resolve this one? |
Please change the Kconfig to have "depends on" and not "select". Users will need to enable both. |
With this commit we add support for Dynamic Direct interrupts for the ARM Cortex-M architecture. For that we introduce a new, user-enabled, Kconfig symbol, DYNAMIC_DIRECT_INTERRUPTS. Signed-off-by: Ioannis Glaropoulos <[email protected]>
This commits implements the support for dynamic direct interrupts for the ARM Cortex-M architecture, and exposes the support to the user as an ARM-only API. Signed-off-by: Ioannis Glaropoulos <[email protected]>
Document that the Dynamic Direct interrupts feature is implemented and supported as an ARM-only API. Signed-off-by: Ioannis Glaropoulos <[email protected]>
Move the zero-latency IRQ test into the new arm_irq_advanced_features' test suite. Skip running the test for non Mainline Cortex-M. Signed-off-by: Ioannis Glaropoulos <[email protected]>
We add a test-suite for the newly introduced feature of ARM Dynamic Direct Interrupts. Signed-off-by: Ioannis Glaropoulos <[email protected]>
413144f
to
2184cec
Compare
That's alright then, @andrewboie , I' ve done that now, so using this feature requires both Kconfigs be set, thanks for looking at it. |
DIrect Dynamic Interrupt Feature support for ARM Cortex-M