2002-11-11 22:48:57

by Steffen Persvold

[permalink] [raw]
Subject: [PATCH] Fixup pci_alloc_consistent with 64bit DMA masks on i386

Hi Marcello,

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:[email protected] | http://www.scali.com
Tel: (+47) 2262 8950 | Olaf Helsets vei 6
Fax: (+47) 2262 8951 | N0621 Oslo, NORWAY


Attachments:
pci-dma.patch (398.00 B)

2002-11-20 21:13:14

by Steffen Persvold

[permalink] [raw]
Subject: [REPOST][PATCH] Fixup pci_alloc_consistent with 64bit DMA masks on i386


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:[email protected] | http://www.scali.com
Tel: (+47) 2262 8950 | Olaf Helsets vei 6
Fax: (+47) 2262 8951 | N0621 Oslo, NORWAY


Attachments:
pci-dma.patch (398.00 B)

2002-11-20 21:29:59

by Alan

[permalink] [raw]
Subject: Re: [REPOST][PATCH] Fixup pci_alloc_consistent with 64bit DMA masks on i386

Its been in -ac for ages, its clearly a fix