Comment 9 for bug 1234718

Revision history for this message
Kim Phillips (kim-phillips) wrote :

On another note, one of the KVM guys brought my attention to this build warning:

  CC arch/arm/mm/dma-mapping.o
arch/arm/mm/dma-mapping.c:253:2: warning: #warning ARM Coherent DMA allocator does not (yet) support huge TLB [-Wcpp]

which appears to be cleared up with this:

http://lists.infradead.org/pipermail/linux-arm-kernel/2013-July/184116.html

which suggests hugepage support was added in v3.11-rc1, which I think is a typo because this commit:

commit 1355e2a6eb88f04d76125c057dc5fca64d4b6a9e
Author: Catalin Marinas <email address hidden>
Date: Wed Jul 25 14:32:38 2012 +0100

    ARM: mm: HugeTLB support for LPAE systems.

has a v3.10-rc3-3-g1355e2a description, and is in our v3.10.14 LNG tree.

In looking into getting rid of the build warning by applying those two patches, I see:

commit 4bfab2034bab9374eba1921cf7bd51fd8d48661b
Author: Steven Capper <email address hidden>
Date: Fri Jul 26 14:58:22 2013 +0100

    ARM: 7792/1: mm: Remove general hugetlb code from ARM

sitting in upstream Linus' tree, but no "ARM: mm: Remove HugeTLB warning from dma-mapping.c"..sigh, because there were no negative responses to the thread. I don't know enough about hugetlb: can anyone else tell what's going on here?