From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B94E64F68A8; Fri, 18 Sep 2026 13:28:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789738120; cv=none; b=uAisfcBeh8a+JUL1lMDfNaJO1KJlO90HkrVlQhT4MIQqjUX+eoHrfh1oLM9U/jW9Lnuo3mzqjl5brfT9SJL0RA4dERhglVD2LDHpbbLWjIeP+yl5ytDmo3TyFwU6sXlvcOH9OA/iRezXAoXK/Pbf40Zp2f7/Wbh4oeZImvniNLk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789738120; c=relaxed/simple; bh=fRDe89N3HJeAFyCusP4aAHWCcvsF/BWXyWYiiFspEec=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=d7xGXsJ7T5K5OUYugKrBWryoqNmeZBQ4IyXDLODVk3EA/7VSKDQGKOkJ2ptZwpEyhCLNvnoDI+XQFlvUmQF53AnHewI8l9dY8E1SqKhikwxGLfmicJYEwQlcBDhgrAouDJU3pDAEj6ezvo7PyC6DuyWRBZjtiNBkmw/uhfWgelc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=QIK66MGU; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="QIK66MGU" Received: by smtp.kernel.org (Postfix) with ESMTPS id 43C04C4AF16; Fri, 18 Sep 2026 13:28:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1789738120; bh=fRDe89N3HJeAFyCusP4aAHWCcvsF/BWXyWYiiFspEec=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=QIK66MGUf0GL5zbVhOw4a9e4cI+crtSY9/8eauBk5FXPLq8Eliy8kVcw1gAKQyePy Onzkfejemh6vbUdcpxQqc8/Mpg/D0CLaj2hk0DdlxqWc/iMBdLKi1gOkTN/69XhePo RrOIcRyToPb/Q0ZiLW5O/DGY3cCIn+1Q4wuzCGPhrS/ZmQOr32OM8RxQbfQhe2wVU7 7c6YDHOnKbKW0WQNMmq4ecrrrbUAuyCSXsdc9Ur0TUetnOYXtdkmrL3tqQI3T7N1NB qUwKAAEo1ji/8B+8SswdiYyCeLVmwDzkt6aBckTAnAMrqXQGRHy6baAnNkCKEjDLAP 2lUXajt9K4fsA== 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 2DD6BC982E4; Fri, 18 Sep 2026 13:28:40 +0000 (UTC) From: Michael Reeves via B4 Relay Date: Fri, 18 Sep 2026 23:28:36 +1000 Subject: [PATCH v3 06/10] soc: apple: rtkit: Add tracekit endpoint Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20260918-apple-mtp-keyboard-final-v3-6-e356464e454b@gmail.com> References: <20260918-apple-mtp-keyboard-final-v3-0-e356464e454b@gmail.com> In-Reply-To: <20260918-apple-mtp-keyboard-final-v3-0-e356464e454b@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=1789738118; l=1194; i=michael.reeves077@gmail.com; s=fedora-20260918; h=from:subject:message-id; bh=kS9uTA8Dh/vtajiZu3Qfpn0cuQfrngimukMbAAW4igI=; b=DExpakc9/XQpplMDm/FnTW5uTsaQfRwti4xjWJAqpr7jeOK6+0PheO+oRZaesvE8rowSg8kde HowMzYLms81CutLvHqlJVtEQdA6FmGa2dI5vnowMk2jgxFD9hM5/vsF 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 Reply-To: michael.reeves077@gmail.com 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