linux-mips
[Top] [All Lists]

[PATCH 0/2] FLATMEM: allow memory to start at pfn != 0 [take #2]

To: ralf@linux-mips.org
Subject: [PATCH 0/2] FLATMEM: allow memory to start at pfn != 0 [take #2]
From: Franck Bui-Huu <vagabon.xyz@gmail.com>
Date: Wed, 10 Jan 2007 09:44:03 +0100
Cc: linux-mips@linux-mips.org
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:to:cc:subject:date:message-id:x-mailer:from; b=adrJ5QmNFU5FzWIKxdWh3FL+0g4YsqgarkdDxbWm/kZ+9qlUZ208cOQGq2lDyodsdVZFzrp13d8sLO766KG/XcAVMoZBj2dz2y3wzNyAj63sGCJ2vp/xBwZ5qby34GzAfUgQV6GCSTNhJwhpvlq9sY1750GyqA8Mc8x8B4k+aGU=
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
Ralf,

Here's is the second attempt to make this works on your Malta board
and all other boards that have some data reserved at the start of
their memories. In these cases the first patchset assumed wrongly that
the start of the memory was after this reserved area.

Patch 1/2 should work alone now. the kernel should report that your
mem config is wasting some memory for tracking reserved pages located
at the start of the mem.

Thanks for testing

                Franck

---

 arch/mips/kernel/setup.c |   40 +++++++++++++++++++++++++++++++---------
 arch/mips/mm/init.c      |   23 +++++++++++------------
 include/asm-mips/dma.h   |    1 +
 include/asm-mips/io.h    |    4 ++--
 include/asm-mips/page.h  |   25 +++++++++++++++++++++----
 5 files changed, 66 insertions(+), 27 deletions(-)



<Prev in Thread] Current Thread [Next in Thread>