Subject: Re: port-mips/31915: provide centralized wired_map logic
To: None <tsutsui@netbsd.org, gnats-admin@netbsd.org,>
From: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
List: netbsd-bugs
Date: 11/01/2005 13:57:01
The following reply was made to PR port-mips/31915; it has been noted by GNATS.

From: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
To: garrett_damore@tadpole.com
Cc: gnats-bugs@NetBSD.org, port-mips@NetBSD.org,
	tsutsui@ceres.dti.ne.jp
Subject: Re: port-mips/31915: provide centralized wired_map logic
Date: Tue, 1 Nov 2005 22:56:19 +0900

 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