[PULL 00/11] target/i386, HPET changes for QEMU 9.1 soft freeze

Paolo Bonzini posted 11 patches 1 month, 2 weeks ago
MAINTAINERS                              |   1 +
docs/specs/index.rst                     |   1 +
docs/specs/rapl-msr.rst                  | 155 +++++++++
docs/tools/index.rst                     |   1 +
docs/tools/qemu-vmsr-helper.rst          |  89 ++++++
meson.build                              |   7 +
include/io/channel.h                     |  21 ++
include/sysemu/kvm_int.h                 |  32 ++
target/i386/cpu.h                        |   8 +
target/i386/kvm/vmsr_energy.h            |  99 ++++++
tools/i386/rapl-msr-index.h              |  28 ++
accel/kvm/kvm-all.c                      |  27 ++
hw/i386/sgx.c                            |   6 +-
hw/timer/hpet.c                          | 329 +++++++++----------
io/channel-socket.c                      |  28 ++
io/channel.c                             |  13 +
target/i386/kvm/kvm.c                    | 431 ++++++++++++++++++++++++-
target/i386/kvm/vmsr_energy.c            | 345 ++++++++++++++++++++
tools/i386/qemu-vmsr-helper.c            | 530 +++++++++++++++++++++++++++++++
contrib/systemd/qemu-vmsr-helper.service |  15 +
contrib/systemd/qemu-vmsr-helper.socket  |   9 +
hw/timer/trace-events                    |   4 +-
target/i386/kvm/meson.build              |   1 +
23 files changed, 1995 insertions(+), 185 deletions(-)
create mode 100644 docs/specs/rapl-msr.rst
create mode 100644 docs/tools/qemu-vmsr-helper.rst
create mode 100644 target/i386/kvm/vmsr_energy.h
create mode 100644 tools/i386/rapl-msr-index.h
create mode 100644 target/i386/kvm/vmsr_energy.c
create mode 100644 tools/i386/qemu-vmsr-helper.c
create mode 100644 contrib/systemd/qemu-vmsr-helper.service
create mode 100644 contrib/systemd/qemu-vmsr-helper.socket
[PULL 00/11] target/i386, HPET changes for QEMU 9.1 soft freeze
Posted by Paolo Bonzini 1 month, 2 weeks ago
The following changes since commit a7ddb48bd1363c8bcdf42776d320289c42191f01:

  Merge tag 'pull-aspeed-20240721' of https://github.com/legoater/qemu into staging (2024-07-22 07:52:05 +1000)

are available in the Git repository at:

  https://gitlab.com/bonzini/qemu.git tags/for-upstream

for you to fetch changes up to 7c912ffb59e8137091894d767433e65c3df8b0bf:

  hpet: avoid timer storms on periodic timers (2024-07-22 19:19:44 +0200)

----------------------------------------------------------------
* target/i386/kvm: support for reading RAPL MSRs using a helper program
* hpet: emulation improvements

----------------------------------------------------------------
Anthony Harivel (3):
      qio: add support for SO_PEERCRED for socket channel
      tools: build qemu-vmsr-helper
      Add support for RAPL MSRs in KVM/Qemu

Paolo Bonzini (8):
      target/i386: do not crash if microvm guest uses SGX CPUID leaves
      hpet: fix and cleanup persistence of interrupt status
      hpet: ignore high bits of comparator in 32-bit mode
      hpet: remove unnecessary variable "index"
      hpet: place read-only bits directly in "new_val"
      hpet: accept 64-bit reads and writes
      hpet: store full 64-bit target value of the counter
      hpet: avoid timer storms on periodic timers

 MAINTAINERS                              |   1 +
 docs/specs/index.rst                     |   1 +
 docs/specs/rapl-msr.rst                  | 155 +++++++++
 docs/tools/index.rst                     |   1 +
 docs/tools/qemu-vmsr-helper.rst          |  89 ++++++
 meson.build                              |   7 +
 include/io/channel.h                     |  21 ++
 include/sysemu/kvm_int.h                 |  32 ++
 target/i386/cpu.h                        |   8 +
 target/i386/kvm/vmsr_energy.h            |  99 ++++++
 tools/i386/rapl-msr-index.h              |  28 ++
 accel/kvm/kvm-all.c                      |  27 ++
 hw/i386/sgx.c                            |   6 +-
 hw/timer/hpet.c                          | 329 +++++++++----------
 io/channel-socket.c                      |  28 ++
 io/channel.c                             |  13 +
 target/i386/kvm/kvm.c                    | 431 ++++++++++++++++++++++++-
 target/i386/kvm/vmsr_energy.c            | 345 ++++++++++++++++++++
 tools/i386/qemu-vmsr-helper.c            | 530 +++++++++++++++++++++++++++++++
 contrib/systemd/qemu-vmsr-helper.service |  15 +
 contrib/systemd/qemu-vmsr-helper.socket  |   9 +
 hw/timer/trace-events                    |   4 +-
 target/i386/kvm/meson.build              |   1 +
 23 files changed, 1995 insertions(+), 185 deletions(-)
 create mode 100644 docs/specs/rapl-msr.rst
 create mode 100644 docs/tools/qemu-vmsr-helper.rst
 create mode 100644 target/i386/kvm/vmsr_energy.h
 create mode 100644 tools/i386/rapl-msr-index.h
 create mode 100644 target/i386/kvm/vmsr_energy.c
 create mode 100644 tools/i386/qemu-vmsr-helper.c
 create mode 100644 contrib/systemd/qemu-vmsr-helper.service
 create mode 100644 contrib/systemd/qemu-vmsr-helper.socket
-- 
2.45.2
Re: [PULL 00/11] target/i386, HPET changes for QEMU 9.1 soft freeze
Posted by Richard Henderson 1 month, 2 weeks ago
On 7/24/24 00:15, Paolo Bonzini wrote:
> The following changes since commit a7ddb48bd1363c8bcdf42776d320289c42191f01:
> 
>    Merge tag 'pull-aspeed-20240721' ofhttps://github.com/legoater/qemu into staging (2024-07-22 07:52:05 +1000)
> 
> are available in the Git repository at:
> 
>    https://gitlab.com/bonzini/qemu.git tags/for-upstream
> 
> for you to fetch changes up to 7c912ffb59e8137091894d767433e65c3df8b0bf:
> 
>    hpet: avoid timer storms on periodic timers (2024-07-22 19:19:44 +0200)
> 
> ----------------------------------------------------------------
> * target/i386/kvm: support for reading RAPL MSRs using a helper program
> * hpet: emulation improvements

Applied, thanks.  Please update https://wiki.qemu.org/ChangeLog/9.1 as appropriate.

r~