All of lore.kernel.org
 help / color / mirror / Atom feed
From: llee <llee@huawei.com>
To: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: linuxppc-dev list <linuxppc-dev@lists.linuxppc.org>
Subject: Re: fail to disable MMU on ppc 8241
Date: Tue, 20 Apr 2004 09:45:55 +0800	[thread overview]
Message-ID: <408480D3.1030009@huawei.com> (raw)
In-Reply-To: <1082352050.1689.9.camel@gaston>


Benjamin Herrenschmidt wrote:

>On Mon, 2004-04-19 at 13:55, llee wrote:
>
>
>>Hi, there,
>>I boot linux (2.6.3) on my ppc 8241 through vxworks bootloader. I'd got
>>a port (on address 0x70020006) to constrol three LEDs, so I could know
>>where the kernel going. But after the disable_mmu is called, I lost
>>control to the LEDs, Any suggestion on this? As I know, vxworks use a
>>one-to-one mapping MMU setup, I should must constrol the LEDs through
>>the same address.
>>
>>
>
>With mmu off, I suspect the 8241 acts as if the entire address space
>was cacheable, which is a BAD THING for IOs typically.
>
>Ben.
>
>
>
>
>
>
Thanks Ben, It works when I disable DATA CACHE!

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

      reply	other threads:[~2004-04-20  1:45 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-19  3:55 fail to disable MMU on ppc 8241 llee
2004-04-19  5:20 ` Benjamin Herrenschmidt
2004-04-20  1:45   ` llee [this message]

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=408480D3.1030009@huawei.com \
    --to=llee@huawei.com \
    --cc=benh@kernel.crashing.org \
    --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 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.