linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: "bhanu jampala" <adams.ppc@gmail.com>
To: "Scott Wood" <scottwood@freescale.com>
Cc: linuxppc-embedded@ozlabs.org
Subject: Re: cpm_dpalloc questions
Date: Fri, 29 Aug 2008 15:25:24 -0600	[thread overview]
Message-ID: <4a21eaea0808291425r3aed1629y2707f685498955ad@mail.gmail.com> (raw)
In-Reply-To: <4a21eaea0808281203x78a05bb4l4fbd287db4fe59c5@mail.gmail.com>

Hi Guys,

Figured out that cpm_dpalloc is doing the memory allocation in the
range of  0x0000 - 0x3EFEC.
I tried to dig in and figured out that it is really not affecting me
as the memory address I dont wanted to be touched is 0x2000.
and existing drivers fcc and scc allocate memory at boot time and and
it is something range of ix100 -0x200.
so, no problem.

- mukund

On Thu, Aug 28, 2008 at 1:03 PM, bhanu jampala <adams.ppc@gmail.com> wrote:
> Hi Scott,
>
>> No, MCC1 PRAM starts at offset 0x8700.  Any other areas used are under
>> software control.
> Yes, you are right. But, I was refereing to MCC channel specific HDLC
> parameters.
>
> Reason: I am using the MCC2 which uses memory from offset 0x2000 to
> 0x4000 for Chan Specific parameters.
> you can see that in MCC chapter i.e. 29.3.1 on a MPC8280 manual.
> (channel specific HDLC parameters)
>
> I need to make sure that cpm_dpalloc is not using this part of DPRAM
> to allocate memory.
> I just wanne make sure no other device driver that use cpm_dpalloc to
> allocate memory for their BDs i.e. scc, smc, fcc.
>
> and it looks to me like it is allocating me memory starting from 0x128 or 0x400.
>
>> This is obsolete arch/ppc stuff and should be removed; the SMC pram is now
>> dynamically allocated and relocated (and before that, it came from the
>> device tree).
>
> Yes, I am using 2.6.19.2. I am right now in the middle of finalizing
> the BSP port. So, I cannot move on further to device trees. I will
> doing that stuff with in a month but now I am with 2.6.19.2.
>
> Regards,
> Adams
>

      reply	other threads:[~2008-08-29 21:25 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-28  5:12 cpm_dpalloc questions bhanu jampala
2008-08-28 16:23 ` Scott Wood
2008-08-28 19:03   ` bhanu jampala
2008-08-29 21:25     ` bhanu jampala [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=4a21eaea0808291425r3aed1629y2707f685498955ad@mail.gmail.com \
    --to=adams.ppc@gmail.com \
    --cc=linuxppc-embedded@ozlabs.org \
    --cc=scottwood@freescale.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;
as well as URLs for NNTP newsgroup(s).