public inbox for asahi@lists.linux.dev
 help / color / mirror / Atom feed
* [PATCH 0/3] RTKit protocol version 10 support
@ 2025-12-23 14:13 Nick Chan
  2025-12-23 14:13 ` [PATCH 1/3] soc: apple: rtkit: Support verison-specific app endpoint start Nick Chan
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Nick Chan @ 2025-12-23 14:13 UTC (permalink / raw)
  To: Sven Peter, Janne Grunau, Neal Gompa, Lee Jones
  Cc: asahi, linux-arm-kernel, linux-kernel, Nick Chan

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.

Signed-off-by: Nick Chan <towinchenmi@gmail.com>
---
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,
-- 
Nick Chan <towinchenmi@gmail.com>


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2026-01-04 15:17 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-23 14:13 [PATCH 0/3] RTKit protocol version 10 support Nick Chan
2025-12-23 14:13 ` [PATCH 1/3] soc: apple: rtkit: Support verison-specific app endpoint start Nick Chan
2026-01-04 15:17   ` Sven Peter
2025-12-23 14:13 ` [PATCH 2/3] soc: apple: rtkit: Add protocol version 10 support Nick Chan
2025-12-23 14:13 ` [PATCH 3/3] mfd: macsmc: Support variable app endpoint start Nick Chan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox