linux-stable/drivers/accel/habanalabs
Oded Gabbay 4db74c0fde accel/habanalabs/gaudi2: fix spmu mask creation
event_types_num received from the user can be 0. In that case, the
event_mask should be 0.

In addition, to create a correct mask we need to match the number
of event types to the bit location such that bit 0 represents a single
event type, bit 1 represents 2 types and so on.

Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
Reviewed-by: Ofir Bitton <obitton@habana.ai>
2023-10-09 12:37:24 +03:00
..
common accel/habanalabs: fix bug in decoder wait for cs completion 2023-10-09 12:37:24 +03:00
gaudi accel/habanalabs/gaudi: remove define used for simulator 2023-10-09 12:37:24 +03:00
gaudi2 accel/habanalabs/gaudi2: fix spmu mask creation 2023-10-09 12:37:24 +03:00
goya accel/habanalabs: trace dma map sgtable 2023-10-09 12:37:23 +03:00
include accel/habanalabs/gaudi2: perform hard-reset upon PCIe AXI drain event 2023-10-09 12:37:24 +03:00
Kconfig
Makefile