public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
From: Tony Lindgren <tony@atomide.com>
To: Felipe Contreras <felipe.contreras@gmail.com>
Cc: "Pasam, Vijay" <vpasam@ti.com>,
	"Woodruff, Richard" <r-woodruff2@ti.com>,
	Hiroshi DOYU <Hiroshi.DOYU@nokia.com>,
	linux-omap@vger.kernel.org, soni.trilok@gmail.com, "Kanigeri,
	Hari" <h-kanigeri2@ti.com>, "Ramirez Luna, Omar" <x00omar@ti.com>,
	"Gupta, Ramesh" <grgupta@ti.com>,
	felipe.contreras@nokia.com
Subject: Re: [RFC] Port TI DSP BRIDGE for a new dedicated branch in linux-omap
Date: Mon, 18 Aug 2008 10:56:24 +0300	[thread overview]
Message-ID: <20080818075624.GB12243@atomide.com> (raw)
In-Reply-To: <94a0d4530808160257r77341fafn5f2b8404a8510203@mail.gmail.com>

Hi,

* Felipe Contreras <felipe.contreras@gmail.com> [080816 12:58]:
> Hi Vijay,
> 
> On Sat, Aug 16, 2008 at 12:59 AM, Pasam, Vijay <vpasam@ti.com> wrote:
> >> I'm not familiar with checkpatch, but I guess the purpose is
> >> not to highlight functional issues.
> >>
> >> However, there are functional issues, but it makes sense to
> >> cleanup the code first: there's no point in analyzing code
> >> that is never used.
> >
> > There are about 9 errors with the latest set of patches. These are all
> > false positives - not really errors. Majority of warnings also fall
> > under this category.
> 
> I'm not talking about issues returned by checkpatch, but issues
> visible to the human observer.

And the two pieces of code that need to be fixed for Linux ASAP
for DSP are:

- External device MMU hardware
- Mailbox handling

This code needs to be shared for dsp[bios|bridge|gateway|link].
And it can be also used for any other devices and coprocessors
needing MMU handling.

So far the sanest solution seems to be in:

arch/arm/*omap*/mmu.[ch]
arch/arm/*omap*/mailbox.[ch]

Is there any reason why this code cannot be used for dspbridge?

BTW, the MMU code needs to be fixed so that the code
shared with ioremap() is moved to ioremap(). Basically we
need to enhance ioremap() in a way where it can support external
MMU hardware. Otherwise the maintenance will be a nightmare.

This was pointed out by Russell King a while back when we tried
to get the MMU code integrated to the mainline kernel.

Regards,

Tony

  reply	other threads:[~2008-08-18  7:56 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-15  6:46 [RFC] Port TI DSP BRIDGE for a new dedicated branch in linux-omap Hiroshi DOYU
2008-08-15  6:46 ` [PATCH 01/10] TI DSP BRIDGE: Kconfig Entry Hiroshi DOYU
     [not found]   ` <1218782824-12596-3-git-send-email-Hiroshi.DOYU@nokia.com>
     [not found]     ` <1218782824-12596-4-git-send-email-Hiroshi.DOYU@nokia.com>
2008-08-15  6:46       ` [PATCH 04/10] TI DSP BRIDGE: Generic Utilities Hiroshi DOYU
     [not found]         ` <1218782824-12596-6-git-send-email-Hiroshi.DOYU@nokia.com>
     [not found]           ` <1218782824-12596-7-git-send-email-Hiroshi.DOYU@nokia.com>
     [not found]             ` <1218782824-12596-8-git-send-email-Hiroshi.DOYU@nokia.com>
     [not found]               ` <1218782824-12596-9-git-send-email-Hiroshi.DOYU@nokia.com>
     [not found]                 ` <1218782824-12596-10-git-send-email-Hiroshi.DOYU@nokia.com>
2008-08-15  6:47                   ` [PATCH 10/10] TI DSP BRIDGE: README Hiroshi DOYU
2008-08-15  7:52 ` [RFC] Port TI DSP BRIDGE for a new dedicated branch in linux-omap Trilok Soni
2008-08-15  9:47   ` Felipe Contreras
2008-08-15 10:34     ` Hiroshi DOYU
2008-08-15 11:21       ` Tony Lindgren
2008-08-15 12:22         ` Hiroshi DOYU
2008-08-15 16:01         ` Woodruff, Richard
2008-08-15 17:32           ` Syed Mohammed, Khasim
2008-08-15 19:03             ` Trilok Soni
2008-08-15 19:20           ` Felipe Contreras
2008-08-15 19:28             ` Felipe Contreras
2008-08-15 20:16               ` Woodruff, Richard
2008-08-15 21:09                 ` Felipe Contreras
2008-08-15 21:59                   ` Pasam, Vijay
2008-08-16  9:57                     ` Felipe Contreras
2008-08-18  7:56                       ` Tony Lindgren [this message]
2008-08-18  8:26                         ` Trilok Soni
2008-08-18 10:15                           ` Hiroshi DOYU
2008-08-18 13:06                           ` Tony Lindgren
2008-08-18 10:43                         ` Hiroshi DOYU
2008-08-18  9:13                 ` Riku Voipio
2008-08-18 10:22                   ` Hiroshi DOYU
2008-08-18 15:53                   ` Kanigeri, Hari
2008-08-19  5:53                     ` Hiroshi DOYU
2008-08-15 21:32               ` Hunter, Jon
2008-08-16  9:26                 ` Felipe Contreras
2008-08-15 20:48           ` Hiroshi DOYU
2008-08-18 13:12             ` Tony Lindgren

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=20080818075624.GB12243@atomide.com \
    --to=tony@atomide.com \
    --cc=Hiroshi.DOYU@nokia.com \
    --cc=felipe.contreras@gmail.com \
    --cc=felipe.contreras@nokia.com \
    --cc=grgupta@ti.com \
    --cc=h-kanigeri2@ti.com \
    --cc=linux-omap@vger.kernel.org \
    --cc=r-woodruff2@ti.com \
    --cc=soni.trilok@gmail.com \
    --cc=vpasam@ti.com \
    --cc=x00omar@ti.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