From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joerg Roedel Subject: Re: [PATCH] add iommu_num_pages helper function Date: Tue, 29 Jul 2008 11:50:27 +0200 Message-ID: <20080729095027.GA4851@amd.com> References: <20080729110749.728c54e6.sfr@canb.auug.org.au> <20080729104722H.fujita.tomonori@lab.ntt.co.jp> <20080729135652.f89042c1.sfr@canb.auug.org.au> <20080728.222439.176200666.davem@davemloft.net> <20080729164523.bfd2d539.sfr@canb.auug.org.au> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Return-path: Received: from outbound-sin.frontbridge.com ([207.46.51.80]:4444 "EHLO SG2EHSOBE001.bigfish.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757500AbYG2Juu (ORCPT ); Tue, 29 Jul 2008 05:50:50 -0400 Content-Disposition: inline In-Reply-To: <20080729164523.bfd2d539.sfr@canb.auug.org.au> Sender: linux-next-owner@vger.kernel.org List-ID: To: Stephen Rothwell Cc: David Miller , fujita.tomonori@lab.ntt.co.jp, mingo@elte.hu, mingo@redhat.com, tglx@linutronix.de, linux-kernel@vger.kernel.org, iommu@lists.linux-foundation.org, bhavna.sarathy@amd.com, robert.richter@amd.com, torvalds@linux-foundation.org, akpm@linux-foundation.org, jbarnes@virtuousgeek.org, linux-next@vger.kernel.org On Tue, Jul 29, 2008 at 04:45:23PM +1000, Stephen Rothwell wrote: > Hi Dave, > > On Mon, 28 Jul 2008 22:24:39 -0700 (PDT) David Miller wrote: > > > > sparc64: Fix build after addition of iommu_num_pages() helper. > > I added this to the end of linux-next for today. Hopefully we will have > a fix in Linus' tree tomorrow. Yes, my fault, sorry for that breakage :-/ I think moving that function to x86-only code is the best solution for now. Before moving it back to generic code we need an architecture independent way to find out the IOMMU page size. FUJITA, do you want to work on that or should I try to do this and send it to you for review? Joerg -- | AMD Saxony Limited Liability Company & Co. KG Operating | Wilschdorfer Landstr. 101, 01109 Dresden, Germany System | Register Court Dresden: HRA 4896 Research | General Partner authorized to represent: Center | AMD Saxony LLC (Wilmington, Delaware, US) | General Manager of AMD Saxony LLC: Dr. Hans-R. Deppe, Thomas McCoy