Re: [patch] Ignore MCFG if the mmconfig area isn't reserved in thee820table

From: Arjan van de Ven
Date: Fri Mar 24 2006 - 10:48:03 EST


Andi Kleen wrote:
On Friday 24 March 2006 16:42, Arjan van de Ven wrote:
Andi Kleen wrote:
In theory they should be the same. What do you think is different?
in practice the x86-64 version returns "success" if there is one byte in the entire
memory range that complies with the requested type, even if the rest of the range is
of another type.

I would consider that a bug. Please send fix.

I'm less sure. It's what the function does, and I can see very valid usage models for it;
to detect that a certain type is NOT present. And the code is clearly written with that goal
in mind at least. I'm tempted to write a real range function but I also was hoping to avoid
doing that, since for the MCFG test it really is a bit overkill.



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/