Skip to content

platform/surface: aggregator: Extend user-space interface for events

Maximilian Luz linux-doc lkml oe-kbuild-all platform-driver-x86 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest7 patches 3 repliesIn review
  2. v17 patches 4 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7platform/surface: aggregator: Allow registering notifiers without enabling eventsdrivers/platform/surface/aggregator/controller.c include/linux/surface_aggregator/controller.h+58 -280 replies
2/7platform/surface: aggregator: Allow enabling of events without notifiersdrivers/platform/surface/aggregator/controller.c include/linux/surface_aggregator/controller.h+253 -482 replies
3/7platform/surface: aggregator: Update copyrightdrivers/platform/surface/aggregator/Kconfig drivers/platform/surface/aggregator/Makefile drivers/platform/surface/aggregator/bus.c +15 more+18 -180 replies
4/7platform/surface: aggregator_cdev: Add support for forwarding events to user-spaceDocumentation/userspace-api/ioctl/ioctl-number.rst drivers/platform/surface/surface_aggregator_cdev.c include/uapi/linux/surface_aggregator/cdev.h+477 -260 replies
5/7platform/surface: aggregator_cdev: Allow enabling of events from user-spacedrivers/platform/surface/surface_aggregator_cdev.c include/uapi/linux/surface_aggregator/cdev.h+90 -00 replies
6/7platform/surface: aggregator_cdev: Add lockdep supportdrivers/platform/surface/surface_aggregator_cdev.c+16 -00 replies
7/7docs: driver-api: Update Surface Aggregator user-space interface documentationDocumentation/driver-api/surface_aggregator/clients/cdev.rst+122 -50 replies

Reviews trailers per patch

6 of 7 patches have a Reviewed-by or Acked-by.

PatchHans de Goede
1/7R-b
2/7
3/7R-b
4/7R-b
5/7R-b
6/7R-b
7/7R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/7] platform/surface: aggregator: Extend user-space interface for events

Extend the user-space debug interface so that it can be used to receive SSAM events in user-space.

Version 1 and rationale:
https://lore.kernel.org/platform-driver-x86/[email protected]/

Changes in version 2:
- PATCH 2/7: Avoid code duplication, remove unused variable
- PATCH 4/7: Add missing mutex_destroy() calls

Maximilian Luz (7):
platform/surface: aggregator: Allow registering notifiers without
enabling events
platform/surface: aggregator: Allow enabling of events without
notifiers
platform/surface: aggregator: Update copyright platform/surface: aggregator_cdev: Add support for forwarding events
to user-space
platform/surface: aggregator_cdev: Allow enabling of events from
user-space
platform/surface: aggregator_cdev: Add lockdep support
docs: driver-api: Update Surface Aggregator user-space interface
documentation

 .../surface_aggregator/clients/cdev.rst       | 127 ++++-
 .../userspace-api/ioctl/ioctl-number.rst      |   2 +-
 drivers/platform/surface/aggregator/Kconfig   |   2 +-
 drivers/platform/surface/aggregator/Makefile  |   2 +-
 drivers/platform/surface/aggregator/bus.c     |   2 +-
 drivers/platform/surface/aggregator/bus.h     |   2 +-
 .../platform/surface/aggregator/controller.c  | 332 +++++++++--
 .../platform/surface/aggregator/controller.h  |   2 +-
 drivers/platform/surface/aggregator/core.c    |   2 +-
 .../platform/surface/aggregator/ssh_msgb.h    |   2 +-
 .../surface/aggregator/ssh_packet_layer.c     |   2 +-
 .../surface/aggregator/ssh_packet_layer.h     |   2 +-
 .../platform/surface/aggregator/ssh_parser.c  |   2 +-
 .../platform/surface/aggregator/ssh_parser.h  |   2 +-
 .../surface/aggregator/ssh_request_layer.c    |   2 +-
 .../surface/aggregator/ssh_request_layer.h    |   2 +-
 drivers/platform/surface/aggregator/trace.h   |   2 +-
 .../surface/surface_aggregator_cdev.c         | 534 +++++++++++++++++-
 include/linux/surface_aggregator/controller.h |  27 +-
 include/linux/surface_aggregator/device.h     |   2 +-
 include/linux/surface_aggregator/serial_hub.h |   2 +-
 include/uapi/linux/surface_aggregator/cdev.h  |  73 ++-
 22 files changed, 1018 insertions(+), 109 deletions(-)
Signature · 1 line
2.31.1