Skip to content

Commit 981fc5a

Browse files
WhatAmISupposedToPutHerejannau
authored andcommitted
soc: apple: rtkit: Add tracekit endpoint.
This system endpoint is advertised by AOP and also needs to be turned on for it to function. Signed-off-by: Sasha Finkelstein <fnkl.kernel@gmail.com>
1 parent 9d0cc00 commit 981fc5a

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

drivers/soc/apple/rtkit.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ enum {
2222
APPLE_RTKIT_EP_DEBUG = 3,
2323
APPLE_RTKIT_EP_IOREPORT = 4,
2424
APPLE_RTKIT_EP_OSLOG = 8,
25+
APPLE_RTKIT_EP_TRACEKIT = 0xa,
2526
};
2627

2728
#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)
191192
case APPLE_RTKIT_EP_DEBUG:
192193
case APPLE_RTKIT_EP_IOREPORT:
193194
case APPLE_RTKIT_EP_OSLOG:
195+
case APPLE_RTKIT_EP_TRACEKIT:
194196
dev_dbg(rtk->dev,
195197
"RTKit: Starting system endpoint 0x%02x\n", ep);
196198
apple_rtkit_start_ep(rtk, ep);

0 commit comments

Comments
 (0)