[PATCH 0/3] Fix alignment of FACS in guests

Kevin Stefanov posted 3 patches 2 years, 7 months ago
Failed in applying to current master (apply log)
tools/libacpi/build.c             | 2 +-
tools/libs/light/libxl_x86_acpi.c | 3 ++-
2 files changed, 3 insertions(+), 2 deletions(-)
[PATCH 0/3] Fix alignment of FACS in guests
Posted by Kevin Stefanov 2 years, 7 months ago
When booting Xen as a PVH guest, it currently complains:

  (XEN) ACPI: SLEEP INFO: pm1x_cnt[1:b004,1:0], pm1x_evt[1:b000,1:0]
  (XEN) ACPI: FACS is not 64-byte aligned: 0xfc001010
  (XEN) ACPI: wakeup_vec[fc00101c], vec_size[20]
  (XEN) ACPI: Local APIC address 0xfee00000

This is caused by several bugs in the toolstack whilst writing ACPI
tables.

Kevin Stefanov (3):
  tools/libacpi: Use 64-byte alignment for FACS
  tools/libxl: Correctly aligned buffer for ACPI tables
  tools/libxl: Only allocate 64 bytes for RSDP

 tools/libacpi/build.c             | 2 +-
 tools/libs/light/libxl_x86_acpi.c | 3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)

-- 
2.25.1