Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755671AbZLDCi5 (ORCPT ); Thu, 3 Dec 2009 21:38:57 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753638AbZLDCiz (ORCPT ); Thu, 3 Dec 2009 21:38:55 -0500 Received: from gate.crashing.org ([63.228.1.57]:38593 "EHLO gate.crashing.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753456AbZLDCiz (ORCPT ); Thu, 3 Dec 2009 21:38:55 -0500 Subject: Re: [PATCH] powerpc/mm: setting mmaped page cache property through device tree From: Benjamin Herrenschmidt To: Segher Boessenkool Cc: Li Yang , linuxppc-dev@ozlabs.org, paulus@samba.org, linux-kernel@vger.kernel.org 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 X-Mailer: Evolution 2.28.1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 727 Lines: 17 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 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/