[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1217457872.11188.350.camel@pasglop>
Date: Thu, 31 Jul 2008 08:44:32 +1000
From: Benjamin Herrenschmidt <benh@...nel.crashing.org>
To: David Miller <davem@...emloft.net>
Cc: joerg.roedel@....com, sfr@...b.auug.org.au,
fujita.tomonori@....ntt.co.jp, mingo@...e.hu, mingo@...hat.com,
tglx@...utronix.de, linux-kernel@...r.kernel.org,
iommu@...ts.linux-foundation.org, bhavna.sarathy@....com,
robert.richter@....com, torvalds@...ux-foundation.org,
akpm@...ux-foundation.org, jbarnes@...tuousgeek.org,
linux-next@...r.kernel.org
Subject: Re: [PATCH] add iommu_num_pages helper function
On Tue, 2008-07-29 at 03:10 -0700, David Miller wrote:
> From: Joerg Roedel <joerg.roedel@....com>
> Date: Tue, 29 Jul 2008 11:50:27 +0200
>
> > 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.
>
> My suggestion (again) is to pass it in as a "const unsigned long
> io_page_size" argument and update the callers.
Yeah. That's better
Ben.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists