Skip to content

Commit a5347b1

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 fd4f7a0 commit a5347b1

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
@@ -21,6 +21,7 @@ enum {
2121
APPLE_RTKIT_EP_DEBUG = 3,
2222
APPLE_RTKIT_EP_IOREPORT = 4,
2323
APPLE_RTKIT_EP_OSLOG = 8,
24+
APPLE_RTKIT_EP_TRACEKIT = 0xa,
2425
};
2526

2627
#define APPLE_RTKIT_MGMT_TYPE GENMASK_ULL(59, 52)
@@ -182,6 +183,7 @@ static void apple_rtkit_management_rx_epmap(struct apple_rtkit *rtk, u64 msg)
182183
case APPLE_RTKIT_EP_DEBUG:
183184
case APPLE_RTKIT_EP_IOREPORT:
184185
case APPLE_RTKIT_EP_OSLOG:
186+
case APPLE_RTKIT_EP_TRACEKIT:
185187
dev_dbg(rtk->dev,
186188
"RTKit: Starting system endpoint 0x%02x\n", ep);
187189
apple_rtkit_start_ep(rtk, ep);

0 commit comments

Comments
 (0)