diff options
author | Asahi Lina <lina@asahilina.net> | 2023-02-24 15:49:44 +0900 |
---|---|---|
committer | Hector Martin <marcan@marcan.st> | 2023-03-28 19:45:00 +0900 |
commit | 223444882d9bb30d2eaa9e221f2939f881dec4aa (patch) | |
tree | 285bf06abd3c08b1613992ba88411a6658d6c490 /drivers/soc/apple | |
parent | fe15c26ee26efa11741a7b632e9f23b01aca4cc6 (diff) | |
download | lwn-223444882d9bb30d2eaa9e221f2939f881dec4aa.tar.gz lwn-223444882d9bb30d2eaa9e221f2939f881dec4aa.zip |
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>
Diffstat (limited to 'drivers/soc/apple')
-rw-r--r-- | drivers/soc/apple/rtkit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/soc/apple/rtkit.c b/drivers/soc/apple/rtkit.c index 35ec35aa500d..a02a44a745f6 100644 --- a/drivers/soc/apple/rtkit.c +++ b/drivers/soc/apple/rtkit.c @@ -55,7 +55,7 @@ enum { #define APPLE_RTKIT_BUFFER_REQUEST 1 #define APPLE_RTKIT_BUFFER_REQUEST_SIZE GENMASK_ULL(51, 44) -#define APPLE_RTKIT_BUFFER_REQUEST_IOVA GENMASK_ULL(41, 0) +#define APPLE_RTKIT_BUFFER_REQUEST_IOVA GENMASK_ULL(43, 0) #define APPLE_RTKIT_SYSLOG_TYPE GENMASK_ULL(59, 52) |