linux/drivers/misc/habanalabs
Omer Shpigelman bfb1ce1259 habanalabs: fix MMU number of pages calculation
The requested allocation size is 64bit, hence the number of requested
pages and the total requested size should 64bit as well.
This patch fixes all places where these are treated as 32bit.

Signed-off-by: Omer Shpigelman <oshpigelman@habana.ai>
Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
2019-03-05 10:59:16 +02:00
..
goya habanalabs: use %px instead of %p in error print 2019-03-02 12:03:56 +01:00
include habanalabs: set DMA0 completion to SOB 1007 2019-02-28 13:04:59 +01:00
asid.c habanalabs: add context and ASID modules 2019-02-18 09:46:44 +01:00
command_buffer.c habanalabs: fix memory leak with CBs with unaligned size 2019-02-28 13:06:09 +01:00
command_submission.c habanalabs: soft-reset device if context-switch fails 2019-02-28 13:07:52 +01:00
context.c habanalabs: add virtual memory and MMU modules 2019-02-18 09:46:46 +01:00
debugfs.c habanalabs: fix MMU number of pages calculation 2019-03-05 10:59:16 +02:00
device.c habanalabs: disable CPU access on timeouts 2019-02-28 13:04:59 +01:00
habanalabs_drv.c habanalabs: make functions static or declare them 2019-02-27 16:00:20 +01:00
habanalabs_ioctl.c habanalabs: fix little-endian<->cpu conversion warnings 2019-02-28 13:07:52 +01:00
habanalabs.h habanalabs: fix MMU number of pages calculation 2019-03-05 10:59:16 +02:00
hw_queue.c habanalabs: fix little-endian<->cpu conversion warnings 2019-02-28 13:07:52 +01:00
hwmon.c habanalabs: fix little-endian<->cpu conversion warnings 2019-02-28 13:07:52 +01:00
irq.c habanalabs: fix little-endian<->cpu conversion warnings 2019-02-28 13:07:52 +01:00
Kconfig habanalabs: adjust Kconfig to fix build errors 2019-03-02 12:03:56 +01:00
Makefile habanalabs: add debugfs support 2019-02-18 09:46:46 +01:00
memory.c habanalabs: fix MMU number of pages calculation 2019-03-05 10:59:16 +02:00
mmu.c habanalabs: use do_div for 64-bit divisions 2019-03-01 13:44:59 +01:00
sysfs.c habanalabs: fix little-endian<->cpu conversion warnings 2019-02-28 13:07:52 +01:00