linux_dsm_epyc7002/drivers/misc/habanalabs/goya
Omer Shpigelman 9b50f539ff habanalabs: improve security in Debug IOCTL
This patch improves the security in the Debug IOCTL.
It adds checks that:
- The register index value is in the allowed range for all opcodes.
- The event types number is in the allowed range in SPMU enable.
- The events number is in the allowed range in SPMU disable.

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>
2019-09-05 14:55:27 +03:00
..
goya_coresight.c habanalabs: improve security in Debug IOCTL 2019-09-05 14:55:27 +03:00
goya_hwmgr.c habanalabs: maintain a list of file private data objects 2019-09-05 14:55:26 +03:00
goya_security.c habanalabs: make tpc registers secured 2019-05-30 08:46:01 +00:00
goya.c habanalabs: Add descriptive name to PSOC app status register 2019-09-05 14:55:26 +03:00
goyaP.h habanalabs: fix endianness handling for internal QMAN submission 2019-08-12 09:01:10 +03:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00