Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Wed, 20 Nov 2002 16:13:14 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Wed, 20 Nov 2002 16:13:13 -0500 Received: from elin.scali.no ([62.70.89.10]:45835 "EHLO elin.scali.no") by vger.kernel.org with ESMTP id ; Wed, 20 Nov 2002 16:13:11 -0500 Date: Wed, 20 Nov 2002 22:22:40 +0100 (CET) From: Steffen Persvold X-X-Sender: sp@sp-laptop.isdn.scali.no To: linux-kernel@vger.kernel.org, Marcelo Tosatti Subject: [REPOST][PATCH] Fixup pci_alloc_consistent with 64bit DMA masks on i386 In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="-1463794943-1980090718-1037827360=:15336" Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2097 Lines: 52 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. Send mail to mime@docserver.cac.washington.edu for more info. ---1463794943-1980090718-1037827360=:15336 Content-Type: TEXT/PLAIN; charset=US-ASCII On Mon, 11 Nov 2002, Steffen Persvold wrote: > Hi Marcelo, > > I posted this small one-liner to Alan Cox (and to the lkml) in August but > it doesn't seem to have gotten into the mainline yet (I think it is in -ac). > > The issue is that PCI drivers which uses 64bit DMA masks (in order to do > DAC) is making unnecessary use of the DMA zone memory (the <16Meg region > on i386) when doing pci_alloc_consitent(). > > Hope this gets into the next -rc or .21-pre > > Regards, > -- Steffen Persvold | Scali AS mailto:sp@scali.com | http://www.scali.com Tel: (+47) 2262 8950 | Olaf Helsets vei 6 Fax: (+47) 2262 8951 | N0621 Oslo, NORWAY ---1463794943-1980090718-1037827360=:15336 Content-Type: TEXT/PLAIN; charset=US-ASCII; name="pci-dma.patch" Content-Transfer-Encoding: BASE64 Content-ID: Content-Description: Content-Disposition: attachment; filename="pci-dma.patch" LS0tIGxpbnV4LTIuNC4xOS1vbGQvYXJjaC9pMzg2L2tlcm5lbC9wY2ktZG1h LmMufjF+CVdlZCBBdWcgMTQgMTU6MDY6NDkgMjAwMg0KKysrIGxpbnV4LTIu NC4xOS9hcmNoL2kzODYva2VybmVsL3BjaS1kbWEuYwlXZWQgQXVnIDE0IDE1 OjA4OjI5IDIwMDINCkBAIC0xOSw3ICsxOSw3IEBADQogCXZvaWQgKnJldDsN CiAJaW50IGdmcCA9IEdGUF9BVE9NSUM7DQogDQotCWlmIChod2RldiA9PSBO VUxMIHx8IGh3ZGV2LT5kbWFfbWFzayAhPSAweGZmZmZmZmZmKQ0KKwlpZiAo aHdkZXYgPT0gTlVMTCB8fCBod2Rldi0+ZG1hX21hc2sgPCAweGZmZmZmZmZm KQ0KIAkJZ2ZwIHw9IEdGUF9ETUE7DQogCXJldCA9ICh2b2lkICopX19nZXRf ZnJlZV9wYWdlcyhnZnAsIGdldF9vcmRlcihzaXplKSk7DQogDQo= ---1463794943-1980090718-1037827360=:15336-- - 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/