From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from SMTP.CITRIX.COM (smtp.citrix.com [66.165.176.89]) by ozlabs.org (Postfix) with ESMTP id 5180FDDD0C for ; Sat, 30 May 2009 23:03:50 +1000 (EST) Subject: Re: [PATCH 6/9] swiotlb: use dma_to_phys and phys_to_dma From: Ian Campbell To: Jeremy Fitzhardinge In-Reply-To: <4A204EFC.501@goop.org> References: <1243586643-5554-1-git-send-email-ian.campbell@citrix.com> <1243586643-5554-7-git-send-email-ian.campbell@citrix.com> <4A204EFC.501@goop.org> Content-Type: text/plain Date: Sat, 30 May 2009 14:02:58 +0100 Message-ID: <1243688578.4399.67.camel@localhost.localdomain> MIME-Version: 1.0 Cc: x86@kernel.org, Tony Luck , linux-ia64@vger.kernel.org, Olaf Kirch , Greg KH , linux-kernel@vger.kernel.org, FUJITA Tomonori , linuxppc-dev@ozlabs.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Fri, 2009-05-29 at 14:09 -0700, Jeremy Fitzhardinge wrote: > Ian Campbell wrote: > > void * __weak swiotlb_bus_to_virt(struct device *hwdev, dma_addr_t address) > > > > Does this need to be weak too? It's was wanted by PowerPC to support highmem, that's what patch 8/9 tries to address in an arch-independent way. Ian.