Page MenuHomeFreeBSD

bhyve: improve acpi table generation
AbandonedPublic

Authored by corvink on Oct 14 2022, 8:51 AM.
Tags
Referenced Files
Unknown Object (File)
Wed, Apr 17, 4:29 PM
Unknown Object (File)
Feb 11 2024, 9:36 PM
Unknown Object (File)
Feb 11 2024, 9:33 PM
Unknown Object (File)
Feb 11 2024, 7:02 PM
Unknown Object (File)
Feb 11 2024, 3:26 AM
Unknown Object (File)
Jan 28 2024, 1:36 PM
Unknown Object (File)
Dec 23 2023, 1:54 AM
Unknown Object (File)
Dec 21 2023, 5:24 AM

Details

Reviewers
jhb
markj
rew
Group Reviewers
bhyve
Summary

My qemu fwcfg patch (D31578) gets no review. So, it'll probably take much time to get merged. I did the work to split off the qemu fwcfg requirement from my acpi table generation rework. The acpi table generation without qemu fwcfg support looses some flexibility but it's still an improvement.

This patch improves the acpi table generation in two ways:

  1. acpi tables are generated and loaded dynamically. No static offsets any more.
  2. iasl isn't required any more for acpi table generation (not true for dsdt)

For easier review and committing, I'll create multiple patches for it. There's also a github branch which splits it into several commits (https://github.com/Beckhoff/freebsd-src/commits/phab/corvink/acpi-tables):

  1. D36984
  2. D36985
  3. D36986
  4. D36987
  5. D36988
  6. D36989
  7. D36990
  8. D36991
  9. D36992
  10. D36993
  11. D36994
  12. D36995
  13. D36996
  14. D36997
  15. D36998
  16. D36999
  17. D37000
  18. D37001
  19. D37002

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

This revision was intended as overview about my patch series. Phabricator has a stack feature for this purpose so it's not required any more.

Thanks to jhb@ who showed me the stack feature.