Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751888AbbG1PwM (ORCPT ); Tue, 28 Jul 2015 11:52:12 -0400 Received: from smtp02.citrix.com ([66.165.176.63]:38954 "EHLO SMTP02.CITRIX.COM" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751039AbbG1PwL (ORCPT ); Tue, 28 Jul 2015 11:52:11 -0400 X-IronPort-AV: E=Sophos;i="5.15,564,1432598400"; d="scan'208";a="288441336" Message-ID: <55B7A526.30105@citrix.com> Date: Tue, 28 Jul 2015 16:52:06 +0100 From: David Vrabel User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.7.0 MIME-Version: 1.0 To: Julien Grall , CC: , Russell King , , , , Ingo Molnar , David Vrabel , "H. Peter Anvin" , Boris Ostrovsky , Thomas Gleixner , Subject: Re: [Xen-devel] [PATCH 2/8] xen: Make clear that swiotlb and biomerge are dealing with DMA address References: <1438095769-2560-1-git-send-email-julien.grall@citrix.com> <1438095769-2560-3-git-send-email-julien.grall@citrix.com> In-Reply-To: <1438095769-2560-3-git-send-email-julien.grall@citrix.com> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit X-DLP: MIA2 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 506 Lines: 14 On 28/07/15 16:02, Julien Grall wrote: > > +/* Pseudo-physical <-> DMA conversion */ > +static inline unsigned long pfn_to_dfn(unsigned long pfn) Use BFN for bus frame number. This is the terminology that is used in the (proposed) pv-iommu hypercall. David -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/