From: tmo@sysgo.com
To: "Micha Nelissen" <micha@neli.hopto.org>
Cc: "Bounine, Alexandre" <Alexandre.Bounine@idt.com>,
Alexandre Bounine <alexb@tundra.com>,
linuxppc-dev@lists.ozlabs.org, thomas.moll@sysgo.com
Subject: Re: [PATCH 7/7] powerpc/85xx: Fix the RapidIO maintenance access functions
Date: Fri, 05 Mar 2010 07:00:16 +0100 [thread overview]
Message-ID: <20100305070016.174933jueklpo8hs@www.sysgo.com> (raw)
In-Reply-To: <4B86CD7C.6070201@neli.hopto.org>
Quoting "Micha Nelissen" <micha@neli.hopto.org>:
> Bounine, Alexandre wrote:
>> Hi Micha,
>>
>> I tested it on my setup - it works.
>> Maybe Thomas may give more details on this change.
>
> Did you (for fun) try once to decrease the maintenance window to =20
> say, 4 kB? Then you really need these "high" bits to work properly.
We have never changed the configuration of the window size in Linux, =20
but we have an test application that uses these 4kb window setting.
With the current window configuration in Linux, I expect problems when =20
someone tries to read a register that is located at offset > 512KB. I =20
have currently no equipment to verify this behaviour.
>
> Or did you try with some register at offset > 4MB? The Tundra's have =20
> registers going up to 0x14000 or so? So don't need 16MB addressing =20
> for that.
We have devices that requires access to registers that are located at =20
offset > 15MB.
>
> Thanks, Micha
>
>
>>> -----Original Message-----
>>> From: Micha Nelissen [mailto:micha@neli.hopto.org]
>>> Sent: Wednesday, February 24, 2010 3:21 PM
>>> To: Alexandre Bounine
>>> Subject: Re: [PATCH 7/7] powerpc/85xx: Fix the RapidIO maintenance
>> access functions
>>> Alexandre Bounine wrote:
>>>> =09out_be32(&priv->maint_atmu_regs->rowtar,
>>>> -=09=09 (destid << 22) | (hopcount << 12) | ((offset & ~0x3) >>
>> 9));
>>>> +=09=09 (destid << 22) | (hopcount << 12) | (offset >> 12));
>>>> +=09out_be32(&priv->maint_atmu_regs->rowtear, (destid >> 10));
>>> Did this actually work for you? The (offset >> 12) is due to the 4MB
>>> window size right?
>>>
>>> Micha
>>
>
>
prev parent reply other threads:[~2010-03-05 6:11 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-24 15:37 [PATCH 7/7] powerpc/85xx: Fix the RapidIO maintenance access functions Alexandre Bounine
[not found] ` <4B858A1F.7020505@neli.hopto.org>
[not found] ` <0CE8B6BE3C4AD74AB97D9D29BD24E552A54EA6@CORPEXCH1.na.ads.idt.com>
2010-02-25 19:20 ` Micha Nelissen
2010-03-05 6:00 ` tmo [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=20100305070016.174933jueklpo8hs@www.sysgo.com \
--to=tmo@sysgo.com \
--cc=Alexandre.Bounine@idt.com \
--cc=alexb@tundra.com \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=micha@neli.hopto.org \
--cc=thomas.moll@sysgo.com \
/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