Start pmon before other services in BMC platforms#379
Closed
chinmoy-nexthop wants to merge 2 commits into
Closed
Conversation
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
b101e8f to
f1976bd
Compare
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
f1976bd to
bec5d75
Compare
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
Signed-off-by: Chandrasekaran Swaminathan <chander@nexthop.ai>
Signed-off-by: Chandrasekaran Swaminathan <chander@nexthop.ai>
bec5d75 to
06a70ef
Compare
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR adds platform-aware service ordering for BMC (Aspeed) platforms to ensure proper initialization sequence.
Changes
Feature Priority Ordering for BMC Platforms
On BMC platforms, services are now started in a specific priority order to ensure critical platform monitoring is available before other services:
Implementation Details
Added
_is_bmc_platform()method to detect BMC/Aspeed platforms by:switch_bmc=1inplatform_env.confplatform_asicfileAdded
_get_bmc_feature_priority_order()to define the priority orderingModified
sync_state_field()to process features in priority order on BMC platformsTesting
Tested on BMC platforms to ensure:
Motivation
On BMC platforms, platform monitoring (pmon) must be available early in the boot sequence as other services may depend on platform sensors, fan control, and thermal management being operational.
Starting pmon early ensures:
Signed-off-by: Chandrasekaran Swaminathan chander@nexthop.ai
Pull Request opened by Augment Code with guidance from the PR author