Skip to content

Commit bdb105d

Browse files
marcanjannau
authored andcommitted
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>
1 parent 0844db0 commit bdb105d

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
@@ -169,22 +169,22 @@ struct apple_dart_hw {
169169

170170
int max_sid_count;
171171

172-
u64 lock;
173-
u64 lock_bit;
172+
u32 lock;
173+
u32 lock_bit;
174174

175-
u64 error;
175+
u32 error;
176176

177-
u64 enable_streams;
177+
u32 enable_streams;
178178

179-
u64 tcr;
180-
u64 tcr_enabled;
181-
u64 tcr_disabled;
182-
u64 tcr_bypass;
179+
u32 tcr;
180+
u32 tcr_enabled;
181+
u32 tcr_disabled;
182+
u32 tcr_bypass;
183183

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

0 commit comments

Comments
 (0)