Re: [PATCH] ehea: Add hugepage detection

2008-10-27 Thread Thomas Klein
Dave, thanks for your valuable comments - see mine below. I'll send a reworked patch asap. Thomas On Friday 24 October 2008 08:55:37 pm you wrote: On Fri, 2008-10-24 at 13:07 +0200, Thomas Klein wrote: 16GB hugepages may not be part of a memory region (firmware restriction). This patch

[PATCH] ehea: Add hugepage detection

2008-10-27 Thread Thomas Klein
All kernel memory which is used for kernel/hardware data transfer must be registered with firmware using memory regions. 16GB hugepages may not be part of a memory region due to firmware restrictions. This patch modifies the walk_memory_resource callback fn to filter hugepages and add only

Re: [PATCH] ehea: Add hugepage detection

2008-10-27 Thread Jeff Garzik
Thomas Klein wrote: All kernel memory which is used for kernel/hardware data transfer must be registered with firmware using memory regions. 16GB hugepages may not be part of a memory region due to firmware restrictions. This patch modifies the walk_memory_resource callback fn to filter

Re: [PATCH] ehea: Add hugepage detection

2008-10-24 Thread Dave Hansen
On Fri, 2008-10-24 at 13:07 +0200, Thomas Klein wrote: 16GB hugepages may not be part of a memory region (firmware restriction). This patch modifies the walk_memory_resource callback fn to filter hugepages and add only standard memory to the busmap which is later on used for MR