Re: [BUILD FAILURE 01/04] Next June 04:PPC64 randconfig[drivers/staging/comedi/drivers.o]

From: David Miller
Date: Fri Jun 05 2009 - 20:58:38 EST


From: Benjamin Herrenschmidt <benh@xxxxxxxxxxxxxxxxxxx>
Date: Sat, 06 Jun 2009 09:32:29 +1000

>
>> I tried this. But, with some catch. âPAGE_KERNEL_NOCACHEâ seems to be the
>> choice for majority of architectures like frv, m32r, sh, x86, etc, as Geert
>> mentions below. However, i believe POWERPC defines it as âPAGE_KERNEL_NCâ
>> found at arch/powerpc/include/asm/pte-common.h.
>>
>> Paul/Banjamin,
>> Can you please confirm this ?
>
> Read my reply to Greg. Why the heck are you trying to map memory
> non-cacheable in the first place ?

I agree, this is extremely fishy.

I guess the issue is that the driver wants consistent DMA memory
but wants to allocate a huge area vmap() style.
N‹§²æìr¸›yúèšØb²X¬¶ÇvØ^–)Þ{.nÇ+‰·¥Š{±‘êçzX§¶›¡Ü}©ž²ÆzÚ&j:+v‰¨¾«‘êçzZ+€Ê+zf£¢·hšˆ§~†­†Ûiÿûàz¹®w¥¢¸?™¨è­Ú&¢)ßf”ù^jÇy§m…á@A«a¶Úÿ 0¶ìh®å’i