-
Notifications
You must be signed in to change notification settings - Fork 303
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
DARWIN: add initial platform_manager.json config #267
base: main
Are you sure you want to change the base?
Conversation
@joancaneus has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
@adamcalabrigo has updated the pull request. You must reimport the pull request before landing. |
@adamcalabrigo has updated the pull request. You must reimport the pull request before landing. |
@joancaneus has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
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: