Skip to content

Commit 66bf5f5

Browse files
committed
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 <[email protected]>
1 parent 484ec03 commit 66bf5f5

1 file changed

Lines changed: 12 additions & 12 deletions

File tree

drivers/iommu/apple-dart.c

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -168,22 +168,22 @@ struct apple_dart_hw {
168168

169169
int max_sid_count;
170170

171-
u64 lock;
172-
u64 lock_bit;
171+
u32 lock;
172+
u32 lock_bit;
173173

174-
u64 error;
174+
u32 error;
175175

176-
u64 enable_streams;
176+
u32 enable_streams;
177177

178-
u64 tcr;
179-
u64 tcr_enabled;
180-
u64 tcr_disabled;
181-
u64 tcr_bypass;
178+
u32 tcr;
179+
u32 tcr_enabled;
180+
u32 tcr_disabled;
181+
u32 tcr_bypass;
182182

183-
u64 ttbr;
184-
u64 ttbr_valid;
185-
u64 ttbr_addr_field_shift;
186-
u64 ttbr_shift;
183+
u32 ttbr;
184+
u32 ttbr_valid;
185+
u32 ttbr_addr_field_shift;
186+
u32 ttbr_shift;
187187
int ttbr_count;
188188
};
189189

0 commit comments

Comments
 (0)