Re: [PATCH 8/9] platform/surface: Add Surface Aggregator user-space interface

2020-11-17 Thread Maximilian Luz
On 11/17/20 9:36 PM, Randy Dunlap wrote: On 11/15/20 11:21 AM, Maximilian Luz wrote: +#define SSAM_CDEV_REQUEST _IOWR(0xA5, 1, struct ssam_cdev_request) All ioctl major numbers (0xA5) should be documented in Documentation/userspace-api/ioctl/ioctl-number.rst Apologies if I missed it some

Re: [PATCH 8/9] platform/surface: Add Surface Aggregator user-space interface

2020-11-17 Thread Randy Dunlap
On 11/15/20 11:21 AM, Maximilian Luz wrote: > +#define SSAM_CDEV_REQUEST_IOWR(0xA5, 1, struct ssam_cdev_request) All ioctl major numbers (0xA5) should be documented in Documentation/userspace-api/ioctl/ioctl-number.rst Apologies if I missed it somewhere else. thanks. -- ~Randy

[PATCH 8/9] platform/surface: Add Surface Aggregator user-space interface

2020-11-15 Thread Maximilian Luz
Add a misc-device providing user-space access to the Surface Aggregator EC, mainly intended for debugging, testing, and reverse-engineering. This interface gives user-space applications the ability to send requests to the EC and receive the corresponding responses. The device-file is managed by a