Re: [PATCH v2 15/17] cxl: Userspace header file.

2014-10-02 Thread Benjamin Herrenschmidt
On Thu, 2014-10-02 at 20:28 +1000, Ian Munsie wrote: > Hey Michael, > > Excerpts from Michael Ellerman's message of 2014-10-02 16:02:37 +1000: > > > +/* ioctls */ > > > +struct cxl_ioctl_start_work { > > > +__u64 wed; > > > +__u64 amr; > > > +__u64 reserved1; > > > +__u32 reserved2

Re: [PATCH v2 15/17] cxl: Userspace header file.

2014-10-02 Thread Ian Munsie
Hey Michael, Excerpts from Michael Ellerman's message of 2014-10-02 16:02:37 +1000: > > +/* ioctls */ > > +struct cxl_ioctl_start_work { > > +__u64 wed; > > +__u64 amr; > > +__u64 reserved1; > > +__u32 reserved2; > > +__s16 num_interrupts; /* -1 = use value from afu descriptor

Re: [PATCH v2 15/17] cxl: Userspace header file.

2014-10-01 Thread Michael Ellerman
On Tue, 2014-30-09 at 10:35:04 UTC, Michael Neuling wrote: > From: Ian Munsie > > This defines structs and magic numbers required for userspace to interact with > the kernel cxl driver via /dev/cxl/afu0.0. > > diff --git a/include/uapi/misc/cxl.h b/include/uapi/misc/cxl.h > new file mode 100644

[PATCH v2 15/17] cxl: Userspace header file.

2014-09-30 Thread Michael Neuling
From: Ian Munsie This defines structs and magic numbers required for userspace to interact with the kernel cxl driver via /dev/cxl/afu0.0. It adds this header file Kbuild so it's exported when doing make headers_installs. Signed-off-by: Ian Munsie Signed-off-by: Michael Neuling --- include/u