linux-mips
[Top] [All Lists]

Re: Does HIGHMEM work on 32-bit MIPS ports?

To: linux-mips@linux-mips.org
Subject: Re: Does HIGHMEM work on 32-bit MIPS ports?
From: David VomLehn <dvomlehn@cisco.com>
Date: Tue, 26 Feb 2008 13:06:53 -0800
Authentication-results: sj-dkim-2; header.From=dvomlehn@cisco.com; dkim=pass ( sig from cisco.com/sjdkim2002 verified; );
Dkim-signature: v=1; a=rsa-sha256; q=dns/txt; l=1063; t=1204060017; x=1204924017; c=relaxed/simple; s=sjdkim2002; h=Content-Type:From:Subject:Content-Transfer-Encoding:MIME-Version; d=cisco.com; i=dvomlehn@cisco.com; z=From:=20David=20VomLehn=20<dvomlehn@cisco.com> |Subject:=20Re=3A=20Does=20HIGHMEM=20work=20on=2032-bit=20M IPS=20ports? |Sender:=20; bh=XunnJNi9gBvw6oLEjE+8SnH79ArU+Zed4tfQjeuCvP4=; b=UcwjtCKTzRHfTcC4cMptw2TrabKJMz6ZWc9Og7xdmYygJJG1hq6RKqSKoS OAFkxPx7ALwfKoD5znrmciltFkkMM8d3S4kOQGiSMEVyF5tgz/EXeVh5JH8N wV0FnGiNMF;
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
User-agent: Thunderbird 2.0.0.9 (Windows/20071031)
On Wed, 20 Feb 2008, David VomLehn wrote:

> Hmm, this is not good. I've got a MIPS 24Kc processor with a very
> awkward memory layout. Any hints?

What does it mean "very awkward"? What sort of problems do you have that you are trying to solve?

  Maciej
Specifically, we have two banks of memory. The first starts at 0x10000000, which is no big deal (other than wasting the page map entries for the first chunk of memory). The second starts at 0x60000000, so:

  1. We have to access it with high memory, and
  2. There is a huge section of unused page map entries.

As it turns out, it is starting to look like we're making progress with the problem with high memory: In __flush_dcache_page, nothing is done if PageHighMem() returns true. Not surprisingly, this leads to Bad Things(tm). What we are working through now is making sure that we understand exactly what *should* be happening.

--
David VomLehn, dvomlehn@cisco.com
The opinions expressed herein are likely mine, but might not be my employer's...



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