linux_dsm_epyc7002/drivers/misc/habanalabs
Omer Shpigelman 66542c3b9d habanalabs: add MMU shadow mapping
This patch adds shadow mapping to the MMU module. The shadow mapping
allows traversing the page table in host memory rather reading each PTE
from the device memory.
It brings better performance and avoids reading from invalid device
address upon PCI errors.
Only at the end of map/unmap flow, writings to the device are performed in
order to sync the H/W page tables with the shadow ones.

Signed-off-by: Omer Shpigelman <oshpigelman@habana.ai>
Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
2019-02-24 09:17:55 +02:00
..
goya habanalabs: Add a printout with the name of a busy engine 2019-03-07 14:26:02 +02:00
include habanalabs: add MMU shadow mapping 2019-02-24 09:17:55 +02: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: ratelimit warnings at start of IOCTLs 2019-03-05 13:53:22 +02:00
context.c habanalabs: add virtual memory and MMU modules 2019-02-18 09:46:46 +01:00
debugfs.c habanalabs: Allow accessing DRAM virtual addresses via debugfs 2019-03-12 13:53:17 +02:00
device.c habanalabs: prevent host crash during suspend/resume 2019-03-03 22:29:20 +02:00
firmware_if.c habanalabs: Move device CPU code into common file 2019-03-04 10:22:09 +02:00
habanalabs_drv.c habanalabs: make functions static or declare them 2019-02-27 16:00:20 +01:00
habanalabs_ioctl.c habanalabs: Add a printout with the name of a busy engine 2019-03-07 14:26:02 +02:00
habanalabs.h habanalabs: add MMU shadow mapping 2019-02-24 09:17:55 +02:00
hw_queue.c habanalabs: perform accounting for active CS 2019-03-03 15:13:15 +02: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: Move PCI code into common file 2019-03-05 16:48:42 +02:00
memory.c habanalabs: fix bug when mapping very large memory area 2019-03-07 15:47:19 +02:00
mmu.c habanalabs: add MMU shadow mapping 2019-02-24 09:17:55 +02:00
pci.c habanalabs: Move PCI code into common file 2019-03-05 16:48:42 +02:00
sysfs.c habanalabs: fix little-endian<->cpu conversion warnings 2019-02-28 13:07:52 +01:00