Subject: Re: port-mips/31915: provide centralized wired_map logic
To: None <garrett_damore@tadpole.com>
From: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
List: port-mips
Date: 11/01/2005 22:56:19
In article <43665421.5080505@tadpole.com>
garrett_damore@tadpole.com

> I've not looked at this yet.  Right now the current MI code uses a fixed 
> page size.  I can look at extending this so that it can take a page size 
> as an argument, though frankly I'm not too fond of that as it 
> complicates the logic to make it work properly.
> 
> I need to think about it some more -- I'll get back to you.

Maybe arc port should handle two regions, one is statically
wired map for early bootstrap stage and the other is
bus_space wired map for devices which have large regions.
The former mappings won't require strict region management,
so maybe it's just ok to provide a primitive function that
just takes va, pa0, pa1 and pagesize and then call
mipsX_TLBWriteIndexedVPS()?

Anyway, I'll move mipsX_TLBWriteIndexedVPS() to MI mips part
for interim fix.
---
Izumi Tsutsui