RE: [PATCH 2/2] habanalabs: add uapi to retrieve aggregate H/W events

From: Omer Shpigelman
Date: Mon Sep 02 2019 - 03:48:11 EST


From: Oded Gabbay <oded.gabbay@xxxxxxxxx>
Sent: Friday, 30 August 2019 13:57

> Add a new opcode to INFO IOCTL to retrieve aggregate H/W events. i.e. the
> events counters are NOT cleared upon device reset, but count from the
> loading of the driver.
>
> Add the code to support it in the device event handling function.
>
> Signed-off-by: Oded Gabbay <oded.gabbay@xxxxxxxxx>

Reviewed-by: Omer Shpigelman <oshpigelman@xxxxxxxxx>