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

[add] spin-table support #5

Merged
merged 2 commits into from
Jul 29, 2023
Merged

[add] spin-table support #5

merged 2 commits into from
Jul 29, 2023

Conversation

PG-MANA
Copy link
Collaborator

@PG-MANA PG-MANA commented Jul 29, 2023

This PR includes 2 commits.

  1. Change PSCI CPU_ON to use each stack memory from using shared memory.
  2. Add support of booting application processors by spin-table.

This commit is tested on FX700/Raspberry Pi 4 B.

@PG-MANA PG-MANA requested a review from fukai-t July 29, 2023 05:13
@PG-MANA PG-MANA self-assigned this Jul 29, 2023
@PG-MANA PG-MANA added the enhancement New feature or request label Jul 29, 2023
Manami Mori added 2 commits July 29, 2023 16:48
Delete `static mut HYPERVISOR_REGISTERS` By writing values into stack.

Signed-off-by: Manami Mori <[email protected]>
Add support of booting application processors by spin-table.
The implemantation is tested on Raspberry Pi 4 B.
This commit assumes that each CPU has different cpu-release-addr.

Signed-off-by: Manami Mori <[email protected]>
Copy link
Contributor

@fukai-t fukai-t left a comment

Choose a reason for hiding this comment

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

LGTM.

@fukai-t
Copy link
Contributor

fukai-t commented Jul 29, 2023

Note: The spin-table and cpu-release-addr is describled in the device tree specification https://devicetree-specification.readthedocs.io/en/latest/chapter3-devicenodes.html#general-properties-of-cpus-cpu-nodes.

@fukai-t fukai-t merged commit c4558f8 into main Jul 29, 2023
1 check passed
@PG-MANA PG-MANA deleted the features/multi_core branch July 29, 2023 08:35
@fukai-t fukai-t mentioned this pull request Jul 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants