Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1761201AbXLTVCf (ORCPT ); Thu, 20 Dec 2007 16:02:35 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752730AbXLTVC1 (ORCPT ); Thu, 20 Dec 2007 16:02:27 -0500 Received: from 209-198-142-2-host.prismnet.net ([209.198.142.2]:42948 "EHLO smtp.opengridcomputing.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752313AbXLTVC1 (ORCPT ); Thu, 20 Dec 2007 16:02:27 -0500 Message-ID: <476AD84E.4000507@opengridcomputing.com> Date: Thu, 20 Dec 2007 15:02:06 -0600 From: Steve Wise User-Agent: Thunderbird 2.0.0.6 (X11/20071022) MIME-Version: 1.0 To: benh@au1.ibm.com CC: Roland Dreier , linux-kernel@vger.kernel.org, OpenFabrics General , Benjamin Herrenschmidt , Wen Xiong , Olof Johansson , Paul Mackerras Subject: Re: iommu dma mapping alignment requirements References: <476AA2E2.5010007@opengridcomputing.com> <1198181862.6779.3.camel@pasglop> In-Reply-To: <1198181862.6779.3.camel@pasglop> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 783 Lines: 18 Benjamin Herrenschmidt wrote: > Adding A few more people to the discussion. You may well be right and we > would have to provide the same alignment, though that sucks a bit as one > of the reason we switched to 4K for the IOMMU is that the iommu space > available on pSeries is very small and we were running out of it with > 64K pages and lots of networking activity. > But smarter NIC drivers can resolve this too, I think, but perhaps carving up full pages of mapped buffers instead of just assuming mapping is free... perhaps... -- 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/