Skip to content
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

Investigate exposing coreboot tables through sysfs for x86 (so kexec to xen can expose them to dom0 for cbmem) #1611

Open
tlaurion opened this issue Feb 14, 2024 · 0 comments

Comments

@tlaurion
Copy link
Collaborator

From https://matrix.to/#/!WtRrlYUTHOQjqGcSnn:invisiblethingslab.com/$zJFI4O_26wjlsNvQ-DybW3vpTsoJet5m8j7Y4ffqXuQ?via=invisiblethingslab.com&via=matrix.org&via=nitro.chat

@krystian-hebel said:

I've added exposing CBMEM (i.e. memory region) as sysfs files for PPC64 in https://github.com/linuxboot/heads/blob/master/patches/linux-5.5-openpower/0011-drivers-firmware-google-expose-CBMEM-as-sysfs-file.patch, it may work on x86 after CBMEM is added as a resource to ACPI table on coreboot side. IIUC Xen passes ACPI to dom0, and the full coreboot tables are mapped there, so in theory this should work

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

No branches or pull requests

1 participant