From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Campbell Date: Sat, 30 May 2009 13:02:58 +0000 Subject: Re: [PATCH 6/9] swiotlb: use dma_to_phys and phys_to_dma Message-Id: <1243688578.4399.67.camel@localhost.localdomain> List-Id: 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> In-Reply-To: <4A204EFC.501@goop.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Jeremy Fitzhardinge Cc: linux-kernel@vger.kernel.org, FUJITA Tomonori , Olaf Kirch , Greg KH , Tony Luck , Becky Bruce , Benjamin Herrenschmidt , Kumar Gala , x86@kernel.org, linux-ia64@vger.kernel.org, linuxppc-dev@ozlabs.org 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. 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. From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759966AbZE3ND5 (ORCPT ); Sat, 30 May 2009 09:03:57 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1757864AbZE3NDt (ORCPT ); Sat, 30 May 2009 09:03:49 -0400 Received: from smtp.citrix.com ([66.165.176.89]:24099 "EHLO SMTP.CITRIX.COM" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752182AbZE3NDt (ORCPT ); Sat, 30 May 2009 09:03:49 -0400 X-IronPort-AV: E=Sophos;i="4.41,276,1241409600"; d="scan'208";a="4473759" Subject: Re: [PATCH 6/9] swiotlb: use dma_to_phys and phys_to_dma From: Ian Campbell To: Jeremy Fitzhardinge CC: , FUJITA Tomonori , Olaf Kirch , Greg KH , Tony Luck , Becky Bruce , Benjamin Herrenschmidt , Kumar Gala , , , 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 Organization: Citrix Systems, Inc. Date: Sat, 30 May 2009 14:02:58 +0100 Message-ID: <1243688578.4399.67.camel@localhost.localdomain> MIME-Version: 1.0 X-Mailer: Evolution 2.26.1.1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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.