Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Wed, 5 Mar 2003 07:37:54 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Wed, 5 Mar 2003 07:37:54 -0500 Received: from pc2-cwma1-4-cust86.swan.cable.ntl.com ([213.105.254.86]:50594 "EHLO irongate.swansea.linux.org.uk") by vger.kernel.org with ESMTP id ; Wed, 5 Mar 2003 07:37:52 -0500 Subject: Re: Proposal: Eliminate GFP_DMA From: Alan Cox To: Rogier Wolff Cc: Matthew Wilcox , Andi Kleen , Linux Kernel Mailing List In-Reply-To: <20030305084332.B22193@bitwizard.nl> References: <20030228064631.G23865@parcelfarce.linux.theplanet.co.uk.suse.lists.linux.kernel> <20030228141234.H23865@parcelfarce.linux.theplanet.co.uk> <1046445897.16599.60.camel@irongate.swansea.linux.org.uk> <20030228143405.I23865@parcelfarce.linux.theplanet.co.uk> <1046447737.16599.83.camel@irongate.swansea.linux.org.uk> <20030304185616.A9527@bitwizard.nl> <1046819369.12226.34.camel@irongate.swansea.linux.org.uk> <20030305084332.B22193@bitwizard.nl> Content-Type: text/plain Content-Transfer-Encoding: 7bit Organization: Message-Id: <1046872389.14167.11.camel@irongate.swansea.linux.org.uk> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.1 (1.2.1-4) Date: 05 Mar 2003 13:53:10 +0000 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 902 Lines: 18 On Wed, 2003-03-05 at 07:43, Rogier Wolff wrote: > PCI devices on the restricted PCI bus (dev2) will have to pass a > memory allocation descriptor that describes just the memory on > that PCI bus, the other one (dev1) can pass a descriptor that > prefers the non-shared memory, (leaving as much as possible for > the devices on the other bus (bus2)), but > reverts to the memory that the other devices can handle as well. Which is actually what I said - you need to have the pci_alloc equivalents for generic devices and pass the device you wish to do the allocation for. How that allocation occurs doesn't matter too much and can be arch specific - 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/