Skip to content

Fix PMBus backend selector#703

Open
mkeeter wants to merge 1 commit into
masterfrom
mkeeter/pmbus-backend-selection
Open

Fix PMBus backend selector#703
mkeeter wants to merge 1 commit into
masterfrom
mkeeter/pmbus-backend-selection

Conversation

@mkeeter

@mkeeter mkeeter commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

(There's a new big block comment that explains what's going on, so you may want to go read that)

Previously, we would always select the IdolWorker PMBus agent when network connected. This is fine for the udprpc backend, where the HIF program is executed on the host computer and so the additional overhead of Idol IPC doesn't matter.

However, the introduction of the hiffy+net backend means that we would (1) select the IdolWorker agent, because the system is network-connected then (2) use the hiffy backend, executing the larger programs on the SP. This is not ideal!

This PR teaches the pmbus crate about the different HiffyContext backends, so that it can make smarter choices.

@mkeeter mkeeter requested review from jamesmunns and labbott June 18, 2026 20:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant