All of lore.kernel.org
 help / color / mirror / Atom feed
From: Russell King <rmk@arm.linux.org.uk>
To: Imre Deak <imre.deak@nokia.com>
Cc: Paul Mundt <lethal@linux-sh.org>,
	linux-arch@vger.kernel.org,
	"Doyu Hiroshi (Nokia-D/Helsinki)" <hiroshi.doyu@nokia.com>,
	"vikram.pandita@ti.com" <vikram.pandita@ti.com>,
	"tony@atomide.com" <tony@atomide.com>,
	"rak@arm.linux.org.uk" <rak@arm.linux.org.uk>,
	"rhishi@ti.com" <rhishi@ti.com>,
	"r-woodruff2@ti.com" <r-woodruff2@ti.com>,
	"laurent.pinchart@ideasonboard.com"
	<laurent.pinchart@ideasonboard.com>,
	"Syrjala Ville (Nokia-D/Helsinki)" <ville.syrjala@nokia.com>
Subject: Re: DMA from user space buffer/VIPT cache flushing wows (was: Minutes: 21 Sept,09 RMK meeting)
Date: Wed, 11 Nov 2009 19:29:45 +0000	[thread overview]
Message-ID: <20091111192945.GA31608@flint.arm.linux.org.uk> (raw)
In-Reply-To: <20091110160334.GE734@localhost>

On Tue, Nov 10, 2009 at 06:03:34PM +0200, Imre Deak wrote:
> Additionally as I said we would need a kernel interface for flushing
> user space buffers and mlock is not exposed to drivers. For that we
> would also need to add reference counting for mlock.

Oh, and let me re-iterate: the purpose of the patch I supplied to Texas
was to solve _their_ specific problem, which is to get the DSP bridge
driver working.

It is *not* a generic interface for kernel drivers to use.  That's why
I ignored your comment about kernel interfaces for flusing userspace
buffers.  It's just not relevant to the problem at hand.

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

  parent reply	other threads:[~2009-11-11 19:29 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20091027163551.GA1446@flint.arm.linux.org.uk>
     [not found] ` <20091028.143432.241464826.Hiroshi.DOYU@nokia.com>
     [not found]   ` <20091028174920.GA20945@flint.arm.linux.org.uk>
     [not found]     ` <20091029.151251.45877478.Hiroshi.DOYU@nokia.com>
     [not found]       ` <20091029133703.GA3860@flint.arm.linux.org.uk>
     [not found]         ` <20091106151558.GA7986@localhost>
     [not found]           ` <20091108184753.GA31433@flint.arm.linux.org.uk>
     [not found]             ` <20091109001509.GB28928@localhost>
     [not found]               ` <20091109101056.GA29621@flint.arm.linux.org.uk>
2009-11-10 16:03                 ` DMA from user space buffer/VIPT cache flushing wows (was: Minutes: 21 Sept,09 RMK meeting) Imre Deak
2009-11-11 19:26                   ` Russell King
2009-11-11 19:29                   ` Russell King [this message]
2009-11-11 19:50                     ` Woodruff, Richard

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=20091111192945.GA31608@flint.arm.linux.org.uk \
    --to=rmk@arm.linux.org.uk \
    --cc=hiroshi.doyu@nokia.com \
    --cc=imre.deak@nokia.com \
    --cc=laurent.pinchart@ideasonboard.com \
    --cc=lethal@linux-sh.org \
    --cc=linux-arch@vger.kernel.org \
    --cc=r-woodruff2@ti.com \
    --cc=rak@arm.linux.org.uk \
    --cc=rhishi@ti.com \
    --cc=tony@atomide.com \
    --cc=vikram.pandita@ti.com \
    --cc=ville.syrjala@nokia.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 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.