tmp_suning_uos_patched/drivers/misc/habanalabs
Oded Gabbay 37d68ce527 habanalabs: de-couple MMU and VM module initialization
This patch initializes the MMU S/W structures before the VM S/W
structures, instead of doing that as part of the VM S/W initialization.

This is done because we need to configure some MMU mappings for the kernel
context, before the VM is initialized. The VM initialization can't be
moved earlier because it depends on the size of the DRAM, which is
retrieved from the device CPU. Communication with the device CPU will
require the MMU mappings to be configured and hence the de-coupling.

Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
2019-05-29 14:43:04 +03:00
..
goya habanalabs: restore unsecured registers default values 2019-05-30 08:46:02 +00:00
include habanalabs: Use single pool for CPU accessible host memory 2019-04-28 19:17:38 +03:00
asid.c habanalabs: initialize device CPU queues after MMU init 2019-05-29 14:24:51 +03:00
command_buffer.c habanalabs: rename functions to improve code readability 2019-05-01 11:47:04 +03:00
command_submission.c habanalabs: change polling functions to macros 2019-05-09 01:48:23 +03:00
context.c habanalabs: halt debug engines on user process close 2019-05-24 22:46:15 +03:00
debugfs.c habanalabs: Fix virtual address access via debugfs for 2MB pages 2019-06-03 11:25:04 +00:00
device.c habanalabs: de-couple MMU and VM module initialization 2019-05-29 14:43:04 +03:00
firmware_if.c habanalabs: don't limit packet size for device CPU 2019-05-17 01:08:23 +03:00
habanalabs_drv.c habanalabs: remove dead code in habanalabs_drv.c 2019-05-08 09:55:23 +03:00
habanalabs_ioctl.c habanalabs: add rate-limit to an error message 2019-06-06 09:28:45 +03:00
habanalabs.h habanalabs: don't limit packet size for device CPU 2019-05-17 01:08:23 +03:00
hw_queue.c habanalabs: pass device pointer to asic-specific function 2019-05-12 16:53:16 +03:00
hwmon.c habanalabs: fix little-endian<->cpu conversion warnings 2019-02-28 13:07:52 +01:00
irq.c habanalabs: rename functions to improve code readability 2019-05-01 11:47:04 +03:00
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
memory.c habanalabs: de-couple MMU and VM module initialization 2019-05-29 14:43:04 +03:00
mmu.c habanalabs: de-couple MMU and VM module initialization 2019-05-29 14:43:04 +03:00
pci.c habanalabs: increase PCI ELBI timeout for Palladium 2019-05-13 14:44:50 +03:00
sysfs.c habanalabs: remove simulator dedicated code 2019-06-04 15:07:11 +03:00