habanalabs: convert PCI BAR offset to u64

Done as the bar size can exceed 4GB.

Signed-off-by: Ohad Sharabi <osharabi@habana.ai>
Reviewed-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
This commit is contained in:
Ohad Sharabi 2021-07-18 12:06:41 +03:00 committed by Oded Gabbay
parent 5dc9ffaff1
commit 932adf1645

View File

@ -931,7 +931,7 @@ struct pci_mem_region {
u64 region_base;
u64 region_size;
u64 bar_size;
u32 offset_in_bar;
u64 offset_in_bar;
u8 bar_id;
u8 used;
};