Re: [Lse-tech] Re: maximum possible memory limit ..

From: William Lee Irwin III (wli@holomorphy.com)
Date: Mon Apr 28 2003 - 19:00:14 EST


On Mon, Apr 28, 2003 at 03:40:25PM -0700, William Lee Irwin III wrote:
>> Most of the driver stuff I've seen is ioremap() of O(PAGE_SIZE) which
>> just gets denied so it fails to probe. IDE was worse (as usual), and
>> AGP needed an unusual amount of tweaking, which probably will be
>> typical for the graphics drivers in general.

On Tue, Apr 29, 2003 at 12:50:23AM +0100, Dave Jones wrote:
> Is this stuff in the current pgcl patch? I've not looked at it,
> but wouldn't mind a look-see sometime.

Not much of it. Basically I've only swept the drivers for the systems
I've been hacking on. My driver-fu is limited anyway. Most of it is
really boring, basically changing size specifications for blocks of
memory used by the driver from being defined in terms of MMUPAGE_SIZE
when they need to be in 4KB units (which is the hardware pagesize on
most cpus).

IDE was sizing its PRD tables in terms of PAGE_SIZE, so that needed
quickfixing and it's otherwise mostly immune to the effect(s), and that's
in the patch. AGP was fiddling around with something, which very well may
have been some kind of GART aperture for all I know about it, and needed
to use MMUPAGE_SIZE to think of its size correctly. Hugh's 2.4.x code had
a better sampling of what's needed for DRM and AGP in general, along with
various fixes for other framebuffer drivers, but it predated 2.4.8, at
which time some kind of enormous DRM merge happened and clobbered things.

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



This archive was generated by hypermail 2b29 : Wed Apr 30 2003 - 22:00:31 EST