From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44116) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X48zH-0003IH-Mw for qemu-devel@nongnu.org; Mon, 07 Jul 2014 09:29:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X48zA-0002t9-0Y for qemu-devel@nongnu.org; Mon, 07 Jul 2014 09:29:43 -0400 Received: from mail-we0-f175.google.com ([74.125.82.175]:47600) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X48z9-0002sp-Rh for qemu-devel@nongnu.org; Mon, 07 Jul 2014 09:29:35 -0400 Received: by mail-we0-f175.google.com with SMTP id k48so4359000wev.6 for ; Mon, 07 Jul 2014 06:29:35 -0700 (PDT) Message-ID: <53BAA0A6.9040202@linaro.org> Date: Mon, 07 Jul 2014 15:29:10 +0200 From: Eric Auger MIME-Version: 1.0 References: <1404736043-22900-1-git-send-email-eric.auger@linaro.org> <1404736043-22900-9-git-send-email-eric.auger@linaro.org> <20140707124955.GH3676@arm.com> <53BA9FB0.3070801@virtualopensystems.com> In-Reply-To: <53BA9FB0.3070801@virtualopensystems.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [RFC v4 08/13] hw/vfio/common: Add EXEC_FLAG to VFIO DMA mappings List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alvise Rigo , Will Deacon Cc: "peter.maydell@linaro.org" , "kim.phillips@freescale.com" , "eric.auger@st.com" , "patches@linaro.org" , "qemu-devel@nongnu.org" , "agraf@suse.de" , "Bharat.Bhushan@freescale.com" , "alex.williamson@redhat.com" , "stuart.yoder@freescale.com" , "a.motakis@virtualopensystems.com" , "kvmarm@lists.cs.columbia.edu" , "christoffer.dall@linaro.org" On 07/07/2014 03:25 PM, Alvise Rigo wrote: > Il 07/07/2014 14:49, Will Deacon ha scritto: >> On Mon, Jul 07, 2014 at 01:27:18PM +0100, Eric Auger wrote: >>> From: Alvise Rigo >>> >>> The flag is mandatory for the ARM SMMU so we always add it if the MMIO >>> handles it. >> >> I though the logic of this flag was changing (so that you request an NX >> mapping instead), so I'd hold off on this change until the kernel has >> decided what it's doing. > > Yes, you are right. > This patch is not needed anymore, in fact it was dropped in my last > patch series. > It should not be here, please ignore it. OK. My apologies. Best Regards Eric > > Regards, > alvise > >> >> Also, the ARM SMMU doesn't mandate any flags, you probably need this as >> a result of using a PL330, which is an odd case of a DMA master that >> spits out EXEC transactions (instruction fetch). >> >> Will >>