Skip to content

RTKit protocol version 10 support

Nick Chan asahi linux-arm-kernel lkml 1 version In review

Get series with b4
b4 am [email protected] change-id 20251222-rtkit-v10-cdcf41bdaaef

Versions newest first

  1. v1 Latest3 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3soc: apple: rtkit: Support verison-specific app endpoint startdrivers/soc/apple/rtkit-internal.h drivers/soc/apple/rtkit.c include/linux/soc/apple/rtkit.h+42 -131 reply
2/3soc: apple: rtkit: Add protocol version 10 supportdrivers/soc/apple/rtkit-internal.h drivers/soc/apple/rtkit.c+13 -70 replies
3/3mfd: macsmc: Support variable app endpoint startdrivers/mfd/macsmc.c include/linux/mfd/macsmc.h+13 -70 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] RTKit protocol version 10 support

Add support for version 10 of the RTKit protocol which is used from iOS 11 to iOS 13. In version 10 epmap is always completed within 1 message, and app endpoints start at 0x6 instead of 0x20.

A new interface apple_rtkit_app_ep_to_ep() is added to accommodate the difference in app endpoints. Consumer drivers that uses RTKit app endpoints need to be modified to use the new interface to work with protocol version 10.

Add support in macsmc to get the SMC endpoint with the new interface. nvme-apple does not use any RTKit app endpoints.

---
Nick Chan (3):
soc: apple: rtkit: Support verison-specific app endpoint start
soc: apple: rtkit: Add protocol version 10 support
mfd: macsmc: Support variable app endpoint start

 drivers/mfd/macsmc.c               | 18 +++++++-----
 drivers/soc/apple/rtkit-internal.h |  4 ++-
 drivers/soc/apple/rtkit.c          | 59 ++++++++++++++++++++++++++------------
 include/linux/mfd/macsmc.h         |  2 ++
 include/linux/soc/apple/rtkit.h    | 10 +++++++
 5 files changed, 67 insertions(+), 26 deletions(-)

---
base-commit: 9448598b22c50c8a5bb77a9103e2d49f134c9578
change-id: 20251222-rtkit-v10-cdcf41bdaaef

Best regards,

Signature · 1 line
Nick Chan <[email protected]>