-
Notifications
You must be signed in to change notification settings - Fork 6.8k
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
tests: interrupt: refine the offload case not rely on delay timing #35302
tests: interrupt: refine the offload case not rely on delay timing #35302
Conversation
87a8ad9
to
569d421
Compare
Excuse me, @MaureenHelm @hakehuang @ABOSTM , could you please help to verify if this issue got fixed on those boards when you got a chance, thank you so much! And thanks for the solution that @MaureenHelm provided~ |
update with your patch below
the issues is still there
and looks like the delay is not enough,
and the value is here for frdm_kl25z
when I manually change below as Maureen suggested, it works.
IMHO, the interrupt handling is better to controled by semephore, or lock, rather than use different delay, which will be difficult to maintain over time. |
@hakehuang ok, thanks for the help, let me update it. |
4eae070
to
3c3670e
Compare
3c3670e
to
a5e2e79
Compare
@hakehuang I make the testcase not relying on the timing, base on your suggestion. Could you please help to verify it again, thanks! |
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.
LGTM
@enjiamai , |
@hakehuang @ABOSTM Thanks for the help on verifying them! |
I checked this PR at nrf boards and it solves the issue also on our platforms |
@PerMac , thanks for your help with this! |
a5e2e79
to
fd3ec57
Compare
@andyross will you please review? |
fd3ec57
to
2a62616
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.
First pass
2a62616
to
00752a4
Compare
The interrupt offload testcases fail on some boards because the timing of the delay is too short. Refine the testcases and make it not rely on the delay timing. Fixes zephyrproject-rtos#35097 Fixes zephyrproject-rtos#35241 Signed-off-by: Enjia Mai <enjiax.mai@intel.com>
00752a4
to
fef3a88
Compare
Hi, @stephanosio Thanks for your review! I have addressed the comments you gave. Could you please help to take look at this again? |
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.
Looks ok to me.
p.s. verified working on nrf52840dk_nrf52840
and nrf51dk_nrf51422
.
The interrupt offload testcases fail on some boards because the timing
of the delay is too short. Refine the testcases and make it not rely
on the delay timing.
Fixes #35097
Fixes #35241
These testcases reported failure in those board:
verified pass
intel_adsp_cavs15
need help to verify, I do not have these boards, could you please help to verify? Appreciate your help.
@MaureenHelm @hakehuang
frdm_kl25z
@ABOSTM
nucleo_f091rc
nucleo_l073
nucleo_l152re
Signed-off-by: Enjia Mai enjiax.mai@intel.com