linux-mips
[Top] [All Lists]

Re: [PATCH] Fix non-linear memory mapping on MIPS

To: Linux-MIPS <linux-mips@linux-mips.org>
Subject: Re: [PATCH] Fix non-linear memory mapping on MIPS
From: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Date: Sat, 27 May 2006 21:05:19 +0400
Cc: Manish Lachwani <mlachwani@mvista.com>, Jordan Crouse <jordan.crouse@amd.com>, Ralf Baechle <ralf@linux-mips.org>
In-reply-to: <44772379.30903@ru.mvista.com>
Organization: MontaVista Software Inc.
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <44772379.30903@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.

Sergei Shtylyov wrote:

Fix the non-linear memory mapping done via remap_file_pages() -- it didn't work on any MIPS CPU because the page offset was clashing with _PAGE_FILE and some other page protection bits which should have been left zeros for this kind of pages.

Actally, _PAGE_ACCESSED which as we initially thought needed preserving, should be usable as well, so I'll repost the patch that implements 28-bit page offsets for R3k and MIPS32 shortly...

The patch has been tested on MIPS32, MIPS64, and Alchemy CPUs, only R3000/TX3927 part hasn't been tested for the lack of time...

WBR, Sergei

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