linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Matt Porter <porter@cox.net>
To: invictus rm <invictus_rm@hotmail.com>
Cc: porter@cox.net, linuxppc-dev@lists.linuxppc.org
Subject: Re: insmod search_exception_table !!!
Date: Tue, 8 Apr 2003 14:56:45 -0700	[thread overview]
Message-ID: <20030408145645.A21872@home.com> (raw)
In-Reply-To: <F49AKyxkM47Zs0B0fpn00027e69@hotmail.com>; from invictus_rm@hotmail.com on Tue, Apr 08, 2003 at 10:08:35PM +0530


On Tue, Apr 08, 2003 at 10:08:35PM +0530, invictus rm wrote:
> Hi Matt,
> I am using io_block_mapping for early_console_prints
>     io_block_mapping(0xf0000000, 0xf0000000, 0x10000000, _PAGE_IO);
>
> Is this a cause of the problem ??

Not on its own...you should have ~240MB of initial vmalloc space with
this configuration.

> How do i know how much addr i have ioremapped ??

You really want to know how much vmalloc space has been consumed
by all users.

Hard way:

Count all the ioremaps you do (plus 4KB offset between each
vmalloc offset).  If you are on a non-coherent platform you also
have to consider all consistent alloced memory.

Easy way:
ftp://source.mvista.com/pub/linuxppc/vmalloc_stats-2_4_devel.patch
/proc/meminfo contains vmalloc usage stats.

> My PAGE_OFFSET is at 0xc0000000
>
> Do i need to change the PCI MEM Map also if i am having a 1:1 mapping in the
> kernel virtual space ??

No, you just need to be aware that VMALLOC_END=ioremap_bot and this
value is set to whatever your lowest io_block_map virtual address is.
Any early ioremaps (pre-MM initialized) you do to place system devices
will further drop VMALLOC_END and constrain your vmalloc space.

Regards,
--
Matt Porter
porter@cox.net
This is Linux Country. On a quiet night, you can hear Windows reboot.

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

       reply	other threads:[~2003-04-08 21:56 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <F49AKyxkM47Zs0B0fpn00027e69@hotmail.com>
2003-04-08 21:56 ` Matt Porter [this message]
     [not found] <F163g2oHzGkzMcvsq9I0001b580@hotmail.com>
2003-04-09 15:17 ` insmod search_exception_table !!! Matt Porter
     [not found] <F108HX2WK43S3Iouk4R0001e01b@hotmail.com>
2003-04-08 16:20 ` Matt Porter

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=20030408145645.A21872@home.com \
    --to=porter@cox.net \
    --cc=invictus_rm@hotmail.com \
    --cc=linuxppc-dev@lists.linuxppc.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 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).