From: Yuri Tikhonov <yur@emcraft.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] 440spe MQ initialization
Date: Tue, 23 Sep 2008 19:35:26 +0400 [thread overview]
Message-ID: <184687181.20080923193526@emcraft.com> (raw)
In-Reply-To: <0CA0A16855646F4FA96D25A158E299D604919AAE@SDCEXCHANGE01.ad.amcc.com>
Hello Prodyut,
On Tuesday, September 23, 2008 you wrote:
> Hi Stefan/Yuri,
> I looked at the changes.
> I had already submitted the changes in an earlier patch. This code
> to set the PLB4 arbiter depth was moved to cpu_init_f function in
> cpu/ppc4xx/cpu_init.c since it is common across many processor families.
>
> Please don't do the same thing again in the program_memory_queue function.
Well, actually my patch doesn't have a deal with the PLB configuring,
but with MQ only. So, it's OK here.
But then another question arises: in Linux, in
ppc440spe_configure_raid_devices(), beside the other things we do the
following:
/* Configure PLB as follows:
* PLB: 0xDF000000. This means
* - Priority level 00 fair priority,
* - Priority level 01 fair priority,
* - Priority level 11 fair priority,
* - High Bus Utilization enabled,
* - 4 Deep read pipe,
* - 2 Deep write pipe.
*/
mask = (1 << PLB_ACR_PPM0) | (1 << PLB_ACR_PPM1) | (1 << PLB_ACR_PPM3) |
(1 << PLB_ACR_HBU) | ((3 & PLB_ACR_RDP_MSK) << PLB_ACR_RDP) |
(1 << PLB_ACR_WRP);
mtdcr(DCRN_PLB0_ACR, mask);
mtdcr(DCRN_PLB1_ACR, mask);
Is it OK, or should we remove these strings from the Linux driver,
assuming U-Boot has already done this ?
Thanks in advance,
Yuri
> From: Stefan Roese [mailto:sr at denx.de]
> Sent: Tue 9/23/2008 2:43 AM
> To: Yuri Tikhonov
> Cc: u-boot at lists.denx.de; Prodyut Hazarika; Olga Buchonina
> Subject: Re: [U-Boot] [PATCH] 440spe MQ initialization
> On Tuesday 23 September 2008, Yuri Tikhonov wrote:
>> BTW, when I said "recommended by AMCC" in the patch description I
>> referred to the following information forwarded to me by Wolfgang
>> Denk on Tue Mar 18 2008:
>>
>> ---
>> Dear Yuri,
>>
>> here is some additional (and hopefully helpful) information from AMCC
>>
>> regarding the observed hangs on the katmai board:
>> > If possible, can you please check if you still see the lock up when
>> > you program MQ as follows:
>> > set value in HB and if you are using LL also as follows:
>> > MQ0_CF1H = 0x80001C80
>> > MQ0_CF1L = 0x80001C80
>> > Additionally, make sure that your PLB settings are:
>> > PLB0_ACR = 0xDF000000 ( 4 deep read and 2 deep write)
>> > PLB1_ACR = 0xDF000000 ( 4 deep read and 2 deep write)
>> > Please let me know if this fixes the issue.
>> > I also would like to know how you are programming your DMA and how
>> > is the traffic is pipelined.
>> > Regards,
>> > Olga Buchonina
>> > AMCC PowerPC Applications Engineering
> Understood. I just would like to see an ACK from AMCC on this since they just
> updated this MQ init code.
> Best regards,
> Stefan
> =====================================================================
> DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
> HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
> Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de
> =====================================================================
--
Yuri Tikhonov, Senior Software Engineer
Emcraft Systems, www.emcraft.com
next prev parent reply other threads:[~2008-09-23 15:35 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-23 8:37 [U-Boot] [PATCH] 440spe MQ initialization Yuri Tikhonov
2008-09-23 9:22 ` Stefan Roese
2008-09-23 9:36 ` Yuri Tikhonov
2008-09-23 9:43 ` Stefan Roese
2008-09-23 13:31 ` Olga Buchonina
2008-09-23 15:25 ` Prodyut Hazarika
2008-09-23 15:35 ` Yuri Tikhonov [this message]
2008-09-23 15:37 ` Prodyut Hazarika
2008-09-23 15:45 ` Yuri Tikhonov
2008-09-25 7:42 ` Stefan Roese
2008-09-25 13:17 ` Prodyut Hazarika
2008-09-23 15:31 ` Prodyut Hazarika
2008-10-16 23:10 ` Wolfgang Denk
2008-10-17 9:42 ` Stefan Roese
2008-10-17 10:15 ` Wolfgang Denk
2008-10-17 10:47 ` Stefan Roese
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=184687181.20080923193526@emcraft.com \
--to=yur@emcraft.com \
--cc=u-boot@lists.denx.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 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.