From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Date: Mon, 21 May 2012 09:47:15 +0000 Subject: Re: [PATCH] spapr: Add "memop" hypercall Message-Id: <4FBA0F23.5040601@redhat.com> List-Id: References: <1337585042.2779.4.camel@pasglop> In-Reply-To: <1337585042.2779.4.camel@pasglop> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Benjamin Herrenschmidt Cc: Alexander Graf , kvm@vger.kernel.org, kvm-ppc On 05/21/2012 10:24 AM, Benjamin Herrenschmidt wrote: > This adds a kvm-specific hypervisor call to the pseries machine > which allows to do what amounts to memmove, memcpy and xor over > regions of physical memory such as the framebuffer. > > This is the simplest way to get usable framebuffer speed from > SLOF since the framebuffer isn't mapped in the VRMA and so would > otherwise require an hcall per 8 bytes access. > > The performance is still not great but usable, and can be improved > with a more complex implementation of the hcall itself if needed. > > Signed-off-by: Benjamin Herrenschmidt > --- > hw/spapr.h | 3 ++- > hw/spapr_hcall.c | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ > 2 files changed, 51 insertions(+), 1 deletion(-) > Shouldn't these be documented somewhere? -- error compiling committee.c: too many arguments to function