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

Implement istep 10.1 #76

Merged
merged 5 commits into from
Feb 4, 2022

Conversation

SergiiDmytruk
Copy link
Member

This builds SMP and enables cross-CPU XSCOM. For the latter there are new functions with "rscom" instead of "scom" in their names (these now redirect to "rscom" for the first CPU). "r" is for "remote", which isn't terribly accurate because you can use it for local CPU as well, better naming ideas are welcome (a pair of "xscom" and "scom" seemed confusing).

src/soc/ibm/power9/istep_10_1.c Outdated Show resolved Hide resolved
src/soc/ibm/power9/istep_10_1.c Show resolved Hide resolved
src/soc/ibm/power9/istep_10_1.c Outdated Show resolved Hide resolved
src/soc/ibm/power9/istep_10_1.c Outdated Show resolved Hide resolved
src/cpu/power9/scom.c Show resolved Hide resolved
src/include/cpu/power/scom.h Show resolved Hide resolved
src/include/cpu/power/scom.h Outdated Show resolved Hide resolved
%x -> %llx

Change-Id: I4c90b495b169d10d27d2a8f0dba3d98270a9209c
Signed-off-by: Sergii Dmytruk <[email protected]>
Change-Id: Iff4e98ae52c7099954f0c20fcb639eb87af15534
Signed-off-by: Sergii Dmytruk <[email protected]>
This generalizes implementation to accept CPU/chip number, implements
"rscom" API for accesses that specify chip and reimplements "scom"
functions using "rscom" variants with hard-coded chip number 0.

Change-Id: I6f877dda0565f50ae9e55d1f11368b0f16c348d6
Signed-off-by: Sergii Dmytruk <[email protected]>
This makes it work with arbitrary CPU and also exposes the function to
other units.

Change-Id: I2c98fc376ebf6761ace7e6874e6b1d50f06374b1
Signed-off-by: Sergii Dmytruk <[email protected]>
Change-Id: I8b48503bc995b9d187f2e5edc011d1be6731af3d
Signed-off-by: Sergii Dmytruk <[email protected]>
@krystian-hebel krystian-hebel changed the base branch from raptor-cs_talos-2/xbus_cfg to raptor-cs_talos-2/develop February 4, 2022 14:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants