All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Hans J. Koch" <hjk@hansjkoch.de>
To: Kumar Gala <galak@kernel.crashing.org>
Cc: linuxppc-dev@ozlabs.org, "Hans J. Koch" <hjk@hansjkoch.de>,
	gregkh@suse.de, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] UIO: Allow a UIO driver to override the default pgprot when we mmap
Date: Wed, 12 Oct 2011 18:20:54 +0200	[thread overview]
Message-ID: <20111012162053.GF21852@local> (raw)
In-Reply-To: <AEAF26D0-640A-4DD2-82FE-B3BD02662EEC@kernel.crashing.org>

On Wed, Oct 12, 2011 at 11:08:20AM -0500, Kumar Gala wrote:
> 
> On Oct 12, 2011, at 10:35 AM, Hans J. Koch wrote:
> 
> > On Wed, Oct 12, 2011 at 09:43:36AM -0500, Kumar Gala wrote:
> >> For some devices the default behavior of pgprot_noncached is not
> >> the correct flags for the address space.
> > 
> > For what devices? Can you give a real world usecase where this is needed?
> > 
> > Thanks,
> > Hans
> 
> In the Freescale Networking devices we have a coherent memory interface to our HW queuing system.  In that case we want to change the pgprot() to be cache-able instead of non-cached.

Could you please post the kernel part of that driver?

Thanks,
Hans

WARNING: multiple messages have this Message-ID (diff)
From: "Hans J. Koch" <hjk@hansjkoch.de>
To: Kumar Gala <galak@kernel.crashing.org>
Cc: "Hans J. Koch" <hjk@hansjkoch.de>,
	gregkh@suse.de, linuxppc-dev@ozlabs.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] UIO: Allow a UIO driver to override the default pgprot when we mmap
Date: Wed, 12 Oct 2011 18:20:54 +0200	[thread overview]
Message-ID: <20111012162053.GF21852@local> (raw)
In-Reply-To: <AEAF26D0-640A-4DD2-82FE-B3BD02662EEC@kernel.crashing.org>

On Wed, Oct 12, 2011 at 11:08:20AM -0500, Kumar Gala wrote:
> 
> On Oct 12, 2011, at 10:35 AM, Hans J. Koch wrote:
> 
> > On Wed, Oct 12, 2011 at 09:43:36AM -0500, Kumar Gala wrote:
> >> For some devices the default behavior of pgprot_noncached is not
> >> the correct flags for the address space.
> > 
> > For what devices? Can you give a real world usecase where this is needed?
> > 
> > Thanks,
> > Hans
> 
> In the Freescale Networking devices we have a coherent memory interface to our HW queuing system.  In that case we want to change the pgprot() to be cache-able instead of non-cached.

Could you please post the kernel part of that driver?

Thanks,
Hans

  reply	other threads:[~2011-10-12 16:21 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-12 14:43 [PATCH] UIO: Allow a UIO driver to override the default pgprot when we mmap Kumar Gala
2011-10-12 14:43 ` Kumar Gala
2011-10-12 15:35 ` Hans J. Koch
2011-10-12 15:35   ` Hans J. Koch
2011-10-12 16:08   ` Kumar Gala
2011-10-12 16:08     ` Kumar Gala
2011-10-12 16:20     ` Hans J. Koch [this message]
2011-10-12 16:20       ` Hans J. Koch

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=20111012162053.GF21852@local \
    --to=hjk@hansjkoch.de \
    --cc=galak@kernel.crashing.org \
    --cc=gregkh@suse.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linuxppc-dev@ozlabs.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.