Re: [PATCH] (2.4.x bk) efi_memmap_walk_uc

From: Christopher Wedgwood <>
Date: 2003-07-30 07:15:20
On Tue, Jul 29, 2003 at 01:41:51PM -0700, David Mosberger wrote:

> There are many bits in attribute, such as MEMORY_RUNTIME etc.  The
> real problem is that the code you sent me makes little sense to me.

I can send the entire driver if that helps?  I think strictly speaking
the issue is orthogonal to any specific driver if it's to be included
outside the driver or platform code which why I brought this up.

> It creates a "node_fetchops" structure for _every_ uncached block of
> address space?  Will there be problems if that address space/memory
> is used for other purposes?

No --- because there are no other users...  the code was almost
certainly written a long time ago to solve an SN specific purpose and
has been carried around in the form I presented.

I fully admit that in a general sense this code isn't workable but I
think perhaps the concept of some kind of UC allocator might be.  If
such a thing existed I'm quite sure we would have the fetchop driver
ported to use it.

> I think what we really want here is two bitmasks: one telling us
> which bits we care about and one telling us what values those bits
> should be set to.

Yes.  But does that really make the code more suitable for merging or
is that merely a small step towards the larger picture?

> Can you work with Tony on this?  Since he's Mr. MCA (you OK with
> this title, Tony? ;-) and since we'll have to map the MINSTATE area
> UC, I think we want to make sure that the interface can handle all
> of this.

Sure, I'm happy with that.  I had considered as for UC we could try to
encourage everyone to have the MINSTATE containing granule to be all
UC and perhaps for generic kernels compromise on 16MB granules?
That's a different issue entirely though.

To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to
More majordomo info at
Received on Tue Jul 29 17:24:51 2003

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:16 EST