← Back to team overview

group.of.nepali.translators team mailing list archive

[Bug 1664622] Re: qemu: Missing transaction memory advertisement

 

** Also affects: qemu (Ubuntu Yakkety)
   Importance: Undecided
       Status: New

** Changed in: qemu (Ubuntu Yakkety)
       Status: New => Confirmed

-- 
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1664622

Title:
  qemu: Missing transaction memory advertisement

Status in qemu package in Ubuntu:
  Fix Released
Status in qemu source package in Xenial:
  Confirmed
Status in qemu source package in Yakkety:
  Confirmed

Bug description:
  == Comment: #0 - Breno Henrique Leitao <brenohl@xxxxxxxxxx> - 2017-02-14 10:03:03 ==
  We don't support transactional memory in PR KVM, so don't tell the OS that we do.

  These are the required patches:

  commit 2e68f28854f0120c9a938a61b64aaf1eaecb162b
  Author: Thomas Huth <thuth@xxxxxxxxxx>
  Date:   Wed Sep 28 13:16:30 2016 +0200

      ppc: Check the availability of transactional memory
      
      KVM-PR currently does not support transactional memory, and the
      implementation in TCG is just a fake. We should not announce TM
      support in the ibm,pa-features property when running on such a
      system, so disable it by default and only enable it if the KVM
      implementation supports it (i.e. recent versions of KVM-HV).
      These changes are based on some earlier work from Anton Blanchard
      (thanks!).
      
      Signed-off-by: Thomas Huth <thuth@xxxxxxxxxx>
      Reviewed-by: C?dric Le Goater <clg@xxxxxxxx>
      Signed-off-by: David Gibson <david@xxxxxxxxxxxxxxxxxxxxx>
      (cherry picked from commit bac3bf287ab60e264b636f5f00c116a19b655762)

  commit 45a4f18e2ec40b96893c780c28ab18c246906355
  Author: Thomas Huth <thuth@xxxxxxxxxx>
  Date:   Wed Sep 28 13:16:29 2016 +0200

      hw/ppc/spapr: Fix the selection of the processor features
      
      The current code uses pa_features_206 for POWERPC_MMU_2_06, and
      for everything else, it uses pa_features_207. This is bad in some
      cases because there is also a "degraded" MMU version of ISA 2.06,
      called POWERPC_MMU_2_06a, which should of course use the flags for
      2.06 instead. And there is also the possibility that the user runs
      the pseries machine with a POWER5+ or even 970 processor. In that
      case we certainly do not want to set the flags for 2.07, and rather
      simply skip the setting of the pa-features property instead.
      
      Signed-off-by: Thomas Huth <thuth@xxxxxxxxxx>
      Reviewed-by: C?dric Le Goater <clg@xxxxxxxx>
      Signed-off-by: David Gibson <david@xxxxxxxxxxxxxxxxxxxxx>
      (cherry picked from commit 4cbec30d769a73853b60dc7f275e6e7da9ab5162)

  commit 5c179666057a7568306062e2cd030042a25eb57a
  Author: Thomas Huth <thuth@xxxxxxxxxx>
  Date:   Wed Sep 28 13:16:28 2016 +0200

      hw/ppc/spapr: Move code related to "ibm,pa-features" to a separate function
      
      The function spapr_populate_cpu_dt() has become quite big
      already, and since we likely have to extend the pa-features
      property for every new processor generation, it is nicer
      if we put the related code into a separate function.
      
      Signed-off-by: Thomas Huth <thuth@xxxxxxxxxx>
      Reviewed-by: C?dric Le Goater <clg@xxxxxxxx>
      Signed-off-by: David Gibson <david@xxxxxxxxxxxxxxxxxxxxx>
      (cherry picked from commit 230bf719d3a3b144a4ffa441e5d6170ef0ad8999)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qemu/+bug/1664622/+subscriptions