-
Notifications
You must be signed in to change notification settings - Fork 34
Enable propolis to generate ACPI tables #999
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
Open
glitzflitz
wants to merge
45
commits into
oxidecomputer:master
Choose a base branch
from
glitzflitz:acpi_fwcfg_reord
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
45 commits
Select commit
Hold shift + click to select a range
1b0f524
Add fw_cfg table-loader helpers for ACPI table generation
glitzflitz 5b46344
Add RSDT, XSDT and RSDP tables
glitzflitz d9f8ac4
Add FADT and DSDT table generation
glitzflitz 2ea6aaa
Add MADT table
glitzflitz 17a2236
Add MCFG and HPET tables
glitzflitz 1aac6c6
Add FACS table
glitzflitz 99a2d12
Define AML opcode constants
glitzflitz 0ff3a6d
Add ACPI name encoding utilities
glitzflitz 50ee02c
Introduce AML bytecode generation
glitzflitz 4aa74fd
Support resource construction for ACPI methods
glitzflitz 317d357
Wire up firmware/acpi module exports
glitzflitz 0a0b3f2
Generate DSDT with PCIe host bridge
glitzflitz b54f0e1
Implement DsdtGenerator for LpcUart
glitzflitz 37e7b0f
Add PS/2 controller in DSDT
glitzflitz d68d8c2
Add Qemu pvpanic device to DSDT
glitzflitz 4eedc0e
Add PCIe _OSC method for OS capability negotiation
glitzflitz 7036a3e
Prepare the ACPI tables for generation
glitzflitz 61f0ed4
Wire up ACPI table generation via fw_cfg
glitzflitz ac472cf
acpi: generate ACPI tables using acpi_tables crate
lgfa29 13b8439
docs: minor docs touch-ups
lgfa29 fee46d5
fix clippy
lgfa29 a6b3ae3
minor fixes
lgfa29 b7132f2
tests: add phd-test for ACPI tables
lgfa29 5104fb5
Merge remote-tracking branch 'origin/master' into acpi_fwcfg_reord
lgfa29 5fed2fc
fix clippy
lgfa29 e9f7fb1
fwcg: handle invalid configuration
lgfa29 d2f8d37
minor fixes and more tests
lgfa29 e9204ea
minor fixes and improvements
lgfa29 bb6f678
acpi: add more shared constants b/w fadt and dsdt
lgfa29 0e1447a
acpi: add test for ACPI table generation
lgfa29 76ff270
acpi: use stable references to ACPI names
lgfa29 a72a717
acpi: update comments in DSDT table generation
lgfa29 5ba9e22
acpi: document bhyve and unhandled IO ports
lgfa29 889b95a
acpi: expand documentation for sleep states
lgfa29 2e3e048
acpi: wrapper for IO port declaration
lgfa29 48a2dc1
acpi: add historical note about ACPI tables
lgfa29 a5d716f
acpi: reuse existing IO port values
lgfa29 71c8e6f
acpi: use SERIALIZED and NOT_SERIALIZED constants
lgfa29 9f29190
acpi: expand on MMIO32 and MMIO64 range values
lgfa29 02bf8cd
acpi: update lpc.rs
lgfa29 b82be28
acpi: update fadt.rs
lgfa29 1e97c1c
acpi: expand doc on ACPI reset register
lgfa29 b70a2c8
acpi: add note about high vCPU count
lgfa29 99bf8c0
acpi: reuse more existing values and improve docs
lgfa29 75fd262
acpi: update fwcfg.rs
lgfa29 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
as long as we're pulling this in as a git dependency, lets include a
rev = ...so it's clear which rev we're actually using without fishing through Cargo.toml please(do you have any remaining not-upstreamed changes? :D or is there not a sufficiently new release yet?)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh right, I meant to create a tag once the changes stabilized.
Most of my upstream PRs are still open (https://github.com/rust-vmm/acpi_tables/pulls/lgfa29), but we will need to keep running a fork until we update our ACPI table versions (https://github.com/oxidecomputer/acpi_tables/blob/main-oxide/src/fadt_3.rs).
I will create the tag and update the reference here.