linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Dave Jones <davej@codemonkey.org.uk>
To: Jamie Lokier <jamie@shareable.org>
Cc: Gerd Knorr <kraxel@suse.de>,
	Linus Torvalds <torvalds@transmeta.com>,
	Kernel List <linux-kernel@vger.kernel.org>,
	Andi Kleen <ak@suse.de>
Subject: Re: [patch] vesafb fix
Date: Tue, 15 Jul 2003 18:53:58 +0100	[thread overview]
Message-ID: <20030715175358.GB15505@suse.de> (raw)
In-Reply-To: <20030715173557.GB1491@mail.jlokier.co.uk>

On Tue, Jul 15, 2003 at 06:35:57PM +0100, Jamie Lokier wrote:
 > There used to be a vesafb problem with MTRRs when the framebuffer had
 > an odd size: 2.5MB of RAM (my laptop has this).
 > 
 > It would create an MTRR for the first 0.5MB of the framebuffer, and
 > then try to create another for the subsequent 2MB.
 > 
 > The latter failed because it's not suitably aligned - i.e. there was a
 > problem in th logic which splits non-power-of-two regions.
 > Is that fixed these days?

Better would be to use change_page_attr to manipulate PAT bits.
We then wouldn't have to worry at all about alignment, running out
of MTRRs, or collisions with other MTRRs.

		Dave


  reply	other threads:[~2003-07-15 17:41 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-15 14:10 [patch] vesafb fix Gerd Knorr
2003-07-15 17:35 ` Jamie Lokier
2003-07-15 17:53   ` Dave Jones [this message]
2003-07-15 18:06     ` Alan Cox
2003-07-15 18:22       ` Dave Jones
2003-07-15 18:46         ` Alan Cox

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030715175358.GB15505@suse.de \
    --to=davej@codemonkey.org.uk \
    --cc=ak@suse.de \
    --cc=jamie@shareable.org \
    --cc=kraxel@suse.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@transmeta.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).