Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

iommu/apple-dart: Make the hw register fields u32s

The registers are 32-bit and the offsets definitely don't need 64 bits
either, these should've been u32s.

Signed-off-by: Hector Martin <marcan@marcan.st>
Signed-off-by: Janne Grunau <j@jannau.net>
Reviewed-by: Sven Peter <sven@kernel.org>
Reviewed-by: Neal Gompa <neal@gompa.dev>
Link: https://lore.kernel.org/r/20250821-apple-dart-4levels-v2-1-e39af79daa37@jannau.net
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>

authored by

Hector Martin and committed by
Joerg Roedel
12688900 8f5ae30d

+12 -12
+12 -12
drivers/iommu/apple-dart.c
··· 166 166 167 167 int max_sid_count; 168 168 169 - u64 lock; 170 - u64 lock_bit; 169 + u32 lock; 170 + u32 lock_bit; 171 171 172 - u64 error; 172 + u32 error; 173 173 174 - u64 enable_streams; 174 + u32 enable_streams; 175 175 176 - u64 tcr; 177 - u64 tcr_enabled; 178 - u64 tcr_disabled; 179 - u64 tcr_bypass; 176 + u32 tcr; 177 + u32 tcr_enabled; 178 + u32 tcr_disabled; 179 + u32 tcr_bypass; 180 180 181 - u64 ttbr; 182 - u64 ttbr_valid; 183 - u64 ttbr_addr_field_shift; 184 - u64 ttbr_shift; 181 + u32 ttbr; 182 + u32 ttbr_valid; 183 + u32 ttbr_addr_field_shift; 184 + u32 ttbr_shift; 185 185 int ttbr_count; 186 186 }; 187 187