Skip to content

[Nexthop][platform_manager][m4062nhp] Record sysfs path for miscCtrlConfigs entries - #1417

Open
anna-nexthop wants to merge 1 commit into
facebook:mainfrom
nexthop-ai:anna-nexthop.pm-fpga-ip-block-sysfs-path
Open

[Nexthop][platform_manager][m4062nhp] Record sysfs path for miscCtrlConfigs entries#1417
anna-nexthop wants to merge 1 commit into
facebook:mainfrom
nexthop-ai:anna-nexthop.pm-fpga-ip-block-sysfs-path

Conversation

@anna-nexthop

@anna-nexthop anna-nexthop commented Jul 24, 2026

Copy link
Copy Markdown
Contributor

Pre-submission checklist

  • I've ran the linters locally and fixed lint errors related to the files I modified in this PR. You can install the linters by running pip install -r requirements-dev.txt && pre-commit install
  • pre-commit run

Summary

Makes PciExplorer::createFpgaIpBlock() return the created auxiliary device's sysfs path, and has PlatformExplorer record that path in the DataStore for miscCtrlConfigs entries (as already done for other FPGA IP blocks). Without it, downstream services (e.g. sensor_service) can't locate a misc-control FPGA IP block's sysfs node, so registers exposed via miscCtrlConfigs, such as an ASIC temperature register, can't be read.

Test Plan

Built and verified against hardware.

…ries

Makes `PciExplorer::createFpgaIpBlock()` return the created auxiliary device's
sysfs path, and has `PlatformExplorer` record that path in the DataStore for
`miscCtrlConfigs` entries (as already done for other FPGA IP blocks).
Without it, downstream services (e.g. `sensor_service`) can't locate a
misc-control FPGA IP block's sysfs node, so registers exposed via
`miscCtrlConfigs`, such as an ASIC temperature register, can't be read.
@meta-cla meta-cla Bot added the CLA Signed label Jul 24, 2026
@anna-nexthop anna-nexthop changed the title [Nexthop][platform_manager] record sysfs path for miscCtrlConfigs ent… [Nexthop][platform_manager][m4062nhp] Record sysfs path for miscCtrlConfigs entries Jul 24, 2026
@anna-nexthop
anna-nexthop marked this pull request as ready for review July 24, 2026 22:53
@anna-nexthop
anna-nexthop requested a review from a team as a code owner July 24, 2026 22:53
@srikrishnagopu
srikrishnagopu self-requested a review July 25, 2026 04:57
@meta-codesync

meta-codesync Bot commented Jul 25, 2026

Copy link
Copy Markdown
Contributor

@srikrishnagopu has imported this pull request. If you are a Meta employee, you can view this in D113635085.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant