-
Notifications
You must be signed in to change notification settings - Fork 349
zephyr: update SYS_INIT calls #6480
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
Conversation
|
Can one of the admins verify this patch?
|
|
Can one of the admins verify this patch? |
|
@gmarull can you pls ping this PR when the Zephyr dependency is merged. It looks like things are fine here. |
lyakh
left a comment
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.
this is good, and we'll need one more small change to
sof/zephyr/include/rtos/init.h
Lines 12 to 14 in a5dfa56
| static int zephyr_##name##_init(const struct device *dev) \ | |
| { \ | |
| ARG_UNUSED(dev); \ |
|
@gmarull Zephyr PR not currently merged, any update ? |
it's been delayed until the 3.4 release. |
Ack, pls ping after merge and we can also include a west update to this PR too. |
|
@gmarull can you updater this PR? |
b3fb9bd to
3a3cf26
Compare
|
Updated PR, pending |
3a3cf26 to
5111eaa
Compare
9d6679f to
09a5164
Compare
done |
|
Can this PR fix CI reported build errors like: |
|
Does CI check every commit? Because I did notice that this may break bisect indeed. |
|
@paulstelian97 wrote:
CI doesn't check, but with bisect you will hit the problem if you build the tree from middle of this 3 patch series. But given this is a build-time warning only (fails CI but local build is ok), I'm willing to give this is a pass. Squashed commits are not nice either (but sometimes just mandatory). |
09a5164 to
e9def8b
Compare
|
squashed to preserve bisectability. |
paulstelian97
left a comment
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.
Given how small the patch is I'd say nobody should mind that this was squashed. Looks good now!
|
SOFCI TEST |
|
@wszypelt @keqiaozhang @greg-intel we are really struggling with the CI on this one. Now the regression on Zephyr side should be fixed, but I'm seeing lot of failures in both SOF driver CI and the Intel FW CI. I can't fully decipher what's going on, it seems even the builds failed here (the rimage issue?). I re-kicked the driver CI already once, but still failing... |
|
@kv2019i we need this one too zephyrproject-rtos/zephyr#56790 |
|
@tmleman wrote:
Thanks! I just realized the same thing locally, it's definitely this one. |
|
@gmarull So one more update would be needed to take zephyrproject-rtos/zephyr#56790 in (was just merged to Zephyr). |
e9def8b to
2006cc1
Compare
done |
|
@gmarull wrote:
Thanks and sorry for the hassle. These are not anyway related to the PR and we should have caught the Zephyr side problems earlier. |
|
SOFCI TEST |
|
Pains me to report but we have still failures:
These are not normal, we have multiple basic cases failing again. |
|
Two more regressions identified -> zephyrproject-rtos/zephyr#57127 |
|
Got a clean test run now with #7491 So once zephyrproject-rtos/zephyr#57127 is merged, we can retry updating. |
|
@gmarull zephyrproject-rtos/zephyr#57127 updated, one more update? Should pass the CI now (as #7491 passed). |
Update Zephyr head, and use the new call signature: int (*init_fn)(void); Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2006cc1 to
2c73b46
Compare
|
SOFCI TEST |
|
One boot-log fail in https://sof-ci.01.org/sofpr/PR6480/build6378/devicetest/index.html and lack of test machines in https://sof-ci.01.org/sofpr/PR6480/build6379/devicetest/index.html . Given other tests are ok, and I got green runs with the draft PR #7491 , I think we are finally good to go with this. Thank you @gmarull for the many updates! |
Use the new call signature: int (*init_fn)(void);
NOTE: This should not be merged before zephyrproject-rtos/zephyr#51217 reaches Zephyr main and this project updates Zephyr revision.