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

minerva-ag: Support soc_pcie_perst commands #2183

Conversation

LisaChang-Quanta
Copy link
Contributor

Summary:

  • Support soc_pcie_perst commands

Test Plan:

  • Build code: PASS

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jan 20, 2025
@facebook-github-bot
Copy link
Contributor

@facebook-github-bot has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. (Because this pull request was imported automatically, there will not be any future comments.)

Copy link

@jamesatha jamesatha left a comment

Choose a reason for hiding this comment

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

Address style issues and rebase please

static bool soc_pcie_perst_user_settings_init(void)
{
uint8_t setting_data = 0xFF;
if (get_user_settings_soc_pcie_perst_from_eeprom(&setting_data, sizeof(setting_data)) ==

Choose a reason for hiding this comment

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

nit style: remove the == false and change the order of the if/else

@@ -69,6 +69,19 @@ static int cmd_perm_config_get(const struct shell *shell, size_t argc, char **ar
}
}

uint8_t setting_data_for_soc_pcie_perst = 0xFF;
if (get_user_settings_soc_pcie_perst_from_eeprom(&setting_data_for_soc_pcie_perst,

Choose a reason for hiding this comment

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

same style issue here

Summary:
- Support soc_pcie_perst commands

Test Plan:
- Build code: PASS
@LisaChang-Quanta LisaChang-Quanta force-pushed the minerva-ag/support_soc_pcie_perst_commands branch from 8eb23b8 to 24b9dc4 Compare February 3, 2025 08:36
@facebook-github-bot
Copy link
Contributor

@LisaChang-Quanta has updated the pull request. You must reimport the pull request before landing.

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in f2b0bd5.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants