[Top] [All Lists]

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

To: Ralf Baechle <>
Subject: Re: [PATCH] MIPS: fix pfn_valid() for FLAGMEM
From: Sergei Shtylyov <>
Date: Fri, 09 Oct 2009 19:43:12 +0400
Cc: Wu Zhangjin <>,, "Rafael J. Wysocki" <>, Pavel Machek <>
In-reply-to: <>
Organization: MontaVista Software Inc.
Original-recipient: rfc822;
References: <> <> <1255016760.14496.57.camel@falcon> <>
User-agent: Mozilla/5.0 (X11; U; Linux i686; rv:1.7.2) Gecko/20040803

Ralf Baechle 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 000a0000-000bffff and MDA occupies 000b0000-000b7ffff (if not less). This range is probably reserved by BIOS for something like EBDA...

WBR, Sergei

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