From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35904) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VB4pR-00077m-79 for qemu-devel@nongnu.org; Sun, 18 Aug 2013 11:23:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VB4pK-0006zU-6b for qemu-devel@nongnu.org; Sun, 18 Aug 2013 11:23:41 -0400 Message-ID: <5210E6C2.1070208@redhat.com> Date: Sun, 18 Aug 2013 17:22:42 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: <1375862885-12132-1-git-send-email-aik@ozlabs.ru> <520DF5B5.4050805@ozlabs.ru> In-Reply-To: <520DF5B5.4050805@ozlabs.ru> Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] powerpc iommu: enable multiple TCE requests List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alexey Kardashevskiy Cc: Alexander Graf , qemu-devel@nongnu.org, qemu-ppc@nongnu.org, Paul Mackerras , David Gibson Il 16/08/2013 11:49, Alexey Kardashevskiy ha scritto: > With KVM, we could fall back to the qemu implementation >> + * when KVM doesn't support them, but that would be much slower >> + * than just using the KVM implementations of the single TCE >> + * hypercalls. */ >> + if (kvmppc_spapr_use_multitce()) { >> + _FDT((fdt_property(fdt, "ibm,hypertas-functions", hypertas_propm, >> + sizeof(hypertas_propm)))); >> + } else { >> + _FDT((fdt_property(fdt, "ibm,hypertas-functions", hypertas_prop, >> + sizeof(hypertas_prop)))); >> + } This prevents migration from newer kernel to older kernel. Can you ensure that the fallback to the QEMU implementation works, even though it is not used in practice? Paolo