qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Alexander Graf <agraf@suse.de>
To: Paolo Bonzini <pbonzini@redhat.com>,
	Alexey Kardashevskiy <aik@ozlabs.ru>,
	qemu-devel@nongnu.org
Cc: qemu-ppc@nongnu.org
Subject: Re: [Qemu-devel] [Qemu-ppc] [PATCH v3 0/2] spapr: Enable huge pages again
Date: Mon, 14 Jul 2014 22:59:55 +0200	[thread overview]
Message-ID: <53C444CB.3000609@suse.de> (raw)
In-Reply-To: <53C41262.4080207@suse.de>


On 14.07.14 19:24, Alexander Graf wrote:
>
> On 14.07.14 15:30, Paolo Bonzini wrote:
>> Il 14/07/2014 15:13, Alexey Kardashevskiy ha scritto:
>>> On 07/11/2014 01:03 AM, Alexey Kardashevskiy wrote:
>>>> This does small RMA allocation rework and enables huge pages.
>>>>
>>>> Please comment, especially commit logs. Thanks!
>>>>
>>>> Changes:
>>>> v3:
>>>> * split to 2 patches, one mechanical
>>>> * tested on PPC970
>>>>
>>>> v2:
>>>> * moved RMA memory region out of KVM code
>>>
>>>
>>> This is 2.2 stuff, right? :)
>>
>> For me it would be okay for 2.1, but Alex may disagree.
>
> No, I agree. Missing huge page support is a regression over 2.0.
>
> Thanks, applied to for-2.1.

ppc-next of course.

I had to add this patch on top to make compilation work on non-PPC hosts:

diff --git a/target-ppc/kvm_ppc.h b/target-ppc/kvm_ppc.h
index ac16a47..d9516e7 100644
--- a/target-ppc/kvm_ppc.h
+++ b/target-ppc/kvm_ppc.h
@@ -134,7 +134,7 @@ static inline int 
kvmppc_booke_watchdog_enable(PowerPCCPU *cpu)
  }

  #ifndef CONFIG_USER_ONLY
-static inline off_t kvmppc_alloc_rma(const char *name, MemoryRegion 
*sysmem)
+static inline off_t kvmppc_alloc_rma(void **rma)
  {
      return 0;
  }


Alex

      reply	other threads:[~2014-07-14 21:00 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-10 15:03 [Qemu-devel] [PATCH v3 0/2] spapr: Enable huge pages again Alexey Kardashevskiy
2014-07-10 15:03 ` [Qemu-devel] [PATCH v3 1/2] spapr: Move RMA memory region registration code Alexey Kardashevskiy
2014-07-10 15:03 ` [Qemu-devel] [PATCH v3 2/2] spapr: Enable use of huge pages Alexey Kardashevskiy
2014-07-14 13:13 ` [Qemu-devel] [PATCH v3 0/2] spapr: Enable huge pages again Alexey Kardashevskiy
2014-07-14 13:30   ` Paolo Bonzini
2014-07-14 17:24     ` Alexander Graf
2014-07-14 20:59       ` Alexander Graf [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=53C444CB.3000609@suse.de \
    --to=agraf@suse.de \
    --cc=aik@ozlabs.ru \
    --cc=pbonzini@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-ppc@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).