From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.dvmed.net (srv5.dvmed.net [207.36.208.214]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 7C336DDDF6 for ; Tue, 28 Oct 2008 05:52:43 +1100 (EST) Message-ID: <49060DF0.6040607@garzik.org> Date: Mon, 27 Oct 2008 14:52:32 -0400 From: Jeff Garzik MIME-Version: 1.0 To: Thomas Klein Subject: Re: [PATCH] ehea: Add hugepage detection References: <200810271038.46825.tklein@de.ibm.com> In-Reply-To: <200810271038.46825.tklein@de.ibm.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Cc: badari@us.ibm.com, Jan-Bernd Themann , netdev , tollefso@us.ibm.com, Hannes Hering , haveblue@us.ibm.com, linux-kernel , linux-ppc , Christoph Raisch List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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 hugepages and add > only standard memory to the busmap which is later on used for MR registration. > > Signed-off-by: Thomas Klein > --- > This reworked patch accounts for comments I got. It's based on davem's net-2.6.git. applied