From: Nick Chan <towinchenmi@gmail.com>
To: Sven Peter <sven@kernel.org>, Janne Grunau <j@jannau.net>,
Neal Gompa <neal@gompa.dev>, Lee Jones <lee@kernel.org>
Cc: asahi@lists.linux.dev, linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org, Nick Chan <towinchenmi@gmail.com>
Subject: [PATCH 0/3] RTKit protocol version 10 support
Date: Tue, 23 Dec 2025 22:13:41 +0800 [thread overview]
Message-ID: <20251223-rtkit-v10-v1-0-12b4783d6403@gmail.com> (raw)
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>
next reply other threads:[~2025-12-23 14:14 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-12-23 14:13 Nick Chan [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20251223-rtkit-v10-v1-0-12b4783d6403@gmail.com \
--to=towinchenmi@gmail.com \
--cc=asahi@lists.linux.dev \
--cc=j@jannau.net \
--cc=lee@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=neal@gompa.dev \
--cc=sven@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®