Skip to content

Commit 2234448

Browse files
hoshinolinamarcan
authored andcommitted
soc: apple: rtkit: Fix buffer address field width
The buffer address field is missing two bits. This matters for the GPU, which uses upper-half 64-bit addresses on the ASC and those get sign extended from the mailbox message field, so the right number of high bits need to be set. Signed-off-by: Asahi Lina <lina@asahilina.net> Reviewed-by: Sven Peter <sven@svenpeter.dev> Signed-off-by: Hector Martin <marcan@marcan.st>
1 parent fe15c26 commit 2234448

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/soc/apple/rtkit.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ enum {
5555

5656
#define APPLE_RTKIT_BUFFER_REQUEST 1
5757
#define APPLE_RTKIT_BUFFER_REQUEST_SIZE GENMASK_ULL(51, 44)
58-
#define APPLE_RTKIT_BUFFER_REQUEST_IOVA GENMASK_ULL(41, 0)
58+
#define APPLE_RTKIT_BUFFER_REQUEST_IOVA GENMASK_ULL(43, 0)
5959

6060
#define APPLE_RTKIT_SYSLOG_TYPE GENMASK_ULL(59, 52)
6161

0 commit comments

Comments
 (0)