From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id B2F97C98321 for ; Fri, 25 Sep 2026 12:09:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Reply-To:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To: References:Message-Id:Content-Transfer-Encoding:Content-Type:MIME-Version: Subject:Date:From:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=WNKKham8jfbnDAokY7xuvqFKL1vppk6XJKdYp1m83mI=; b=P5XAzOGwW+CHuMR4P/VsbQuJtl kbeHFHPF9XtEpoIt2hTLahHEnbJlNF1PBJMgWpf4FXjM7XsGdIgbSfa28ziBN3xF+vpHWf5SLiQ2F KXNwlEvnWpQkcUZaq2Xnz94Z9GbQSrzYNKxPa2rER+t36GD8AfnsvslOeZZChkiauka3+ww6uwXcT Jcw6BQpEHYzSHOI/TQ9FlXMpOzJBmDFbOc+1sao1jbU11pCMGy3QdZuBJwVHuz1b7Q7yfFuj7tYHG xPpQp4fCPxZ+1pnA3CJiZzjB9hOc/rISBxQdBtdkLeXB7vvPvGPrBDnRxbicAoUWG8WnXSy6v2VR8 Fu5Oz1YA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.99.1 #2 (Red Hat Linux)) id 1xA4kG-0000000DHT8-3KE3; Fri, 25 Sep 2026 12:09:40 +0000 Received: from sea.source.kernel.org ([172.234.252.31]) by bombadil.infradead.org with esmtps (Exim 4.99.1 #2 (Red Hat Linux)) id 1xA4kE-0000000DHQv-33o5 for linux-arm-kernel@lists.infradead.org; Fri, 25 Sep 2026 12:09:38 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sea.source.kernel.org (Postfix) with ESMTP id CBBA244543; Fri, 25 Sep 2026 12:09:37 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id 947EBC4AF1C; Fri, 25 Sep 2026 12:09:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1790338177; bh=fRDe89N3HJeAFyCusP4aAHWCcvsF/BWXyWYiiFspEec=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=KMA2ieNZoO+Y6ct0i63lThyzN3lKH5nFeS4LPk/QxKWfnHMKxTfehzWlnt28kREwu 3q5tp65hFj0D1FYszQsp2wJR+mYw2EZ6w6Ouaw9pyo4eeJC/vZ00eiws4xH0W8uEYJ NaD5zggC62OXrcgEgeR7xq0X8C9L2na3ylNLukrtqLTMOj9Iqsm7D+FxOVGYywACE6 J9TKCUhHlzntjG3WaA+G5KMBUH3vNPHH6TbN+WCvLgYmCD9Z0n7rsRAY5BxkuJyDPS 0uLcK3Xg/BYGXatU7GVxXxHrhNajJQv7LXcRpb5OTSwBI7sKRP9XBIN06YTUg6Gu8Z mulWrqE6xg6tQ== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 80C2EC9830D; Fri, 25 Sep 2026 12:09:37 +0000 (UTC) From: Michael Reeves via B4 Relay Date: Fri, 25 Sep 2026 22:09:33 +1000 Subject: [PATCH v4 06/10] soc: apple: rtkit: Add tracekit endpoint MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20260925-apple-mtp-keyboard-final-v4-6-304c267518f4@gmail.com> References: <20260925-apple-mtp-keyboard-final-v4-0-304c267518f4@gmail.com> In-Reply-To: <20260925-apple-mtp-keyboard-final-v4-0-304c267518f4@gmail.com> To: Sven Peter , Janne Grunau , Neal Gompa , Jassi Brar , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Hector Martin , Michael Reeves , "Joerg Roedel (AMD)" , Will Deacon , Robin Murphy , Dmitry Torokhov , Jiri Kosina , Benjamin Tissoires Cc: asahi@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, iommu@lists.linux.dev, linux-input@vger.kernel.org, Yureka Lilian , Julian Braha , Sasha Finkelstein X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1790338174; l=1194; i=michael.reeves077@gmail.com; s=fedora-20260918; h=from:subject:message-id; bh=kS9uTA8Dh/vtajiZu3Qfpn0cuQfrngimukMbAAW4igI=; b=vwBDb4M87lheJjoXlU98UzGcI1urbMeCujmsXdvNsu1Std7C/eGctq5MQnUdxSoMIJ/76/KgO sXpJq444xsAAEVTf2ofWlnMRnYzTnfgQDd/O++7XjdtpyI8KOppg/s4 X-Developer-Key: i=michael.reeves077@gmail.com; a=ed25519; pk=VJ0TvyQ9TvfzYZa908YSE9kpkjFLLD5luv0bERu+boc= X-Endpoint-Received: by B4 Relay for michael.reeves077@gmail.com/fedora-20260918 with auth_id=1035 X-Original-From: Michael Reeves X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: michael.reeves077@gmail.com Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Sasha Finkelstein The TraceKit endpoint is a system endpoint used by MTP, AOP, and potentially other Apple RTKit coprocessors. Start it automatically when it appears in the endpoint map, like the other known system endpoints, to avoid warnings about an unknown endpoint. Signed-off-by: Sasha Finkelstein Signed-off-by: Michael Reeves --- drivers/soc/apple/rtkit.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/soc/apple/rtkit.c b/drivers/soc/apple/rtkit.c index a3fdac8f6..1059b4bd8 100644 --- a/drivers/soc/apple/rtkit.c +++ b/drivers/soc/apple/rtkit.c @@ -22,6 +22,7 @@ enum { APPLE_RTKIT_EP_DEBUG = 3, APPLE_RTKIT_EP_IOREPORT = 4, APPLE_RTKIT_EP_OSLOG = 8, + APPLE_RTKIT_EP_TRACEKIT = 0xa, }; #define APPLE_RTKIT_MGMT_TYPE GENMASK_ULL(59, 52) @@ -191,6 +192,7 @@ static void apple_rtkit_management_rx_epmap(struct apple_rtkit *rtk, u64 msg) case APPLE_RTKIT_EP_DEBUG: case APPLE_RTKIT_EP_IOREPORT: case APPLE_RTKIT_EP_OSLOG: + case APPLE_RTKIT_EP_TRACEKIT: dev_dbg(rtk->dev, "RTKit: Starting system endpoint 0x%02x\n", ep); apple_rtkit_start_ep(rtk, ep); -- 2.55.0