Re: [PATCH v2,RESEND] misc: new driver sram_uapi for user level SRAM access
From: Greg KH
Date: Tue Apr 21 2020 - 05:34:31 EST
On Tue, Apr 21, 2020 at 05:09:47PM +0800, çæè wrote:
> Hi, Greg, Arnd,
>
> Thank you for your comments first, and then really very very very sorry
> for driving Greg to sigh and I hope there would be chance to share Moutai
> (rather than whisky, we drink it much, a kind of Baijiu), after the virus.
>
> Back to the comments, I'd like to do a bit of documentation or explanation first,
> which should have been done early or else there would not be so much to explain:
> 1. What I have been trying to do is to access the Freescale Cache-SRAM device form
> user level;
> 2. I implemented it using UIO, which was thought of non-proper;
I still think that using uio is the best way to do this, and never said
it was "non-proper". All we got bogged down in was the DT
representation of stuff from what I remember. That should be worked
through.
thanks,
greg k-h