lkml.org 
[lkml]   [2020]   [Sep]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [RFC PATCH 8/9] surface_aggregator: Add DebugFS interface
On Thu, Sep 24, 2020 at 12:23 AM Maximilian Luz <luzmaximilian@gmail.com> wrote:
> On 9/23/20 8:51 PM, Arnd Bergmann wrote:
> > On Wed, Sep 23, 2020 at 8:29 PM Maximilian Luz <luzmaximilian@gmail.com> wrote:
> >> On 9/23/20 6:48 PM, Arnd Bergmann wrote:
> >
> > The version I showed avoids the pointers and is compatible with
> > 32-bit user space.
>
> I'm not completely convinced yet that the read/write approach is the way
> I want to do it, especially with Greg suggesting a misc device, but I'll
> keep your solution in mind.

In case of a character device, I'd go with an ioctl to keep it extensible.

The read/write based interface is what I'd use in debugfs.

Arnd

\
 
 \ /
  Last update: 2020-09-24 09:43    [W:0.403 / U:0.108 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site