From mboxrd@z Thu Jan 1 00:00:00 1970 From: Halil Pasic Subject: Re: [PATCH 06/10] s390/cio: add basic protected virtualization support Date: Thu, 16 May 2019 15:42:45 +0200 Message-ID: <20190516154245.4a0a84f7.pasic@linux.ibm.com> References: <20190426183245.37939-1-pasic@linux.ibm.com> <20190426183245.37939-7-pasic@linux.ibm.com> <20190513114136.783c851c.cohuck@redhat.com> <20190515230817.2f8a8a5d.pasic@linux.ibm.com> <20190516083228.0cc5b489.cohuck@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20190516083228.0cc5b489.cohuck@redhat.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: virtualization-bounces@lists.linux-foundation.org Errors-To: virtualization-bounces@lists.linux-foundation.org To: Cornelia Huck Cc: "Jason J. Herne" , linux-s390@vger.kernel.org, Thomas Huth , Claudio Imbrenda , kvm@vger.kernel.org, Sebastian Ott , "Michael S. Tsirkin" , Farhan Ali , Eric Farman , virtualization@lists.linux-foundation.org, Christoph Hellwig , Martin Schwidefsky , Michael Mueller , Viktor Mihajlovski , Vasily Gorbik , Janosch Frank List-Id: virtualization@lists.linuxfoundation.org On Thu, 16 May 2019 08:32:28 +0200 Cornelia Huck wrote: > On Wed, 15 May 2019 23:08:17 +0200 > Halil Pasic wrote: > > > On Tue, 14 May 2019 10:47:34 -0400 > > "Jason J. Herne" wrote: > > > > Are we > > > worried that virtio data structures are going to be a burden on the 31-bit address space? > > > > > > > > > > That is a good question I can not answer. Since it is currently at least > > a page per queue (because we use dma direct, right Mimu?), I am concerned > > about this. > > > > Connie, what is your opinion? > > Yes, running into problems there was one of my motivations for my > question. I guess it depends on the number of devices and how many > queues they use. The problem is that it affects not only protected virt > guests, but all guests. > Unless things are about to change only devices that have VIRTIO_F_IOMMU_PLATFORM are affected. So it does not necessarily affect not protected virt guests. (With prot virt we have to use VIRTIO_F_IOMMU_PLATFORM.) If it were not like this, I would be much more worried. @Mimu: Could you please discuss this problem with the team? It might be worth considering to go back to the design of the RFC (i.e. cio/ccw stuff allocated from a common cio dma pool which gives you 31 bit addressable memory, and 64 bit dma mask for a ccw device of a virtio device). Regards, Halil