DARWIN: add initial platform_manager.json config #267
+481
−0
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.
Description
Adds initial
platform_manager
support for DARWIN platform.All sysfs file names are the same as the current udev-based approach, with the following exception:
miscCtrlConfigs
is used for watchdogs so thatplatform_manager
doesn't enforce that a device be created in/dev/
.SC_QSFPDD_IR35223
,SC_TH3_ANLG_IR35223
, andSC_TH3_CORE_IR35223
devices are added for additional monitoring. These were previously shared but had not been incorporated.Caveats
platform_manager
currently reports two failures because it does not read Darwin's EEPROM format correctly;platform_manager
support needs to be added for this:platform_manager
fails to read the version and subversion of the CPU_CPLD because the symlink is in/run/devmap/cplds/
; this is where the symlink is located in the existing udev rule-based implementation, so the behavior is maintained here.Test Plan
Tested on Darwin with Linux kernel 6.4 and CentOS 9.
platform_manager
service is running:platform_manager
loads all devices correctly: