From mboxrd@z Thu Jan 1 00:00:00 1970 From: Cornelia Huck Subject: Re: [PATCH v2 2/5] vfio-ccw: concurrent I/O handling Date: Mon, 28 Jan 2019 18:13:55 +0100 Message-ID: <20190128181355.2d79cae7.cohuck@redhat.com> References: <20190121110354.2247-1-cohuck@redhat.com> <20190121110354.2247-3-cohuck@redhat.com> <2dac6201-9e71-b188-0385-d09d05071a1c@linux.ibm.com> <5627cb78-22b3-0557-7972-256bc9560d86@linux.ibm.com> <20190125112437.2c06fac6.cohuck@redhat.com> <20190125135835.2d59b511.cohuck@redhat.com> <20190125150101.3b61f0a1@oc2783563651> <20190125152154.05120461.cohuck@redhat.com> <20190125170404.28c61eab@oc2783563651> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: linux-s390@vger.kernel.org, Eric Farman , kvm@vger.kernel.org, Pierre Morel , qemu-s390x@nongnu.org, Farhan Ali , qemu-devel@nongnu.org, Alex Williamson To: Halil Pasic Return-path: In-Reply-To: <20190125170404.28c61eab@oc2783563651> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+gceq-qemu-devel2=m.gmane.org@nongnu.org Sender: "Qemu-devel" List-Id: kvm.vger.kernel.org On Fri, 25 Jan 2019 17:04:04 +0100 Halil Pasic wrote: > Do we expect userspace/QEMU to fence the bad scenarios as tries to do > today, or is this supposed to change to hardware should sort out > requests whenever possible. Does my other mail answer that? > The problem I see with the let the hardware sort it out is that, for that > to work, we need to juggle multiple translations simultaneously (or am I > wrong?). Doing that does not appear particularly simple to me. None in the first stage, at most two in the second stage, I guess. > Furthermore we would go through all that hassle knowingly that the sole > reason is working around bugs. We still expect our Linux guests > serializing it's ssch() stuff as it does today. Thus I would except this > code not getting the love nor the coverage that would guard against bugs > in that code. So, we should have test code for that? (Any IBM-internal channel I/O exercisers that may help?) We should not rely on the guest being sane, although Linux probably is in that respect.