linux_dsm_epyc7002/drivers/misc/habanalabs
Oded Gabbay 19734970c9 habanalabs: force user to set device debug mode
This patch adds the implementation of the HL_DEBUG_OP_SET_MODE opcode in
the DEBUG IOCTL.

It forces the user who wants to debug the device to set the device into
debug mode before he can configure the debug engines. The patch also makes
sure to disable debug mode upon user releasing FD, in case the user forgot
to disable debug mode.

Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
2019-05-04 17:36:06 +03:00
..
goya habanalabs: remove redundant CPU checks 2019-05-05 11:21:16 +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: rename functions to improve code readability 2019-05-01 11:47:04 +03:00
command_submission.c habanalabs: remove redundant member from parser struct 2019-05-01 13:16:18 +03:00
context.c habanalabs: force user to set device debug mode 2019-05-04 17:36:06 +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: force user to set device debug mode 2019-05-04 17:36:06 +03:00
firmware_if.c habanalabs: minor documentation and prints fixes 2019-05-05 13:24:24 +03:00
habanalabs_drv.c habanalabs: force user to set device debug mode 2019-05-04 17:36:06 +03:00
habanalabs_ioctl.c habanalabs: force user to set device debug mode 2019-05-04 17:36:06 +03:00
habanalabs.h habanalabs: force user to set device debug mode 2019-05-04 17:36:06 +03:00
hw_queue.c habanalabs: rename functions to improve code readability 2019-05-01 11:47:04 +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: fix bug in checking huge page optimization 2019-05-28 23:03:54 +03:00
mmu.c habanalabs: Avoid using a non-initialized MMU cache mutex 2019-05-24 22:46:15 +03:00
pci.c habanalabs: Manipulate DMA addresses in ASIC functions 2019-05-01 11:28:15 +03:00
sysfs.c habanalabs: fix little-endian<->cpu conversion warnings 2019-02-28 13:07:52 +01:00