All of lore.kernel.org
 help / color / mirror / Atom feed
From: Frank Rowand <frank_rowand@mvista.com>
To: David Blythe <blythe@routefree.com>
Cc: linuxppc-embedded@lists.linuxppc.org
Subject: Re: MMU_init buglet in 2.4.0-mvista_010216
Date: Sat, 10 Mar 2001 21:46:46 -0800	[thread overview]
Message-ID: <3AAB1146.C39B35A1@mvista.com> (raw)
In-Reply-To: 3AAB06CC.F5E5A5BA@routefree.com


David Blythe wrote:
>
> memory sizes > 16M but not a multiple of 16M not quite right.  for the
> 24M config i was playing with it manifests itself as a tlb miss/kernel
> stack overflow.
>
> patch attached.
>         david
>
>   ------------------------------------------------------------------------------------------------------------------------------------
> Index: arch/ppc/mm/init.c
> ===================================================================
> diff -u -r1.1.1.4 init.c
> --- arch/ppc/mm/init.c  2001/02/21 00:52:57     1.1.1.4
> +++ arch/ppc/mm/init.c  2001/03/11 04:52:27
> @@ -1015,7 +1015,7 @@
>         /* -----  pin 4MB chunks of memory  ----- */
>
>         if (size_pinned < size_DRAM) {
> -               pinned_tlbs = ((size_DRAM - size_pinned) / SIZE_4MB);
> +               pinned_tlbs += ((size_DRAM - size_pinned) / SIZE_4MB);
>
>                 if (pinned_tlbs > PPC4xx_MAX_PINNED_TLB) {
>                         printk(KERN_ERR "MMU_init(): memory configuration requires %d tlb entries.\n",

Thank you David, I merged your fix.

-Frank
--
Frank Rowand <frank_rowand@mvista.com>
MontaVista Software, Inc

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

  reply	other threads:[~2001-03-11  5:46 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-03-11  5:02 MMU_init buglet in 2.4.0-mvista_010216 David Blythe
2001-03-11  5:46 ` Frank Rowand [this message]
2001-03-11 16:27   ` Dan Malek
2001-03-12 19:36     ` Frank Rowand
2001-03-11 22:03 ` Grant Erickson

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=3AAB1146.C39B35A1@mvista.com \
    --to=frank_rowand@mvista.com \
    --cc=blythe@routefree.com \
    --cc=frowand@mvista.com \
    --cc=linuxppc-embedded@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 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.