mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Russell King <rmk+lkml@arm.linux.org.uk>
To: Steven Rostedt <rostedt@goodmis.org>
Cc: Esben Nielsen <nielsen.esben@googlemail.com>,
	Milan Svoboda <msvoboda@ra.rockwell.com>,
	LKML <linux-kernel@vger.kernel.org>,
	Deepak Saxena <dsaxena@plexity.net>, Ingo Molnar <mingo@elte.hu>,
	Thomas Gleixner <tglx@linutronix.de>
Subject: Re: [BUG] Linux-2.6.17-rt3 on arm ixdp465
Date: Thu, 29 Jun 2006 13:25:41 +0100	[thread overview]
Message-ID: <20060629122541.GB9709@flint.arm.linux.org.uk> (raw)
In-Reply-To: <Pine.LNX.4.58.0606290803190.25935@gandalf.stny.rr.com>

On Thu, Jun 29, 2006 at 08:09:24AM -0400, Steven Rostedt wrote:
> 
> 
> On Thu, 29 Jun 2006, Esben Nielsen wrote:
> 
> >
> > On Thu, 29 Jun 2006, Milan Svoboda wrote:
> >
> >
> > It seems that dma_unmap_single() on arm contains
> >  	local_irq_save(flags);
> >
> >  	unmap_single(dev, dma_addr, size, dir);
> >
> >  	local_irq_restore(flags);
> >
> 
> Yeah I saw this too.
> 
> > I don't know the dma code on arm. It doesn't look like a per-cpu code but it
> > seems to me that it is not SMP safe and therefore not preempt-realtime
> > safe, either.
> >
> > The hard thing is to figure out which datastructures exactly is protected
> > by those irq-disable and put in a spinlock..
> >
> > I added Deepak Saxena on CC as he seems to be the last one who touched the
> > file.
> >
> 
> Well, the following patch may not be the best but I don't see it being any
> worse than what is already there.  I don't have any arm platforms or even
> an arm compiler, so I haven't even tested this patch with a compile.  But
> it should be at least a temporary fix.

Guys, look at what's in the latest -git from Linus.

-- 
Russell King
 Linux kernel    2.6 ARM Linux   - http://www.arm.linux.org.uk/
 maintainer of:  2.6 Serial core

  reply	other threads:[~2006-06-29 12:25 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-29 10:17 Milan Svoboda
2006-06-29 11:53 ` Russell King
2006-06-29 12:40 ` Esben Nielsen
2006-06-29 12:09   ` Steven Rostedt
2006-06-29 12:25     ` Russell King [this message]
2006-06-29 12:49       ` Steven Rostedt
2006-06-29 13:31         ` Russell King
2006-06-30  6:46         ` Russell King
2006-06-30 18:50     ` Ingo Molnar
2006-06-30 19:00       ` Russell King
2006-06-30 19:01         ` Ingo Molnar
  -- strict thread matches above, loose matches on Subject: below --
2006-06-29  7:01 Milan Svoboda
2006-06-29 10:03 ` Esben Nielsen
2006-06-29  9:21   ` Steven Rostedt
2006-06-29 12:30     ` Esben Nielsen
2006-06-28 15:05 Milan Svoboda
2006-06-28 17:02 ` Esben Nielsen

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=20060629122541.GB9709@flint.arm.linux.org.uk \
    --to=rmk+lkml@arm.linux.org.uk \
    --cc=dsaxena@plexity.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=msvoboda@ra.rockwell.com \
    --cc=nielsen.esben@googlemail.com \
    --cc=rostedt@goodmis.org \
    --cc=tglx@linutronix.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome