qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PULL 0/4] ppc patches for qemu-2.7 stable branch


From: David Gibson
Subject: [Qemu-devel] [PULL 0/4] ppc patches for qemu-2.7 stable branch
Date: Thu, 13 Oct 2016 16:15:30 +1100

The following changes since commit 1dc33ed90bf1fe1c2014dffa0d9e863c520d953a:

  Update version for v2.7.0 release (2016-09-02 13:44:11 +0100)

are available in the git repository at:

  git://github.com/dgibson/qemu.git tags/ppc-for-2.7-20161013

for you to fetch changes up to 2e68f28854f0120c9a938a61b64aaf1eaecb162b:

  ppc: Check the availability of transactional memory (2016-10-13 12:58:06 
+1100)

----------------------------------------------------------------
qemu-2.7 (stable): ppc patch queue 2016-10-13

TCG for ppc does not properly implement hardware transactional memory.
It has a stub implementation in which transactions always fail.
Unfortunately in v2.7.0, HTM is advertised as being available to
guests, which means guests may incorrectly attempt to use it and hang.

This has been the case for a while, but has become more urgent with
recent (guest) Linux kernel versions which attempt to lazily enable
TM.  Under TCG that now triggers the problem regularly, instead of
just when running a TM aware userspace program.

The problem is already fixed in the 2.8/master branch, by correctly
advertising HTM as not being available with TCG.  This series
backports the relevant patches to the qemu-2.7 stable branch to fix
the problem there.

----------------------------------------------------------------
Cornelia Huck (1):
      linux-headers: update

Thomas Huth (3):
      hw/ppc/spapr: Move code related to "ibm,pa-features" to a separate 
function
      hw/ppc/spapr: Fix the selection of the processor features
      ppc: Check the availability of transactional memory

 hw/ppc/spapr.c                                     | 76 ++++++++++-------
 include/standard-headers/linux/input-event-codes.h | 32 ++++++++
 include/standard-headers/linux/input.h             |  1 +
 include/standard-headers/linux/virtio_config.h     | 10 ++-
 include/standard-headers/linux/virtio_ids.h        |  1 +
 include/standard-headers/linux/virtio_net.h        |  3 +
 include/standard-headers/linux/virtio_vsock.h      | 94 ++++++++++++++++++++++
 linux-headers/asm-arm/kvm.h                        |  4 +-
 linux-headers/asm-arm64/kvm.h                      |  2 +
 linux-headers/asm-s390/kvm.h                       | 41 ++++++++++
 linux-headers/asm-x86/unistd_x32.h                 |  4 +-
 linux-headers/linux/kvm.h                          | 18 ++++-
 linux-headers/linux/vhost.h                        | 33 ++++++++
 target-ppc/kvm.c                                   |  7 ++
 target-ppc/kvm_ppc.h                               |  6 ++
 15 files changed, 295 insertions(+), 37 deletions(-)
 create mode 100644 include/standard-headers/linux/virtio_vsock.h



reply via email to

[Prev in Thread] Current Thread [Next in Thread]