[Top] [All Lists]

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

To: Linux-MIPS <>
Subject: Re: [PATCH] Fix non-linear memory mapping on MIPS
From: Sergei Shtylyov <>
Date: Sat, 27 May 2006 21:05:19 +0400
Cc: Manish Lachwani <>, Jordan Crouse <>, Ralf Baechle <>
In-reply-to: <>
Organization: MontaVista Software Inc.
Original-recipient: rfc822;
References: <>
User-agent: Mozilla/5.0 (X11; U; Linux i686; rv:1.7.2) Gecko/20040803

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>