linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Tom Rini <trini@kernel.crashing.org>
To: Oliver Korpilla <okorpil@fh-landshut.de>
Cc: linuxppc-embedded@lists.linuxppc.org
Subject: Re: Patch Preview for MVME2100
Date: Mon, 5 Apr 2004 10:23:48 -0700	[thread overview]
Message-ID: <20040405172348.GS31152@smtp.west.cox.net> (raw)
In-Reply-To: <Pine.LNX.4.33.0404041321400.21042-200000@lux32.if.fh-landshut.de>


On Sun, Apr 04, 2004 at 01:27:58PM +0200, Oliver Korpilla wrote:

> Hello!
>
> I tried to port the available patch for MVME2100 from linux-2.4.2 HHL2.0
> to vanilla 2.4.25, and I'd like someone to have a look at it, to say if it
> makes sense, because this is a first-timer.
>
> It is not yet verified, because I cannot compile or test it before
> tomorrow, but if someone could comment on it still yet, it'd be very much
> appreciated.
>
> You can download both the original patches and my tries at new patchs
> here:
>
> http://www.fh-landshut.de/~okorpil/mvme2100-linux-2.4.25.patch.bz2
> http://www.fh-landshut.de/~okorpil/mvme2100-linux-2.4.25.patch.gz
> http://www.fh-landshut.de/~okorpil/mvme2100-linux-2.4.2_hhl20.patch.bz2
> http://www.fh-landshut.de/~okorpil/mvme2100-linux-2.4.2_hhl20.patch.gz
>
> The changes I made in detail are attached to this message.

- The stuff in arch/ppc/boot/mvme2100 can go.
- The open_pic.c change shouldn't be needed either.
- Your openpic_initsenses table looks wrong, and is probably the cause
  of the uart slowness you found.  What you do is only list the IRQs for
  which you have something, and use openpic_set_sources calls to skip
  over the gaps.  Look at lopec_init_IRQ and ask if you still have
  problems.  I hoped to have documented that one well the first time
  around. :)
- In mvme2100_set_bat, try something along the lines of:
{
	mb();
	mtspr(DBAT1U, 0xf8000ffe);
	mtspr(DBAT1L, 0xf800002a);
	mb();
}

--
Tom Rini
http://gate.crashing.org/~trini/

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

  reply	other threads:[~2004-04-05 17:23 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-04 11:27 Patch Preview for MVME2100 Oliver Korpilla
2004-04-05 17:23 ` Tom Rini [this message]
2004-04-05 18:06   ` Oliver Korpilla
2004-04-05 18:30     ` Tom Rini
2004-04-06 17:29       ` Oliver Korpilla
2004-04-06 18:47         ` Tom Rini

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=20040405172348.GS31152@smtp.west.cox.net \
    --to=trini@kernel.crashing.org \
    --cc=linuxppc-embedded@lists.linuxppc.org \
    --cc=okorpil@fh-landshut.de \
    /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).