[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20251223-rtkit-v10-v1-0-12b4783d6403@gmail.com>
Date: Tue, 23 Dec 2025 22:13:41 +0800
From: Nick Chan <towinchenmi@...il.com>
To: Sven Peter <sven@...nel.org>, Janne Grunau <j@...nau.net>,
Neal Gompa <neal@...pa.dev>, Lee Jones <lee@...nel.org>
Cc: asahi@...ts.linux.dev, linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org, Nick Chan <towinchenmi@...il.com>
Subject: [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.
Signed-off-by: Nick Chan <towinchenmi@...il.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@...il.com>
Powered by blists - more mailing lists