qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/2] ppc/kvm: Always allow transactional memory on POWER8 KVM-HV
@ 2016-09-29 10:48 Thomas Huth
  2016-09-29 10:48 ` [Qemu-devel] [PATCH 1/2] target-ppc/kvm: Add a wrapper function to check for KVM-PR Thomas Huth
  2016-09-29 10:48 ` [Qemu-devel] [PATCH 2/2] target-ppc/kvm: Enable transactional memory on POWER8 with KVM-HV, too Thomas Huth
  0 siblings, 2 replies; 5+ messages in thread
From: Thomas Huth @ 2016-09-29 10:48 UTC (permalink / raw)
  To: David Gibson, qemu-ppc; +Cc: Alexander Graf, qemu-devel

KVM-HV also supports transactional memory on POWER8 with older
kernels that do not support the KVM_CAP_PPC_HTM extension yet.
The first patch introduces a proper function for checking whether
we're running on KVM-PR or KVM-HV, which is then used in the
second patch to check that we're running on POWER8 with KVM-HV,
so we can allow TM there, too.

Thomas Huth (2):
  target-ppc/kvm: Add a wrapper function to check for KVM-PR
  target-ppc/kvm: Enable transactional memory on POWER8 with KVM-HV, too

 hw/ppc/spapr.c   |  2 +-
 target-ppc/kvm.c | 32 +++++++++++++++++++++-----------
 2 files changed, 22 insertions(+), 12 deletions(-)

-- 
1.8.3.1

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-09-29 23:37 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-29 10:48 [Qemu-devel] [PATCH 0/2] ppc/kvm: Always allow transactional memory on POWER8 KVM-HV Thomas Huth
2016-09-29 10:48 ` [Qemu-devel] [PATCH 1/2] target-ppc/kvm: Add a wrapper function to check for KVM-PR Thomas Huth
2016-09-29 23:23   ` David Gibson
2016-09-29 10:48 ` [Qemu-devel] [PATCH 2/2] target-ppc/kvm: Enable transactional memory on POWER8 with KVM-HV, too Thomas Huth
2016-09-29 23:26   ` David Gibson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).