From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate.crashing.org (gate.crashing.org [63.228.1.57]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id C5BCCB7BDB for ; Fri, 4 Dec 2009 13:38:59 +1100 (EST) Subject: Re: [PATCH] powerpc/mm: setting mmaped page cache property through device tree From: Benjamin Herrenschmidt To: Segher Boessenkool In-Reply-To: References: <1259663450-28790-1-git-send-email-leoli@freescale.com> <1259665127.2076.363.camel@pasglop> <2a27d3730912010334q24bf0e06g84839aae131475ec@mail.gmail.com> Content-Type: text/plain; charset="UTF-8" Date: Fri, 04 Dec 2009 13:38:51 +1100 Message-ID: <1259894331.2076.1245.camel@pasglop> Mime-Version: 1.0 Cc: linuxppc-dev@ozlabs.org, paulus@samba.org, linux-kernel@vger.kernel.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Tue, 2009-12-01 at 15:35 +0100, Segher Boessenkool wrote: > So make the memory known to the kernel, just tell the kernel not to > use it. If it's normal system RAM, just put it in the "memory" node > and do a memreserve on it (or do something in your platform code); if > it's some other memory, do a device driver for it, map it there. Right, if he's going to map it cachable he shouldn't bother with using mem= or crap like that. And /dev/mem should just work. Cheers, Ben