All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bob Breuer <breuerr@mc.net>
To: sparclinux@vger.kernel.org
Subject: Re: Badness in map_area_pte
Date: Sun, 16 Jan 2005 02:25:35 +0000	[thread overview]
Message-ID: <41E9D09F.1070704@mc.net> (raw)
In-Reply-To: <41E96A42.7090501@mc.net>

Bob Breuer wrote:
> At this point, I am guessing that some pte's allocated for the 
> framebuffer are being wrongly re-used when loading the module.
> 

The cg14 driver is not remapping the framebuffer, and is using the mappings 
that were setup by the prom and recreated in linux from 
srmmu_inherit_prom_mappings().

How can we tell vmalloc not to step on that area of memory?  Is it just from 
VMALLOC_START to END?  Let's see, for 2.6 those are 0xfe600000 and 
0xffc00000.  The prom mapped the cg14 to 0xfe700000 (8MB ram) and 0xffec0000 
(registers).  Hmm, a bit of overlap there...  And 2.4 had VMALLOC_START at 
0xfe300000.  So it would seem that if the total vmalloc'ed memory goes above 
1 meg for me, 2.6 will have problems, but 2.4 will still be fine.

Bob

  reply	other threads:[~2005-01-16  2:25 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-15 19:08 Badness in map_area_pte Bob Breuer
2005-01-16  2:25 ` Bob Breuer [this message]
2005-01-16  3:55 ` William Lee Irwin III
2005-01-16  4:24 ` Bob Breuer
2005-01-16  4:29 ` William Lee Irwin III
2005-02-04 21:37 ` Tom 'spot' Callaway
2005-02-05  6:07 ` David S. Miller
2005-02-05 16:30 ` Tom 'spot' Callaway
2005-02-05 18:34 ` Tom 'spot' Callaway
2005-02-05 19:48 ` David S. Miller

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=41E9D09F.1070704@mc.net \
    --to=breuerr@mc.net \
    --cc=sparclinux@vger.kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.