Public bug reported:

== Comment: #0 - Breno Henrique Leitao <[email protected]> - 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 <[email protected]>
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 <[email protected]>
    Reviewed-by: C?dric Le Goater <[email protected]>
    Signed-off-by: David Gibson <[email protected]>
    (cherry picked from commit bac3bf287ab60e264b636f5f00c116a19b655762)

commit 45a4f18e2ec40b96893c780c28ab18c246906355
Author: Thomas Huth <[email protected]>
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 <[email protected]>
    Reviewed-by: C?dric Le Goater <[email protected]>
    Signed-off-by: David Gibson <[email protected]>
    (cherry picked from commit 4cbec30d769a73853b60dc7f275e6e7da9ab5162)

commit 5c179666057a7568306062e2cd030042a25eb57a
Author: Thomas Huth <[email protected]>
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 <[email protected]>
    Reviewed-by: C?dric Le Goater <[email protected]>
    Signed-off-by: David Gibson <[email protected]>
    (cherry picked from commit 230bf719d3a3b144a4ffa441e5d6170ef0ad8999)

** Affects: qemu (Ubuntu)
     Importance: Undecided
     Assignee: Taco Screen team (taco-screen-team)
         Status: New


** Tags: architecture-ppc64le bugnameltc-151465 severity-high 
targetmilestone-inin16042

** Tags added: architecture-ppc64le bugnameltc-151465 severity-high
targetmilestone-inin16042

** Changed in: ubuntu
     Assignee: (unassigned) => Taco Screen team (taco-screen-team)

** Package changed: ubuntu => qemu (Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1664622

Title:
  qemu: Missing transaction memory advertisement

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to