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

Initialize PCIe for the second CPU #77

Merged

Conversation

SergiiDmytruk
Copy link
Member

Updates isteps 10.10, 10.12 and 14.3 with CPU-specific configuration and chip-specific SCOM accesses.

src/soc/ibm/power9/istep_10_10.c Outdated Show resolved Hide resolved
src/soc/ibm/power9/istep_10_10.c Outdated Show resolved Hide resolved
src/soc/ibm/power9/istep_10_10.c Outdated Show resolved Hide resolved
src/soc/ibm/power9/istep_10_12.c Outdated Show resolved Hide resolved
src/soc/ibm/power9/istep_10_12.c Outdated Show resolved Hide resolved
src/soc/ibm/power9/istep_14_3.c Outdated Show resolved Hide resolved
@SergiiDmytruk SergiiDmytruk force-pushed the raptor-cs_talos-2/pcie_2nd_cpu branch from 81457d3 to 84f6d7d Compare January 31, 2022 15:57
@SergiiDmytruk
Copy link
Member Author

In addition to addressing comments also made 14.3 use chip for group ID in one place (the other one is address extension group ID which is always zero). I had this on OCC branch, but didn't apply here until now.

@SergiiDmytruk SergiiDmytruk force-pushed the raptor-cs_talos-2/smp branch 2 times, most recently from 7b79b81 to e88aa67 Compare January 31, 2022 22:59
@SergiiDmytruk SergiiDmytruk force-pushed the raptor-cs_talos-2/pcie_2nd_cpu branch from 84f6d7d to 8f45921 Compare January 31, 2022 23:04
@SergiiDmytruk SergiiDmytruk force-pushed the raptor-cs_talos-2/pcie_2nd_cpu branch from 8f45921 to a8cb8d0 Compare February 2, 2022 21:01
@krystian-hebel krystian-hebel changed the base branch from raptor-cs_talos-2/smp to raptor-cs_talos-2/develop February 4, 2022 15:09
@SergiiDmytruk SergiiDmytruk force-pushed the raptor-cs_talos-2/pcie_2nd_cpu branch from a8cb8d0 to 05474af Compare February 4, 2022 16:59
For now keep among other constants, but they are to be extracted into a
header of their own.

Change-Id: Ia913e6d00df816bc98ba07bdb50c6c6784aca84e
Signed-off-by: Sergii Dmytruk <[email protected]>
@SergiiDmytruk SergiiDmytruk force-pushed the raptor-cs_talos-2/pcie_2nd_cpu branch from 05474af to 88566a9 Compare February 4, 2022 17:24
* MAX_CHIPS constant
* fix header guards in pci.h
* CPU-specific PCIe masks
* CPU-specific IOP swap
* chip-specific SCOM operations
* now computed PCIe is returned as an array of structures

Change-Id: Ib39b9f97ed8dfb0b77bc0001cd1a951b44e58a32
Signed-off-by: Sergii Dmytruk <[email protected]>
Use chip-specific SCOM accesses.

Change-Id: Id6c782d6ad1a956855d7e0a8b5faff248fbe3b26
Signed-off-by: Sergii Dmytruk <[email protected]>
@SergiiDmytruk SergiiDmytruk force-pushed the raptor-cs_talos-2/pcie_2nd_cpu branch from 88566a9 to 619afc4 Compare February 7, 2022 15:48
Chip-specific SCOM accesses and values computed in istep 10.10.

Change-Id: Ic5b4932cfe3fe960ea5464b0df71603a528ca4ed
Signed-off-by: Sergii Dmytruk <[email protected]>
@krystian-hebel krystian-hebel merged commit 619afc4 into raptor-cs_talos-2/develop Feb 7, 2022
@krystian-hebel krystian-hebel deleted the raptor-cs_talos-2/pcie_2nd_cpu branch February 7, 2022 16:27
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