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

Fix getscom on DDR4 everst system #97

Merged
merged 1 commit into from
Aug 19, 2024
Merged

Conversation

deepakala-k
Copy link
Contributor

@deepakala-k deepakala-k commented May 15, 2024

The index values of pdbg targets are updated to match the physical device path. So using the index value for getting the scoms shall fail. The fapi position is still connected to the OMI index. So using the fapi position to calculate the instance id in case of DDR4 system.

root@p10bmc:/tmp# getscom explorer 08012400 -all
explorer k0:n0:s0:p00 0x0000000000000000
explorer k0:n0:s0:p01 0x0000000000000000
explorer k0:n0:s0:p24 0x0000000000000000
explorer k0:n0:s0:p25 0x0000000000000000
explorer k0:n0:s0:p32 0x0000000000000000
explorer k0:n0:s0:p33 0x0000000000000000
explorer k0:n0:s0:p56 0x0000000000000000
explorer k0:n0:s0:p57 0x0000000000000000
/usr/bin/edbg getscom explorer 08012400 -all
root@p10bmc:/tmp# getscom explorer 8012810 -all
explorer k0:n0:s0:p00 0x8122640700112820
explorer k0:n0:s0:p01 0x8122640700112820
explorer k0:n0:s0:p24 0x8122640700112820
explorer k0:n0:s0:p25 0x8122640700112820
explorer k0:n0:s0:p32 0x8122640700112820
explorer k0:n0:s0:p33 0x8122640700112820
explorer k0:n0:s0:p56 0x8122640700112820
explorer k0:n0:s0:p57 0x8122640700112820
/usr/bin/edbg getscom explorer 8012810 -all

The index values of pdbg targets are updated to match the physical
device path. So using the index value for getting the scoms shall fail.
The fapi position is still connected to the OMI index. So using the fapi
position to calculate the instance id in case of DDR4 system.

Tested Results:
root@p10bmc:/tmp# getscom explorer 08012400 -all
explorer        k0:n0:s0:p00       0x0000000000000000
explorer        k0:n0:s0:p01       0x0000000000000000
explorer        k0:n0:s0:p24       0x0000000000000000
explorer        k0:n0:s0:p25       0x0000000000000000
explorer        k0:n0:s0:p32       0x0000000000000000
explorer        k0:n0:s0:p33       0x0000000000000000
explorer        k0:n0:s0:p56       0x0000000000000000
explorer        k0:n0:s0:p57       0x0000000000000000
/usr/bin/edbg getscom explorer 08012400 -all

root@p10bmc:/tmp# getscom explorer 8012810 -all
explorer        k0:n0:s0:p00       0x8122640700112820
explorer        k0:n0:s0:p01       0x8122640700112820
explorer        k0:n0:s0:p24       0x8122640700112820
explorer        k0:n0:s0:p25       0x8122640700112820
explorer        k0:n0:s0:p32       0x8122640700112820
explorer        k0:n0:s0:p33       0x8122640700112820
explorer        k0:n0:s0:p56       0x8122640700112820
explorer        k0:n0:s0:p57       0x8122640700112820
/usr/bin/edbg getscom explorer 8012810 -all
Copy link
Contributor

@devenrao devenrao left a comment

Choose a reason for hiding this comment

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

typo in the commit header everest

@aravynd aravynd merged commit fc23cee into open-power:master Aug 19, 2024
1 check passed
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.

3 participants