2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2025-01-01 18:24:23 +08:00
linux-next/drivers/misc/habanalabs
Omer Shpigelman 3a3a5bf196 habanalabs: add gaudi security module
Add the code to initialize the security module of GAUDI. Similar to Goya,
we have two dedicated mechanisms for security: Range Registers and
Protection bits. Those mechanisms protect sensitive memory and
configuration areas inside the device.

In addition, in Gaudi we moved to a 3-level security scheme, where the F/W
runs with the highest security level (Privileged), the driver runs with a
less secured level (Secured) and the user is neither privileged nor
secured. The security module in the driver configures the Secured parts so
the user won't be able to access them. The Privileged parts are configured
by the F/W.

Signed-off-by: Omer Shpigelman <oshpigelman@habana.ai>
Reviewed-by: Oded Gabbay <oded.gabbay@gmail.com>
Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
2020-05-19 14:48:41 +03:00
..
gaudi habanalabs: add gaudi security module 2020-05-19 14:48:41 +03:00
goya habanalabs: support clock gating enable/disable 2020-05-19 14:48:41 +03:00
include habanalabs: add gaudi asic-dependent code 2020-05-19 14:48:41 +03:00
asid.c habanalabs: stop using the acronym KMD 2019-09-05 14:55:27 +03:00
command_buffer.c habanalabs: print all CB handles as hex numbers 2020-05-19 14:48:41 +03:00
command_submission.c habanalabs: add signal/wait to CS IOCTL operations 2020-05-19 14:48:41 +03:00
context.c habanalabs: add signal/wait to CS IOCTL operations 2020-05-19 14:48:41 +03:00
debugfs.c habanalabs: support clock gating enable/disable 2020-05-19 14:48:41 +03:00
device.c habanalabs: support clock gating enable/disable 2020-05-19 14:48:41 +03:00
firmware_if.c habanalabs: load CPU device boot loader from host 2020-05-19 14:48:41 +03:00
habanalabs_drv.c habanalabs: add gaudi asic-dependent code 2020-05-19 14:48:41 +03:00
habanalabs_ioctl.c habanalabs: get card type, location from F/W 2020-05-19 14:48:41 +03:00
habanalabs.h habanalabs: add gaudi asic-dependent code 2020-05-19 14:48:41 +03:00
hw_queue.c habanalabs: handle the h/w sync object 2020-05-19 14:48:41 +03:00
hwmon.c habanalabs: support hwmon_reset_history attribute 2020-05-19 14:48:41 +03:00
irq.c habanalabs: replace __le32_to_cpu with le32_to_cpu 2019-09-05 14:55:27 +03:00
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile habanalabs: add gaudi asic-dependent code 2020-05-19 14:48:41 +03:00
memory.c habanalabs: split the host MMU properties 2020-03-24 10:54:16 +02:00
mmu.c habanalabs: split the host MMU properties 2020-03-24 10:54:16 +02:00
pci.c habanalabs: hl_pci_set_dma_mask() can be static 2020-05-19 14:48:41 +03:00
sysfs.c habanalabs: set PM profile to auto only for goya 2020-05-19 14:48:41 +03:00