linux/drivers/misc/habanalabs/include
Omer Shpigelman 0feaf86d4e habanalabs: add virtual memory and MMU modules
This patch adds the Virtual Memory and MMU modules.

Goya has an internal MMU which provides process isolation on the internal
DDR. The internal MMU also performs translations for transactions that go
from Goya to the Host.

The driver is responsible for allocating and freeing memory on the DDR
upon user request. It also provides an interface to map and unmap DDR and
Host memory to the device address space.

The MMU in Goya supports 3-level and 4-level page tables. With 3-level, the
size of each page is 2MB, while with 4-level the size of each page is 4KB.

In the DDR, the physical pages are always 2MB.

Reviewed-by: Mike Rapoport <rppt@linux.ibm.com>
Signed-off-by: Omer Shpigelman <oshpigelman@habana.ai>
Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-02-18 09:46:46 +01:00
..
goya habanalabs: add h/w queues module 2019-02-18 09:46:45 +01:00
hw_ip/mmu habanalabs: add virtual memory and MMU modules 2019-02-18 09:46:46 +01:00
armcp_if.h habanalabs: add event queue and interrupts 2019-02-18 09:46:45 +01:00
hl_boot_if.h habanalabs: add basic Goya h/w initialization 2019-02-18 09:46:44 +01:00
qman_if.h habanalabs: add h/w queues module 2019-02-18 09:46:45 +01:00