All of lore.kernel.org
 help / color / mirror / Atom feed
From: Matt Sealey <matt@genesi-usa.com>
To: Grant Likely <grant.likely@secretlab.ca>
Cc: linuxppc-dev@ozlabs.org, paulus@samba.org, domen.puncer@telargo.com
Subject: Re: [PATCH v2 4/7] bestcomm: core bestcomm support for Freescale MPC5200
Date: Mon, 15 Oct 2007 15:39:05 +0100	[thread overview]
Message-ID: <47137B89.6070308@genesi-usa.com> (raw)
In-Reply-To: <fa686aa40710150720x6c0ab76hf45d434740d5718f@mail.gmail.com>


Grant Likely wrote:
> On 10/15/07, Kumar Gala <galak@kernel.crashing.org> wrote:
>> (Comments just on SRAM code)
>>
>> I think this should be made generic and be utility functionality to
>> rheap.
>>
>> CPM, CPM2, QE, L2 SRAM, etc can all use this.  I'd rather we didn't
>> have 3 ways to do the exact same functionality.  (cpm_dpalloc,
>> cpm_dpfree, qe_muram_alloc, qe_muram_free)
> 
> Fair enough; but not in this patch set.  This series is working
> support for bestcomm.  To go to the more generic level of being used
> by multiple parts should be done in a separate series.

I suggested this a couple months ago and a couple people here said a
generic SRAM driver would be a bad idea.. (even the tsi1xx and Marvell
chips could use a generic SRAM driver)?

Module probe order comes into play, which is why it was a bad idea; how
do you make sure that SRAM and all it's finer points (which may not be
handled by a generic rheap library - after all, the address, size,
alignment needs to be *passed* to rheap init) is there and probed before
bestcomm, qe ethernet units or cryptography, axe on the 5121e, gigabit
on the marvell, deep sleep code on the 5200b (just listing users atm)
or something or other, without turning the drivers into a hard
dependency of the sram subsystem?

-- 
Matt Sealey <matt@genesi-usa.com>
Genesi, Manager, Developer Relations

  reply	other threads:[~2007-10-15 14:37 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-14  4:41 [PATCH v2 0/7] 2nd respin of bestcomm patches Grant Likely
2007-10-14  4:41 ` [PATCH v2 1/7] exports rheap symbol to modules Grant Likely
2007-10-14  4:41 ` [PATCH v2 2/7] rheap: Changes config mechanism Grant Likely
2007-10-15 13:43   ` Kumar Gala
2007-10-15 13:55     ` Grant Likely
2007-10-15 14:03       ` Kumar Gala
2007-10-15 14:06         ` Grant Likely
2007-10-15 14:53         ` Timur Tabi
2007-10-15 14:54           ` Kumar Gala
2007-10-15 14:54             ` Timur Tabi
2007-10-15 15:09               ` Grant Likely
2007-10-14  4:42 ` [PATCH v2 3/7] mpc52xx: Update mpc52xx_psc structure with B revision changes Grant Likely
2007-10-14  4:42 ` [PATCH v2 4/7] bestcomm: core bestcomm support for Freescale MPC5200 Grant Likely
2007-10-14 11:33   ` Sven Luther
2007-10-14 20:22     ` Grant Likely
2007-10-14 20:25       ` Sven Luther
2007-10-14 21:23         ` Grant Likely
2007-10-15  6:12           ` Sven Luther
2007-10-15 11:55   ` Matt Sealey
2007-10-15 14:04     ` Grant Likely
2007-10-15 20:53       ` Matt Sealey
2007-10-15 20:55         ` Matt Sealey
2007-10-15 21:06         ` Grant Likely
2007-10-16 13:21       ` tnt
2007-10-15 14:06   ` Kumar Gala
2007-10-15 14:20     ` Grant Likely
2007-10-15 14:39       ` Matt Sealey [this message]
2007-10-14  4:42 ` [PATCH v2 5/7] bestcomm: ATA task support Grant Likely
2007-10-14  4:42 ` [PATCH v2 6/7] bestcomm: FEC " Grant Likely
2007-10-14  4:42 ` [PATCH v2 7/7] bestcomm: GenBD " Grant Likely

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=47137B89.6070308@genesi-usa.com \
    --to=matt@genesi-usa.com \
    --cc=domen.puncer@telargo.com \
    --cc=grant.likely@secretlab.ca \
    --cc=linuxppc-dev@ozlabs.org \
    --cc=paulus@samba.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.