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

cpu: multiprocessing: add new broadcast rutine #9217

Closed

Conversation

pjdobrowolski
Copy link
Contributor

Platforms that support IPIs allow them to be broadcast via the
new arch_sched_broadcast_ipi() routine (replacing arch_sched_ipi()).
Those that also allow IPIs to be directed to specific CPUs may
use arch_sched_directed_ipi() to do so.

Copy link
Contributor

@tmleman tmleman left a comment

Choose a reason for hiding this comment

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

I recommend combining the three commits into a single commit to ensure that each commit in the repository is buildable and maintains git bisect functionality.

zephyr/wrapper.c Outdated Show resolved Hide resolved
Copy link
Contributor

@tmleman tmleman left a comment

Choose a reason for hiding this comment

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

For me, it's already OK. The only thing I would change if I had time is the description. It shows that it's the result of a squash. My proposal is:

west.yml: update Zephyr to 2efc447c1b4

This commit updates the SOF codebase to align with recent changes in the Zephyr project. It includes the following changes:

- Updates the Zephyr project to the revision `2efc447c1b41efd23447ea180731d673114f06d8`.
- Introduces a new routine `arch_sched_broadcast_ipi()` to replace the deprecated `arch_sched_ipi()` for broadcasting IPIs.
- Replaces the deprecated `z_arch_esf_t` struct with the new `struct arch_esf` in the `k_sys_fatal_error_handler` function.

@pjdobrowolski
Copy link
Contributor Author

@tmleman thanks for help!

This commit updates the SOF codebase to align with recent changes
in the Zephyr project. It includes the following changes:

- Updates the Zephyr to the rev 2efc447c1b41efd23447ea180731d673114f06d8
- Introduces a new routine `arch_sched_broadcast_ipi()`
  to replace the deprecated `arch_sched_ipi()` for broadcasting IPIs.
- Replaces the deprecated `z_arch_esf_t` struct with
  the new `struct arch_esf` in the `k_sys_fatal_error_handler` function.

Signed-off-by: Dobrowolski, PawelX <pawelx.dobrowolski@intel.com>
@lgirdwood
Copy link
Member

@pjdobrowolski good stuff, CI mostly green. One build failure for TGL though (I suspect we need a copy and paste change from MTL to TGL)
https://sof-ci.01.org/sofpr/PR9217/build5353/build/firmware_community/tgl.log

@lyakh
Copy link
Collaborator

lyakh commented Jun 12, 2024

This duplicates a part of #9199. I was OoO for the last two days, so couldn't update it to account for the now merged zephyrproject-rtos/zephyr#73856 . I'll update #9199 in a couple of minutes

@lgirdwood
Copy link
Member

ok, I've merged #9199 since it had the build fix for TGL too. Thanks all, think we are back to health again.

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

Successfully merging this pull request may close these issues.

6 participants