linux-mips
[Top] [All Lists]

Re: [PATCH] MIPS: fix pfn_valid() for FLAGMEM

To: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Subject: Re: [PATCH] MIPS: fix pfn_valid() for FLAGMEM
From: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Date: Fri, 09 Oct 2009 19:48:07 +0400
Cc: Ralf Baechle <ralf@linux-mips.org>, Wu Zhangjin <wuzhangjin@gmail.com>, linux-mips@linux-mips.org, "Rafael J. Wysocki" <rjw@sisk.pl>, Pavel Machek <pavel@ucw.cz>
In-reply-to: <4ACF5A10.3020406@ru.mvista.com>
Organization: MontaVista Software Inc.
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <1254992252-15923-1-git-send-email-wuzhangjin@gmail.com> <20091008144230.GA682@linux-mips.org> <1255016760.14496.57.camel@falcon> <20091008185012.GA10365@linux-mips.org> <4ACF5A10.3020406@ru.mvista.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mozilla/5.0 (X11; U; Linux i686; rv:1.7.2) Gecko/20040803
Hello, I wrote:

Are the non-memory parts marked as reserved?

No, so, is that a need to mark them?

Initially all pages are marked as reserved.

Which seems to be good enough for x86:

$ cat /proc/iomem
00000000-0009efff : System RAM
0009f000-0009ffff : reserved
000c0000-000cffff : pnp 00:0d
000e0000-000fffff : pnp 00:0d
00100000-7fe5b7ff : System RAM
[...]

The 0x9f000 - 0x9ffff range is the good old ISA I/O memory range (classic
MDA/CGA/VGA etc.), that is non-memory yet:


Not really, it's a usual RAM. CGA/VGA video memory occupies

   Oh, I meant EGA/VGA. CGA memory is at 000b8000-000bffff, of course.

000a0000-000bffff and MDA occupies 000b0000-000b7ffff (if not less).
This range is probably reserved by BIOS for something like EBDA...

   Which stands for Extended BIOS Data Area.

WBR, Sergei

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