Skip to content

firmware changes as part of QEMU/Xen merge.

[email protected] xen-devel 5 versions – Applied

Status from this message: I've applied this patch, thanks.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest6 patches 2 repliesApplied
  2. v46 patches 2 repliesSuperseded
  3. v36 patches 7 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v23 patches2 repliesSuperseded
v12 patches5 repliesSuperseded

Changes in v5 from the cover letter

- fix save of data to save in xc save.

Patches in v5 Applied

#Subject and filesSizeRepliesApplied
1/6firmware, Change ACPI IO addresses and values to match QEMU BIOS.tools/firmware/hvmloader/acpi/dsdt.asl tools/firmware/hvmloader/hvmloader.c xen/include/public/hvm/ioreq.h+23 -90 replies
2/6xen, Introduce unregister_io_handlerxen/arch/x86/hvm/intercept.c xen/include/asm-x86/hvm/io.h+34 -00 replies
3/6xen, Introduce pmtimer_change_ioport and HVM_PARAM_ACPI_IOPORTS_LOCATION.xen/arch/x86/hvm/hvm.c xen/arch/x86/hvm/pmtimer.c xen/include/asm-x86/hvm/vpt.h +1 more+45 -30 replies
4/6firmware, Set HVM_PARAM_ACPI_IOPORTS_LOCATIONtools/firmware/hvmloader/hvmloader.c+7 -00 replies
5/6libxc, save/restore, Save the HVM_PARAM_ACPI_IOPORTS_LOCATIONtools/libxc/xc_domain_restore.c tools/libxc/xc_domain_save.c tools/libxc/xg_save_restore.h+31 -01 reply
6/6piix4acpi: change in ACPI to match the change in the BIOS.hw/piix4acpi.c+82 -177 replies

Reviews trailers per patch

1 of 6 patches has a Reviewed-by or Acked-by.

PatchKeir Fraser
1/6
2/6
3/6
4/6
5/6
6/6A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v5 thread

Cover letter [PATCH V5 0/6] firmware changes as part of QEMU/Xen merge.

From: Anthony PERARD <[email protected]>

This patches are for Xen-unstable and Qemu-DM.

With the integration of Xen into QEMU, we would like to minimise the change and use the ACPI implementation of QEMU. So there are some change to make on the firmware to match the QEMU's BIOS. Some IO Ports are different and the sleep state values are different.

Change v4->v5:
- fix save of data to save in xc save.

Change v3->v4:
- Rename HVM_PARAM_ACPI_NEW_IOPORT to HVM_PARAM_ACPI_IOPORTS_LOCATION
- Better comment for HVM_PARAM_ACPI_IOPORTS_LOCATION.

Change v2->v3:
Xen will register the old ioport by default and switch to the new ioport if the HVM_PARAM_ACPI_NEW_IOPORT is set. So, this series come with a new function, unregister_io_handler, and a new HVM_PARAM.

Change v1->v2:
This time, both old and new ioport are handled.
In QEMU-Xen, the choice between one or the other is made when a saved state is restored.
In Xen, both ioports are registered.

Anthony PERARD (5):
firmware, Change ACPI IO addresses and values to match QEMU BIOS. xen, Introduce unregister_io_handler
xen, Introduce pmtimer_change_ioport and
HVM_PARAM_ACPI_IOPORTS_LOCATION.
firmware, Set HVM_PARAM_ACPI_IOPORTS_LOCATION
libxc, save/restore, Save the HVM_PARAM_ACPI_IOPORTS_LOCATION

 tools/firmware/hvmloader/acpi/dsdt.asl |   12 ++++++------
 tools/firmware/hvmloader/hvmloader.c   |   11 +++++++++++
 tools/libxc/xc_domain_restore.c        |   20 ++++++++++++++++++++
 tools/libxc/xc_domain_save.c           |   10 ++++++++++
 tools/libxc/xg_save_restore.h          |    1 +
 xen/arch/x86/hvm/hvm.c                 |    9 +++++++++
 xen/arch/x86/hvm/intercept.c           |   26 ++++++++++++++++++++++++++
 xen/arch/x86/hvm/pmtimer.c             |   26 ++++++++++++++++++++++++--
 xen/include/asm-x86/hvm/io.h           |    8 ++++++++
 xen/include/asm-x86/hvm/vpt.h          |    1 +
 xen/include/public/hvm/ioreq.h         |   16 +++++++++++++---
 xen/include/public/hvm/params.h        |   12 +++++++++++-
 12 files changed, 140 insertions(+), 12 deletions(-)

QEMU-Xen change:

Anthony PERARD (1):
piix4acpi: change in ACPI to match the change in the BIOS.

 hw/piix4acpi.c |   99 ++++++++++++++++++++++++++++++++++++++++++++++---------
 1 files changed, 82 insertions(+), 17 deletions(-)
Signature · 1 line
Anthony PERARD