[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <A4AFF4A3-0F5F-430C-BD34-CC043C0644AB@kernel.crashing.org>
Date: Mon, 31 Oct 2011 08:44:40 -0500
From: Kumar Gala <galak@...nel.crashing.org>
To: Greg KH <greg@...ah.com>
Cc: "Hans J. Koch" <hjk@...sjkoch.de>, linuxppc-dev@...abs.org,
linux-kernel@...r.kernel.org
Subject: Re: [RFC][PATCH 1/2] uio: allow drivers to override the pgprot for mmap
On Oct 29, 2011, at 1:38 AM, Greg KH wrote:
> On Fri, Oct 28, 2011 at 11:48:12PM +0200, Hans J. Koch wrote:
>> On Fri, Oct 28, 2011 at 10:50:29AM -0500, Kumar Gala wrote:
>>> For some devices, the default behavior of pgprot_noncached() is not
>>> appropriate for all of its mappable regions. This provides a means for
>>> the kernel side of the UIO driver to override the flags without having
>>> to implement its own full mmap callback.
>>
>> Thanks for also providing an example driver showing the use of this.
>> You should also post this driver in a mainline-ready version, I'm a bit
>> uncomfortable with adding a new function pointer without having any users.
>
> I'm more than "uncomfortable", I'll refuse to take any such patch unless
> there is a in-kernel user, otherwise it makes no sense to add the
> pointer at all.
>
> thanks,
>
> greg k-h
I'm in agreement with this view. I wanted to post this to make sure the direction we took was ok so when the upstream driver is posted this patch / change isn't a concern.
- k--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists