heads icon indicating copy to clipboard operation
heads copied to clipboard

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

Open tlaurion opened this issue 1 year ago • 0 comments

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

tlaurion avatar Feb 14 '24 19:02 tlaurion