oxidecomputer / oxidecomputer/propolis

soft-npu: need means of self-identification

Open
#234 0 comments 0 reactions 1 assignee View on GitHub

@rcgoodfellow is already working on this.

Since Oct 31, 2022.

Dominant language
Rust
Stars
270
Forks
42
Avg merge
4d 5h
Merged PRs (30d)
6

Description

Right now when you launch a VM with soft-npu the only way you know that this is present is by opening up the right UART and sending a message. When we look at trying to fit that together with the general detection methods of a scrimlet, that's not really a good strategy. We really shouldn't be going around assuming UARTs are or aren't something. It'd be much more helpful to have a self-identifying means of this. One way to do this would be to have a dummy PCI device that shows up as revision 0 and has no BARs, only a set PCI ID. If we did later move the UART interface to this, we would then change the hardware revision and use that in the compatible array as part of attaching.

There are other ways like custom smbios tables or more, but the PCI device seems like the thing that's most up our alley.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.