Skip to content

Conversation

@andyross
Copy link
Contributor

@andyross andyross commented Apr 4, 2019

[Let's just skip the SMP work in #14619 and commit the obvious workaround for now. There's a giant task for 1.15 to make all the tests and subsystems SMP-safe anyway, there's no need to jump through different hoops for IPM of all things.]

This test was having trouble earlier (at least with some toolchains),
but whatever was causing that seems to have been fixed. The only
remaining issue is that neither the IPM console code nor the test are
SMP-safe. There's a bug (#14639) tracking the need to get these
working, but for now the straightforward workaround is just to disable
SMP.

And even long term, IPM is an oddball interprocessor communication
mechanism designed for asymmetric multiprocessing devices like Quark
SE and doesn't seem like an obvious fit for a SMP machine.

Fixes #12478

Signed-off-by: Andy Ross [email protected]

This test was having trouble earlier (at least with some toolchains),
but whatever was causing that seems to have been fixed.  The only
remaining issue is that neither the IPM console code nor the test are
SMP-safe.  There's a bug (zephyrproject-rtos#14639) tracking the need to get these
working, but for now the straightforward workaround is just to disable
SMP.

And even long term, IPM is an oddball interprocessor communication
mechanism designed for asymmetric multiprocessing devices like Quark
SE and doesn't seem like an obvious fit for a SMP machine.

Fixes zephyrproject-rtos#12478

Signed-off-by: Andy Ross <[email protected]>
@andyross andyross requested review from a user, andrewboie, dcpleung and wentongwu April 4, 2019 16:46
@andyross
Copy link
Contributor Author

andyross commented Apr 4, 2019

Ran this on both my dev machine and an only-slightly-stale CI docker image and it worked for 30 runs each without failure. Should be OK in the actual CI, but note that the earliest version of this bug was weirdly spurious and from an era before SMP became default, so..

@andyross andyross added area: Debugging bug The issue is a bug, or the PR is fixing a bug and removed area: Debugging labels Apr 4, 2019
@andyross andyross added this to the v1.14.0 milestone Apr 4, 2019
@nashif nashif merged commit 0c59471 into zephyrproject-rtos:master Apr 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug The issue is a bug, or the PR is fixing a bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

tests/drivers/ipm/peripheral.mailbox failing sporadically on qemu_x86_64 (timeout)

4 participants