From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752035AbbKJW20 (ORCPT ); Tue, 10 Nov 2015 17:28:26 -0500 Received: from gate.crashing.org ([63.228.1.57]:51856 "EHLO gate.crashing.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751031AbbKJW2Y (ORCPT ); Tue, 10 Nov 2015 17:28:24 -0500 Message-ID: <1447194427.31884.100.camel@kernel.crashing.org> Subject: Re: [PATCH v4 0/6] virtio core DMA API conversion From: Benjamin Herrenschmidt To: Andy Lutomirski Cc: Christian Borntraeger , Paolo Bonzini , David Woodhouse , Martin Schwidefsky , "Michael S. Tsirkin" , Sebastian Ott , "David S. Miller" , linux-s390 , Cornelia Huck , Joerg Roedel , KVM , Christoph Hellwig , Linux Virtualization , "linux-kernel@vger.kernel.org" , sparclinux@vger.kernel.org Date: Wed, 11 Nov 2015 09:27:07 +1100 In-Reply-To: References: <20151109133624-mutt-send-email-mst@redhat.com> <1447109937.31884.42.camel@kernel.crashing.org> <1447121076.31884.61.camel@kernel.crashing.org> <1447133316.31884.67.camel@kernel.crashing.org> <1447151874.31884.82.camel@kernel.crashing.org> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.18.1 (3.18.1-1.fc23) Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 2015-11-10 at 10:54 -0800, Andy Lutomirski wrote: >  > Does that work on powerpc on existing kernels? > > Anyway, here's another crazy idea: make the quirk assume that the > IOMMU is bypasses if and only if the weak barriers bit is set on > systems that are missing the new DT binding. "New DT bindings" doesn't mean much ... how do we change DT bindings on existing machines with a FW in flash ? What about partition <-> partition virtio such as what we could do on PAPR systems. That would have the weak barrier bit. Ben.