linux/drivers/misc/habanalabs
Tomer Tayar 03d5f641dc habanalabs: Use single pool for CPU accessible host memory
The device's CPU accessible memory on host is managed in a dedicated
pool, except for 2 regions - Primary Queue (PQ) and Event Queue (EQ) -
which are allocated from generic DMA pools.
Due to address length limitations of the CPU, the addresses of all these
memory regions must have the same MSBs starting at bit 40.
This patch modifies the allocation of the PQ and EQ to be also from the
dedicated pool, to ensure compliance with the limitation.

Signed-off-by: Tomer Tayar <ttayar@habana.ai>
Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
2019-04-28 19:17:38 +03:00
..
goya habanalabs: return old dram bar address upon change 2019-04-28 10:18:35 +03:00
include habanalabs: Use single pool for CPU accessible host memory 2019-04-28 19:17:38 +03:00
asid.c habanalabs: add context and ASID modules 2019-02-18 09:46:44 +01:00
command_buffer.c habanalabs: improve IOCTLs behavior when disabled or reset 2019-04-06 15:41:35 +03:00
command_submission.c habanalabs: rename restore to ctx_switch when appropriate 2019-04-25 20:15:42 +03:00
context.c habanalabs: rename restore to ctx_switch when appropriate 2019-04-25 20:15:42 +03:00
debugfs.c habanalabs: Allow accessing DRAM virtual addresses via debugfs 2019-03-12 13:53:17 +02:00
device.c habanalabs: rename restore to ctx_switch when appropriate 2019-04-25 20:15:42 +03:00
firmware_if.c habanalabs: Move device CPU code into common file 2019-03-04 10:22:09 +02:00
habanalabs_drv.c habanalabs: Cancel pr_fmt() definition dependency on includes order 2019-04-10 15:18:46 +03:00
habanalabs_ioctl.c habanalabs: improve IOCTLs behavior when disabled or reset 2019-04-06 15:41:35 +03:00
habanalabs.h habanalabs: Use single pool for CPU accessible host memory 2019-04-28 19:17:38 +03:00
hw_queue.c habanalabs: Use single pool for CPU accessible host memory 2019-04-28 19:17:38 +03:00
hwmon.c habanalabs: fix little-endian<->cpu conversion warnings 2019-02-28 13:07:52 +01:00
irq.c habanalabs: Use single pool for CPU accessible host memory 2019-04-28 19:17:38 +03:00
Kconfig habanalabs: adjust Kconfig to fix build errors 2019-03-02 12:03:56 +01:00
Makefile habanalabs: Move PCI code into common file 2019-03-05 16:48:42 +02:00
memory.c habanalabs: improve IOCTLs behavior when disabled or reset 2019-04-06 15:41:35 +03:00
mmu.c habanalabs: fix mapping with page size bigger than 4KB 2019-03-14 16:54:45 +02:00
pci.c habanalabs: return old dram bar address upon change 2019-04-28 10:18:35 +03:00
sysfs.c habanalabs: fix little-endian<->cpu conversion warnings 2019-02-28 13:07:52 +01:00