Each time razwi (read-only zero, write ignore) happens, besides capturing its data, also notify the user about it.
Showing the changes to include/uapi/misc (1 of 4 files). Show all
Unified · Split
| @@ -721,6 +721,7 @@ enum hl_server_type { · 720 unmodified lines | |||
| 721 | * HL_NOTIFIER_EVENT_DEVICE_UNAVAILABLE - Indicates device is unavailable | 721 | * HL_NOTIFIER_EVENT_DEVICE_UNAVAILABLE - Indicates device is unavailable |
| 722 | * HL_NOTIFIER_EVENT_USER_ENGINE_ERR - Indicates device engine in error state | 722 | * HL_NOTIFIER_EVENT_USER_ENGINE_ERR - Indicates device engine in error state |
| 723 | * HL_NOTIFIER_EVENT_GENERAL_HW_ERR - Indicates device HW error | 723 | * HL_NOTIFIER_EVENT_GENERAL_HW_ERR - Indicates device HW error |
| 724 | * HL_NOTIFIER_EVENT_RAZWI - Indicates razwi happened | ||
| 724 | */ | 725 | */ |
| 725 | #define HL_NOTIFIER_EVENT_TPC_ASSERT (1ULL << 0) | 726 | #define HL_NOTIFIER_EVENT_TPC_ASSERT (1ULL << 0) |
| 726 | #define HL_NOTIFIER_EVENT_UNDEFINED_OPCODE (1ULL << 1) | 727 | #define HL_NOTIFIER_EVENT_UNDEFINED_OPCODE (1ULL << 1) |
| @@ -729,6 +730,7 @@ enum hl_server_type { · 2 unmodified lines | |||
| 729 | #define HL_NOTIFIER_EVENT_DEVICE_UNAVAILABLE (1ULL << 4) | 730 | #define HL_NOTIFIER_EVENT_DEVICE_UNAVAILABLE (1ULL << 4) |
| 730 | #define HL_NOTIFIER_EVENT_USER_ENGINE_ERR (1ULL << 5) | 731 | #define HL_NOTIFIER_EVENT_USER_ENGINE_ERR (1ULL << 5) |
| 731 | #define HL_NOTIFIER_EVENT_GENERAL_HW_ERR (1ULL << 6) | 732 | #define HL_NOTIFIER_EVENT_GENERAL_HW_ERR (1ULL << 6) |
| 733 | #define HL_NOTIFIER_EVENT_RAZWI (1ULL << 7) | ||
| 732 | 734 | ||
| 733 | /* Opcode for management ioctl | 735 | /* Opcode for management ioctl |
| 734 | * | 736 | * |