From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44031) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VBi3S-0008B3-EI for qemu-devel@nongnu.org; Tue, 20 Aug 2013 05:16:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VBi3M-00010F-En for qemu-devel@nongnu.org; Tue, 20 Aug 2013 05:16:46 -0400 Message-ID: <521333CB.1080407@redhat.com> Date: Tue, 20 Aug 2013 11:15:55 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: <1375862885-12132-1-git-send-email-aik@ozlabs.ru> <520DF5B5.4050805@ozlabs.ru> <5210E6C2.1070208@redhat.com> <5211C99B.4070904@ozlabs.ru> <0E406847-EB38-4E35-9447-657BFF7FF70A@suse.de> <5211DAD3.1050602@ozlabs.ru> <5211E9AB.7050700@redhat.com> <5212C81B.2090403@ozlabs.ru> <52132B28.9030803@redhat.com> <52132D9F.8070607@ozlabs.ru> <52133232.7010809@redhat.com> <1376989997.25016.131.camel@pasglop> In-Reply-To: <1376989997.25016.131.camel@pasglop> Content-Type: text/plain; charset=UTF-8 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: Benjamin Herrenschmidt Cc: Alexey Kardashevskiy , Alexander Graf , "qemu-devel@nongnu.org" , "qemu-ppc@nongnu.org" , Paul Mackerras , David Gibson Il 20/08/2013 11:13, Benjamin Herrenschmidt ha scritto: > On Tue, 2013-08-20 at 11:09 +0200, Paolo Bonzini wrote: >>> Sorry if I miss anything, but is not it what the patch already >> does? :) >> >> No, you need to expose multitce unconditionally in the device tree. > > If I'm not mistaken the multitce kernel side patches are still not > upstream so I disagree. Exposing it will make Linux use it which means > that anything running on 3.10 or 3.11 will become very slow. > > So no, multitce should not be exposed if KVM doesn't support it. Then you have to do it right and: - provide the infrastructure to enable/disable it from the command line (which will be enough design effort alone); - add pseries-1.6 as a synonym of pseries in 1.6.1; - add pseries-1.7 a synonym of pseries in master; - add a pseries-1.6 machine type in master that always disables it. Paolo