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

cater for get and set sbe odyssey state #84

Merged
merged 2 commits into from
Jan 25, 2024
Merged

Conversation

devenrao
Copy link
Contributor

  1. Provide methods to read odyssey sbe state
  2. User odyssey fsi target to read the sbe state

Tested:
PDBG:fsi_ody_read[382]: rc = 0, addr = 0x02986, data = 0x00000000, target = /hmfsi-ody@310 sbe state value is 0

Change-Id: I59aa51a90bc235b989e65c937a7ed9b7d2e40a57

1) Provide methods to read odyssey sbe state
2) User odyssey fsi target to read the sbe state

Tested:
PDBG:fsi_ody_read[382]: rc = 0, addr = 0x02986, data = 0x00000000, target = /hmfsi-ody@310
sbe state value is 0

Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com>
Change-Id: I59aa51a90bc235b989e65c937a7ed9b7d2e40a57
Copy link
Contributor

@Swarnendu-R-C Swarnendu-R-C left a comment

Choose a reason for hiding this comment

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

Looks good to me

1) Add API to write odyssey sbe state register value

Tested:
PDBG:fsi_ody_read[382]: rc = 0, addr = 0x02986, data = 0x00000000, target = /hmfsi-ody@110

get ody sbe state value is 0
PDBG:fsi_ody_write[401]: rc = 0, addr = 0x02986, data = 0x00000000, target = /hmfsi-ody@110

successfully set ody sbe state value

Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com>
Change-Id: Ie62a861e7b166e3db9a46e2836971d9bb46891f8
@devenrao devenrao changed the title cater for get sbe odyssey state cater for get and set sbe odyssey state Jan 23, 2024
Copy link
Contributor

@Swarnendu-R-C Swarnendu-R-C left a comment

Choose a reason for hiding this comment

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

Working as expected. Looks good to me

@aravynd aravynd merged commit fae88a6 into open-power:master Jan 25, 2024
1 check passed
@devenrao devenrao deleted the state branch January 26, 2024 07:47
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.

4 participants