lkml.org 
[lkml]   [2003]   [Feb]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Proposal: Eliminate GFP_DMA
>> > > umm.  are you volunteering to convert drivers/net/macmace.c to the pci_*
>> > > API then? also, GFP_DMA is used on, eg, s390 to get memory below 2GB and
>> > > on ia64 to get memory below 4GB.
>> >
>> > The ia64 is a fine example of how broken it is. People have to hack around
>> > with GFP_DMA meaning different things on ia64 to everything else. It needs
>> > to die.
>>
>> At least on x86-64 it is still needed when you need have some hardware
>> with address limits < 4GB (e.g. an 24bit soundcard)
>>
>> pci_* on K8 only allows address mask 0xffffffff or unlimited.
>
> That's a bit broken... I have an ALS4000 PCI soundcard that is a 24-bit
> soundcard. pci_set_dma_mask should support 24-bits accordingly,
> otherwise it's a bug in your platform implementation... Nobody will be
> able to use certain properly-written drivers on your platform otherwise.

If we're going to really sort this out, would be nice to just pass an upper
bound for an address to __alloc_pages, instead of a simple bitmask ;-)

M.

-
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/

\
 
 \ /
  Last update: 2005-03-22 13:33    [W:1.480 / U:0.268 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site