On Sun, 2008-07-20 at 20:36 +0200, Stefan Richter wrote:CONFIG_PPC32 -may- be safe today... the current implementation for DMA coherent machines seem to have been copied from x86 or so :-) It sets GFP_DMA if the coherent_dma_mask < 32 bits, but we don't have separate ZONE_NORMAL and ZONE_DMA anyway, so that is irrelevant. In any case, it won't give you memory in highmem, so you should be safe. In the non-DMA coherent case, make sure you don't pass __GFP_HIGHMEM. There's some work in progress to support swiotlb and more advanced DMA mapping ops for PPC32 (using function pointers like PPC64), so things will probably change. However, the need for 31 bits DMA seem to be common enough that we should probably do something specific about it, for example, ensure that lowmem is never > 2G (shouldn't be a big deal) and thus make dma masks < 32 bits always clear __GFP_HIGHMEM from the allocation mask. Ben. --
| Greg Kroah-Hartman | [PATCH 019/196] DMA: Convert from class_device to device for DMA engine |
| Tejun Heo | [PATCH 4/7] FUSE: implement direct lseek support |
| Parag Warudkar | BUG: soft lockup - CPU#1 stuck for 15s! [swapper:0] |
| Greg Smith | PostgreSQL pgbench performance regression in 2.6.23+ |
git: | |
| Len Brown | fatal: unable to create '.git/index': File exists |
| Dan Farina | backup or mirror a repository |
| André Goddard Rosa | Using kdiff3 to compare two different revisions of a folder |
| Petko Manolov | git and binary files |
| Richard Stallman | Real men don't attack straw men |
| Steve B | Intel Atom and D945GCLF2 |
| Jeff Ross | U320 Drive on U160 controller? |
| Sunnz | How do I configure sendmail? |
| Eric Dumazet | [PATCH] fs: pipe/sockets/anon dentries should not have a parent |
| Denys Fedoryshchenko | thousands of classes, e1000 TX unit hang |
| Wei Yongjun | [PATCH] xfrm: Fix kernel panic when flush and dump SPD entries |
| Steffen Klassert | [RFC PATCH 4/5] crypto: allow allocation of percpu crypto transforms |
